Class Capability

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

public class Capability extends Object implements Serializable
This class represents a admin role object and its properties. Instances should be obtained using AdminRoleManager as out of the box admin roles are well-defined. Since OIM does not allow creating Admin-Roles the setter methods in this class are meant only for eclipselink mapping.
Since:
OIM R2PS3 (11.1.2.3.0)
See Also:
  • Constructor Details

    • Capability

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

      public Capability(String actionName, String resourceName, boolean scoped)
      Constructor for the Capability
      Parameters:
      actionName - the permission name
      resourceName - the entity name
      scoped - if the capability is scoped or not.
  • Method Details

    • getActionName

      public final String getActionName()
      Getter for the action name.
      Returns:
      action name
    • getOESApplicationRole

      public String getOESApplicationRole()
      getter for the OES application role.
      Returns:
      application role name mapped
    • getCapabilityId

      public String getCapabilityId()
      getter for capability id
      Returns:
      capability id
    • setCapabilityId

      public void setCapabilityId(String capabilityId)
      setter for capability Id
      Parameters:
      capabilityId -
    • getResourceName

      public String getResourceName()
      getter for resource name
      Returns:
      resource name
    • setResourceName

      public void setResourceName(String resourceName)
      setter for resource name
      Parameters:
      resourceName -
    • setActionName

      public void setActionName(String actionName)
      setter for actionName
      Parameters:
      actionName -
    • isScoped

      public boolean isScoped()
      getter for scoped.
      Returns:
      if scoped
    • setScoped

      public void setScoped(boolean scoped)
      setter for scoped
      Parameters:
      scoped -
    • isSame

      public boolean isSame(PolicyConstants.Resources resourceType, PolicyConstants.Actions action)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setOESApplicationRoleName

      public void setOESApplicationRoleName(String OESApplicationRoleName)
    • setDeniedAttributes

      public void setDeniedAttributes(List<String> deniedAttributes)
    • getDeniedAttributes

      public List<String> getDeniedAttributes()
    • setAssociatedWithPolicy

      public void setAssociatedWithPolicy(boolean associatedWithPolicy)
    • isAssociatedWithPolicy

      public boolean isAssociatedWithPolicy()
    • getType

      public String getType()
    • setType

      public void setType(String type)
    • isVisible

      public boolean isVisible()
    • setVisible

      public void setVisible(boolean visible)