Class CollectionRoleServiceImpl
java.lang.Object
org.dspace.xmlworkflow.storedcomponents.CollectionRoleServiceImpl
- All Implemented Interfaces:
CollectionRoleService
Service implementation for the CollectionRole object.
This class is responsible for all business logic calls for the CollectionRole object and is autowired by spring.
This class should never be accessed directly.
- Author:
- kevinvandevelde at atmire.com
-
Field Summary
FieldsFields inherited from interface org.dspace.xmlworkflow.storedcomponents.service.CollectionRoleService
LEGACY_WORKFLOW_STEP1_NAME, LEGACY_WORKFLOW_STEP2_NAME, LEGACY_WORKFLOW_STEP3_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(Context context, Collection collection, String roleId, Group group) voiddelete(Context context, CollectionRole collectionRole) voiddeleteByCollection(Context context, Collection collection) find(Context context, Collection collection, String role) findByCollection(Context context, Collection collection) findByGroup(Context context, Group group) voidupdate(Context context, CollectionRole collectionRole)
-
Field Details
-
collectionRoleDAO
-
-
Constructor Details
-
CollectionRoleServiceImpl
protected CollectionRoleServiceImpl()
-
-
Method Details
-
find
- Specified by:
findin interfaceCollectionRoleService- Throws:
SQLException
-
find
- Specified by:
findin interfaceCollectionRoleService- Throws:
SQLException
-
findByCollection
public List<CollectionRole> findByCollection(Context context, Collection collection) throws SQLException - Specified by:
findByCollectionin interfaceCollectionRoleService- Throws:
SQLException
-
findByGroup
- Specified by:
findByGroupin interfaceCollectionRoleService- Parameters:
context- DSpace contextgroup- EPerson Group- Returns:
- the list of CollectionRole assigned to the specified group
- Throws:
SQLException
-
create
public CollectionRole create(Context context, Collection collection, String roleId, Group group) throws SQLException - Specified by:
createin interfaceCollectionRoleService- Throws:
SQLException
-
update
- Specified by:
updatein interfaceCollectionRoleService- Throws:
SQLException
-
delete
- Specified by:
deletein interfaceCollectionRoleService- Throws:
SQLException
-
deleteByCollection
- Specified by:
deleteByCollectionin interfaceCollectionRoleService- Throws:
SQLException
-