Interface CollectionRoleService
- All Known Implementing Classes:
CollectionRoleServiceImpl
public interface CollectionRoleService
Service interface class for the CollectionRole object.
The implementation of this class is responsible for all business logic calls for the CollectionRole object and is
autowired by spring
- Author:
- kevinvandevelde at atmire.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringThis is the default name of the role equivalent in the default configuration to the "legacy" workflow step1.static final StringThis is the default name of the role equivalent in the default configuration to the "legacy" workflow step2.static final StringThis is the default name of the role equivalent in the default configuration to the "legacy" workflow step3. -
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
-
LEGACY_WORKFLOW_STEP1_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step1. Old piece of code will expect to use it in place of the workflow step1- See Also:
-
LEGACY_WORKFLOW_STEP2_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step2. Old piece of code will expect to use it in place of the workflow step2- See Also:
-
LEGACY_WORKFLOW_STEP3_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step3. Old piece of code will expect to use it in place of the workflow step3- See Also:
-
-
Method Details
-
find
- Throws:
SQLException
-
find
- Throws:
SQLException
-
findByGroup
- Parameters:
context- DSpace contextgroup- EPerson Group- Returns:
- the list of CollectionRole assigned to the specified group
- Throws:
SQLException
-
findByCollection
- Throws:
SQLException
-
create
CollectionRole create(Context context, Collection collection, String roleId, Group group) throws SQLException - Throws:
SQLException
-
update
- Throws:
SQLException
-
delete
- Throws:
SQLException
-
deleteByCollection
- Throws:
SQLException
-