Package org.dspace.service
Interface DSpaceCRUDService<T>
- Type Parameters:
T- Concrete object type.
- All Known Subinterfaces:
BitstreamFormatService,ClaimedTaskService,EntityTypeService,InProgressUserService,PoolTaskService,RegistrationDataMetadataService,RegistrationDataService,RelationshipService,RelationshipTypeService,SupervisionOrderService,VersionHistoryService,WorkflowItemRoleService
- All Known Implementing Classes:
BitstreamFormatServiceImpl,ClaimedTaskServiceImpl,EntityTypeServiceImpl,InProgressUserServiceImpl,PoolTaskServiceImpl,RegistrationDataMetadataServiceImpl,RegistrationDataServiceImpl,RelationshipServiceImpl,RelationshipTypeServiceImpl,SupervisionOrderServiceImpl,VersionHistoryServiceImpl,WorkflowItemRoleServiceImpl
public interface DSpaceCRUDService<T>
Interface containing the simple CRUD methods so we don't have to add them
over and again to every service which requires these methods.
- Author:
- kevinvandevelde at atmire.com
-
Method Summary
-
Method Details
-
create
- Throws:
SQLExceptionAuthorizeException
-
find
- Throws:
SQLException
-
update
Persist a model object.- Parameters:
context-t- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
update
Persist a collection of model objects.- Parameters:
context-t- object to be persisted.- Throws:
SQLException- passed through.AuthorizeException- passed through.
-
delete
- Throws:
SQLExceptionAuthorizeException
-