Package org.dspace.service
Interface DSpaceCRUDService<T>
-
- All Known Subinterfaces:
BitstreamFormatService,ClaimedTaskService,EntityTypeService,InProgressUserService,PoolTaskService,RegistrationDataService,RelationshipService,RelationshipTypeService,ResourcePolicyService,VersionHistoryService,WorkflowItemRoleService
- All Known Implementing Classes:
BitstreamFormatServiceImpl,ClaimedTaskServiceImpl,EntityTypeServiceImpl,InProgressUserServiceImpl,PoolTaskServiceImpl,RegistrationDataServiceImpl,RelationshipServiceImpl,RelationshipTypeServiceImpl,ResourcePolicyServiceImpl,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 Detail
-
create
T create(Context context) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
find
T find(Context context, int id) throws SQLException
- Throws:
SQLException
-
update
void update(Context context, T t) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
update
void update(Context context, List<T> t) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
delete
void delete(Context context, T t) throws SQLException, AuthorizeException
- Throws:
SQLExceptionAuthorizeException
-
-