|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Role
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 |
---|
static final long ADMINISTRATOR
Method Detail |
---|
java.lang.String getName()
void setName(java.lang.String roleName)
java.lang.String getDescription()
void setDescription(java.lang.String description)
long getId()
void save() throws RepositoryException
RepositoryException
java.util.Date getLastModified()
Returns null if this object hasn't been saved to the data store yet.
long getLastModifier()
Returns null if this object hasn't been saved to the data store yet.
org.outerx.daisy.x10.RoleDocument getXml()
long getUpdateCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |