public class AdminRole
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
AdminRole()
Default constructor for eclipse-link.
|
AdminRole(java.lang.String roleName,
java.lang.String roleDisplayName,
java.lang.String roleDescription,
boolean scoped)
The constructor for this class.
|
Modifier and Type | Method and Description |
---|---|
java.util.List |
getCapabilities()
Getter for the Capabilities.
|
SearchRule |
getMembershipRule()
Gets the membership rule for the admin role.
|
java.util.List |
getMemRuleScopes() |
java.lang.String |
getRoleDescription()
Getter for the admin role description.
|
java.lang.String |
getRoleDisplayName()
Getter for the admin role display name.
|
java.lang.Long |
getRoleId()
The unique-id for this admin role.
|
java.lang.String |
getRoleName()
Getter for the admin role name.
|
boolean |
isCustom()
Returns whether this admin role is custom or OOB.
|
java.lang.Boolean |
isDelayedEvaluationSet() |
boolean |
isScoped()
Returns whether this admin role is org-scoped or global in nature.
|
void |
setCapabilities(java.util.List capabilities)
setter for the Capabilities.
|
void |
setEvaluateMembershipRuleLater(java.lang.Boolean evaluateMembershipRuleLater) |
void |
setMembershipRule(SearchRule membershipRule)
Sets the membership rule for the admin role.
|
void |
setMemRuleScopes(java.util.List memRuleScopes) |
java.lang.String |
toString()
It sets the owner for the role.
|
public AdminRole()
public AdminRole(java.lang.String roleName, java.lang.String roleDisplayName, java.lang.String roleDescription, boolean scoped)
roleName
- - The admin role nameroleDisplayName
- - The display name for the admin role.roleDescription
- - The description for this admin role.scoped
- - Whether this role is org scoped or global in nature.public final java.lang.String getRoleName()
public final java.lang.String getRoleDisplayName()
public final java.util.List getCapabilities()
public final void setCapabilities(java.util.List capabilities)
public final java.lang.String getRoleDescription()
public final boolean isScoped()
public final boolean isCustom()
public java.lang.Long getRoleId()
public java.lang.String toString()
toString
in class java.lang.Object
roleOwner
- public void setMembershipRule(SearchRule membershipRule)
membershipRule
- public SearchRule getMembershipRule()
public void setMemRuleScopes(java.util.List memRuleScopes)
public java.util.List getMemRuleScopes()
public void setEvaluateMembershipRuleLater(java.lang.Boolean evaluateMembershipRuleLater)
public java.lang.Boolean isDelayedEvaluationSet()