Skip navigation links


oracle.iam.platform.authopss.vo
Class Capability

java.lang.Object
  extended by oracle.iam.platform.authopss.vo.Capability

All Implemented Interfaces:
java.io.Serializable

public class Capability
extends java.lang.Object
implements java.io.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:
Serialized Form

Nested Class Summary
static class Capability.Type
          Enum for capability types

 

Constructor Summary
Capability()
          Default constructor for eclipse-link.
Capability(java.lang.String actionName, java.lang.String resourceName, boolean scoped)
          Constructor for the Capability

 

Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getActionName()
          Getter for the action name.
 java.lang.String getCapabilityId()
          getter for capability id
 java.util.List getDeniedAttributes()
           
 java.lang.String getOESApplicationRole()
          getter for the OES application role.
 java.lang.String getResourceName()
          getter for resource name
 java.lang.String getType()
           
 int hashCode()
           
 boolean isAssociatedWithPolicy()
           
 boolean isSame(PolicyConstants.Resources resourceType, PolicyConstants.Actions action)
           
 boolean isScoped()
          getter for scoped.
 boolean isVisible()
           
 void setActionName(java.lang.String actionName)
          setter for actionName
 void setAssociatedWithPolicy(boolean associatedWithPolicy)
           
 void setCapabilityId(java.lang.String capabilityId)
          setter for capability Id
 void setDeniedAttributes(java.util.List deniedAttributes)
           
 void setOESApplicationRoleName(java.lang.String OESApplicationRoleName)
           
 void setResourceName(java.lang.String resourceName)
          setter for resource name
 void setScoped(boolean scoped)
          setter for scoped
 void setType(java.lang.String type)
           
 void setVisible(boolean visible)
           
 java.lang.String toString()
           

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

Capability

public Capability()
Default constructor for eclipse-link.

Capability

public Capability(java.lang.String actionName,
                  java.lang.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 Detail

getActionName

public final java.lang.String getActionName()
Getter for the action name.
Returns:
action name

getOESApplicationRole

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

getCapabilityId

public java.lang.String getCapabilityId()
getter for capability id
Returns:
capability id

setCapabilityId

public void setCapabilityId(java.lang.String capabilityId)
setter for capability Id
Parameters:
capabilityId -

getResourceName

public java.lang.String getResourceName()
getter for resource name
Returns:
resource name

setResourceName

public void setResourceName(java.lang.String resourceName)
setter for resource name
Parameters:
resourceName -

setActionName

public void setActionName(java.lang.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 java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setOESApplicationRoleName

public void setOESApplicationRoleName(java.lang.String OESApplicationRoleName)

setDeniedAttributes

public void setDeniedAttributes(java.util.List deniedAttributes)

getDeniedAttributes

public java.util.List getDeniedAttributes()

setAssociatedWithPolicy

public void setAssociatedWithPolicy(boolean associatedWithPolicy)

isAssociatedWithPolicy

public boolean isAssociatedWithPolicy()

getType

public java.lang.String getType()

setType

public void setType(java.lang.String type)

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visible)

Skip navigation links


Copyright © 2015, Oracle and/or its affiliates. All rights reserved.