|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A role that a user can have.
Field Summary | |
static long |
ADMINISTRATOR
ID of the Administrator role. |
Method Summary | |
java.lang.String |
getDescription()
Gets the description of this role, which can be null. |
long |
getId()
Gets the id of this role, or -1 if this role object hasn't been saved yet. |
java.util.Date |
getLastModified()
Gets the last modified date of this role object. |
long |
getLastModifier()
Gets the data store id of the last modifier of this role object. |
java.lang.String |
getName()
Gets the name of this role. |
long |
getUpdateCount()
|
org.outerx.daisy.x10.RoleDocument |
getXml()
Gets an XML representation of this object. |
void |
save()
Persist this Role to the data store. |
void |
setDescription(java.lang.String description)
Sets the description of this role. |
void |
setName(java.lang.String roleName)
Sets the name of this role. |
Field Detail |
public static final long ADMINISTRATOR
Method Detail |
public java.lang.String getName()
public void setName(java.lang.String roleName)
public java.lang.String getDescription()
public void setDescription(java.lang.String description)
public long getId()
public void save() throws RepositoryException
RepositoryException
public java.util.Date getLastModified()
Returns null if this object hasn't been saved to the data store yet.
public long getLastModifier()
Returns null if this object hasn't been saved to the data store yet.
public org.outerx.daisy.x10.RoleDocument getXml()
public long getUpdateCount()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |