public class CollectionRole
extends java.lang.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,
java.lang.String role) |
static CollectionRole[] |
findByCollection(Context context,
int collection) |
int |
getCollectionId() |
Group |
getGroup() |
java.lang.String |
getRoleId() |
void |
setCollectionId(int id) |
void |
setGroupId(Group group) |
void |
setRoleId(java.lang.String id) |
void |
update() |
public static CollectionRole find(Context context, int id) throws java.sql.SQLException
java.sql.SQLExceptionpublic static CollectionRole find(Context context, int collection, java.lang.String role) throws java.sql.SQLException
java.sql.SQLExceptionpublic static CollectionRole[] findByCollection(Context context, int collection) throws java.sql.SQLException
java.sql.SQLExceptionpublic static CollectionRole create(Context context) throws java.sql.SQLException, AuthorizeException
java.sql.SQLExceptionAuthorizeExceptionpublic void delete()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void update()
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setRoleId(java.lang.String id)
public java.lang.String getRoleId()
public void setCollectionId(int id)
public int getCollectionId()
public void setGroupId(Group group)
public Group getGroup() throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2018 DuraSpace. All Rights Reserved.