Class AdminRole

java.lang.Object
oracle.iam.platform.authopss.vo.AdminRole
All Implemented Interfaces:
Serializable

public class AdminRole extends Object implements Serializable
This class represents a admin role object and its attributes. Instances should be obtained using AdminRoleService. If the user wants to create a new Admin Role then used AdminRoleVO instead, that provides more extensive relationship handling.
Since:
OIM R2 (11.1.2.0.0)
See Also:
  • Constructor Details

    • AdminRole

      public AdminRole()
      Default constructor for eclipse-link.
    • AdminRole

      public AdminRole(String roleName, String roleDisplayName, String roleDescription, boolean scoped)
      The constructor for this class.
      Parameters:
      roleName - - The admin role name
      roleDisplayName - - 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.
  • Method Details

    • getRoleName

      public final String getRoleName()
      Getter for the admin role name.
      Returns:
    • getRoleDisplayName

      public final String getRoleDisplayName()
      Getter for the admin role display name.
      Returns:
    • getCapabilities

      public final List<Capability> getCapabilities()
      Getter for the Capabilities.
      Returns:
    • setCapabilities

      public final void setCapabilities(List<Capability> capabilities)
      setter for the Capabilities.
    • getRoleDescription

      public final String getRoleDescription()
      Getter for the admin role description.
      Returns:
    • isScoped

      public final boolean isScoped()
      Returns whether this admin role is org-scoped or global in nature.
      Returns:
    • isCustom

      public final boolean isCustom()
      Returns whether this admin role is custom or OOB.
      Returns:
    • getRoleId

      public Long getRoleId()
      The unique-id for this admin role.
      Returns:
    • toString

      public String toString()
      It sets the owner for the role.
      Overrides:
      toString in class Object
      Parameters:
      roleOwner -
    • setMembershipRule

      public void setMembershipRule(SearchRule membershipRule)
      Sets the membership rule for the admin role.
      Parameters:
      membershipRule -
    • getMembershipRule

      public SearchRule getMembershipRule()
      Gets the membership rule for the admin role. If no rule is set returns null.
      Returns:
    • setMemRuleScopes

      public void setMemRuleScopes(List<AdminRoleRuleScope> memRuleScopes)
    • getMemRuleScopes

      public List<AdminRoleRuleScope> getMemRuleScopes()
    • setEvaluateMembershipRuleLater

      public void setEvaluateMembershipRuleLater(Boolean evaluateMembershipRuleLater)
    • isDelayedEvaluationSet

      public Boolean isDelayedEvaluationSet()