|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserRole
UserRole represents a user's role.
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_USERROLE
The SUPER userRole name. |
static java.lang.String |
ROLE_PROFIX
The default role authority prefix (to integrate with acegi security framework. |
static java.lang.String |
SUPERUSER
The default userRole name. |
| Method Summary | |
|---|---|
java.lang.String |
getDescription()
Gets the description of this UserRole. |
java.lang.String |
getName()
Gets the name of this UserRole. |
java.util.Set |
getUserPermissions()
Gets the Permissions associated with this Role. |
boolean |
isDefaultUserRole()
Return true if this is the default USER role. |
boolean |
isSuperUserRole()
Return true if this is the SUPERUSER role. |
void |
setDescription(java.lang.String description)
Sets the description of this UserRole. |
void |
setName(java.lang.String name)
Sets the name of this UserRole. |
void |
setUserPermissions(java.util.Set userPermissions)
Sets the Permissions associated with this UserRole. |
| Methods inherited from interface com.elasticpath.domain.Entity |
|---|
getGuid, setGuid |
| Methods inherited from interface com.elasticpath.domain.Persistence |
|---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Methods inherited from interface org.acegisecurity.GrantedAuthority |
|---|
getAuthority |
| Field Detail |
|---|
static final java.lang.String DEFAULT_USERROLE
static final java.lang.String ROLE_PROFIX
static final java.lang.String SUPERUSER
| Method Detail |
|---|
java.lang.String getDescription()
UserRole.
java.lang.String getName()
UserRole.
java.util.Set getUserPermissions()
Permissions associated with this Role.
boolean isDefaultUserRole()
boolean isSuperUserRole()
void setDescription(java.lang.String description)
UserRole.
description - the userRole description.void setName(java.lang.String name)
UserRole.
name - the userRole name.void setUserPermissions(java.util.Set userPermissions)
Permissions associated with this UserRole.
userPermissions - the new set of userPermissions.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||