Class AbstractRoleBean
java.lang.Object
com.bloomreach.xm.repository.security.AbstractRoleBean
- All Implemented Interfaces:
AbstractRole
- Direct Known Subclasses:
RoleBean
,UserRoleBean
Simple (abstract) POJO bean implementation of
AbstractRole
-
Constructor Summary
ConstructorDescriptionAbstractRoleBean
(AbstractRole role) AbstractRoleBean
(String name, String description) -
Method Summary
Modifier and TypeMethodDescriptionThe description of the rolegetName()
The name of the rolegetRoles()
The same of role names which are implied (included or merged) with this role.boolean
isSystem()
Indicator if the role is used or reserved for system purposes.void
setDescription
(String description) void
void
setSystem
(boolean system)
-
Constructor Details
-
AbstractRoleBean
public AbstractRoleBean() -
AbstractRoleBean
-
AbstractRoleBean
-
-
Method Details
-
getName
Description copied from interface:AbstractRole
The name of the role- Specified by:
getName
in interfaceAbstractRole
- Returns:
- The name of the role
-
setName
-
getDescription
Description copied from interface:AbstractRole
The description of the role- Specified by:
getDescription
in interfaceAbstractRole
- Returns:
- the description of the role
-
setDescription
-
isSystem
public boolean isSystem()Description copied from interface:AbstractRole
Indicator if the role is used or reserved for system purposes.- Specified by:
isSystem
in interfaceAbstractRole
- Returns:
- true if this is a system role, false otherwise
-
setSystem
public void setSystem(boolean system) -
getRoles
Description copied from interface:AbstractRole
The same of role names which are implied (included or merged) with this role.- Specified by:
getRoles
in interfaceAbstractRole
- Returns:
- the set of other role names to implied by this role.
-