public class CollectionRoleServiceImpl extends Object implements CollectionRoleService
| Modifier and Type | Field and Description |
|---|---|
protected CollectionRoleDAO |
collectionRoleDAO |
| Modifier | Constructor and Description |
|---|---|
protected |
CollectionRoleServiceImpl() |
| 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) |
void |
update(Context context,
CollectionRole collectionRole) |
@Autowired(required=true) protected CollectionRoleDAO collectionRoleDAO
public CollectionRole find(Context context, int id) throws SQLException
find in interface CollectionRoleServiceSQLExceptionpublic CollectionRole find(Context context, Collection collection, String role) throws SQLException
find in interface CollectionRoleServiceSQLExceptionpublic List<CollectionRole> findByCollection(Context context, Collection collection) throws SQLException
findByCollection in interface CollectionRoleServiceSQLExceptionpublic CollectionRole create(Context context, Collection collection, String roleId, Group group) throws SQLException
create in interface CollectionRoleServiceSQLExceptionpublic void update(Context context, CollectionRole collectionRole) throws SQLException
update in interface CollectionRoleServiceSQLExceptionpublic void delete(Context context, CollectionRole collectionRole) throws SQLException
delete in interface CollectionRoleServiceSQLExceptionpublic void deleteByCollection(Context context, Collection collection) throws SQLException
deleteByCollection in interface CollectionRoleServiceSQLExceptionCopyright © 2017 DuraSpace. All rights reserved.