public class CollectionRole extends Object
| Modifier and Type | Method and Description |
|---|---|
static CollectionRole |
create(Context context) |
void |
delete() |
static CollectionRole |
find(Context context,
int id) |
static CollectionRole |
find(Context context,
int collection,
String role) |
static CollectionRole[] |
findByCollection(Context context,
int collection) |
int |
getCollectionId() |
Group |
getGroup() |
String |
getRoleId() |
void |
setCollectionId(int id) |
void |
setGroupId(Group group) |
void |
setRoleId(String id) |
void |
update() |
public static CollectionRole find(Context context, int id) throws SQLException
SQLExceptionpublic static CollectionRole find(Context context, int collection, String role) throws SQLException
SQLExceptionpublic static CollectionRole[] findByCollection(Context context, int collection) throws SQLException
SQLExceptionpublic static CollectionRole create(Context context) throws SQLException, AuthorizeException
SQLExceptionAuthorizeExceptionpublic void delete()
throws SQLException
SQLExceptionpublic void update()
throws SQLException
SQLExceptionpublic void setRoleId(String id)
public String getRoleId()
public void setCollectionId(int id)
public int getCollectionId()
public void setGroupId(Group group)
public Group getGroup() throws SQLException
SQLExceptionCopyright © 2015 DuraSpace. All Rights Reserved.