public interface CollectionRoleService
| Modifier and Type | Field and Description |
|---|---|
static String |
LEGACY_WORKFLOW_STEP1_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step1.
|
static String |
LEGACY_WORKFLOW_STEP2_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step2.
|
static String |
LEGACY_WORKFLOW_STEP3_NAME
This is the default name of the role equivalent in the default configuration to the "legacy" workflow step3.
|
| Modifier and Type | Method and Description |
|---|---|
CollectionRole |
create(Context context,
Collection collection,
String roleId,
Group group) |
void |
delete(Context context,
CollectionRole collectionRole) |
void |
deleteByCollection(Context context,
Collection collection) |
CollectionRole |
find(Context context,
Collection collection,
String role) |
CollectionRole |
find(Context context,
int id) |
List<CollectionRole> |
findByCollection(Context context,
Collection collection) |
List<CollectionRole> |
findByGroup(Context context,
Group group) |
void |
update(Context context,
CollectionRole collectionRole) |
static final String LEGACY_WORKFLOW_STEP1_NAME
static final String LEGACY_WORKFLOW_STEP2_NAME
static final String LEGACY_WORKFLOW_STEP3_NAME
CollectionRole find(Context context, int id) throws SQLException
SQLExceptionCollectionRole find(Context context, Collection collection, String role) throws SQLException
SQLExceptionList<CollectionRole> findByGroup(Context context, Group group) throws SQLException
context - DSpace contextgroup - EPerson GroupSQLExceptionList<CollectionRole> findByCollection(Context context, Collection collection) throws SQLException
SQLExceptionCollectionRole create(Context context, Collection collection, String roleId, Group group) throws SQLException
SQLExceptionvoid update(Context context, CollectionRole collectionRole) throws SQLException
SQLExceptionvoid delete(Context context, CollectionRole collectionRole) throws SQLException
SQLExceptionvoid deleteByCollection(Context context, Collection collection) throws SQLException
SQLExceptionCopyright © 2019 DuraSpace. All rights reserved.