org.dspace.xmlworkflow.storedcomponents
Class CollectionRole
java.lang.Object
org.dspace.xmlworkflow.storedcomponents.CollectionRole
public class CollectionRole
- extends Object
/*
Represents a workflow assignments database representation.
These assignments describe roles and the groups connected
to these roles for each collection
- Author:
- Bram De Schouwer (bram.deschouwer at dot com), Kevin Van de Velde (kevin at atmire dot com), Ben Bosman (ben at atmire dot com), Mark Diggory (markd at atmire dot com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
find
public static CollectionRole find(Context context,
int id)
throws SQLException
- Throws:
SQLException
find
public static CollectionRole find(Context context,
int collection,
String role)
throws SQLException
- Throws:
SQLException
findByCollection
public static CollectionRole[] findByCollection(Context context,
int collection)
throws SQLException
- Throws:
SQLException
create
public static CollectionRole create(Context context)
throws SQLException,
AuthorizeException
- Throws:
SQLException
AuthorizeException
delete
public void delete()
throws SQLException
- Throws:
SQLException
update
public void update()
throws SQLException
- Throws:
SQLException
setRoleId
public void setRoleId(String id)
getRoleId
public String getRoleId()
setCollectionId
public void setCollectionId(int id)
getCollectionId
public int getCollectionId()
setGroupId
public void setGroupId(Group group)
getGroup
public Group getGroup()
throws SQLException
- Throws:
SQLException
Copyright © 2011 DuraSpace. All Rights Reserved.