com.rapidtransform.core.service
Interface CRUDService<Type>

All Superinterfaces:
Service
All Known Subinterfaces:
DocumentService, ItemService, MetaCRUDService<Type>, ProductService, SpecService
All Known Implementing Classes:
CRUDServiceImpl, DocumentServiceImpl, ItemServiceImpl, MetaCRUDServiceImpl, ProductServiceImpl, SpecServiceImpl

public interface CRUDService<Type>
extends Service

This service defines methods for creating, reading, updating and deleting generic objects.

Author:
S. Werner

Method Summary
 Type create()
           
 Type find(java.lang.Long id)
           
 java.util.List<Type> findAll()
           
 Type save(Type entity)
           
 

Method Detail

create

Type create()
            throws ConveloException
Throws:
ConveloException

save

Type save(Type entity)

find

Type find(java.lang.Long id)

findAll

java.util.List<Type> findAll()