|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Representation of an identity in the cms (currently user or group), used to define permissions on a resource.
| Field Summary | |
static int |
FLAG_DISABLED
This flag is set for disabled principals in the database. |
static int |
FLAG_ENABLED
This flag is set for enabled principals in the database. |
static int |
FLAG_GROUP_PROJECT_MANAGER
Flag to indicate a goup is a potential project manager group. |
static int |
FLAG_GROUP_PROJECT_USER
Flag to indicate a goup is a potential project user group. |
static int |
FLAG_GROUP_WORKFLOW_ROLE
Flag to indicate a goup is used as a role in the workflow. |
static String |
PRINCIPAL_GROUP
Identifier for group principals. |
static String |
PRINCIPAL_USER
Identifier for user principals. |
| Method Summary | |
boolean |
equals(Object obj)
Compares the given object with this principal. |
CmsUUID |
getId()
Gets the id of this principal. |
String |
getName()
Gets the name of this principal. |
int |
hashCode()
Returns the hash code of this object. |
| Field Detail |
public static final int FLAG_DISABLED
public static final int FLAG_ENABLED
public static final int FLAG_GROUP_PROJECT_MANAGER
public static final int FLAG_GROUP_PROJECT_USER
public static final int FLAG_GROUP_WORKFLOW_ROLE
public static final String PRINCIPAL_GROUP
public static final String PRINCIPAL_USER
| Method Detail |
public boolean equals(Object obj)
obj - object to comapre
public CmsUUID getId()
public String getName()
public int hashCode()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||