Package oracle.iam.platform.authopss.vo
Class Capability
java.lang.Object
oracle.iam.platform.authopss.vo.Capability
- All Implemented Interfaces:
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for eclipse-link.Capability
(String actionName, String resourceName, boolean scoped) Constructor for the Capability -
Method Summary
Modifier and TypeMethodDescriptionboolean
final String
Getter for the action name.getter for capability idgetter for the OES application role.getter for resource namegetType()
int
hashCode()
boolean
boolean
isSame
(PolicyConstants.Resources resourceType, PolicyConstants.Actions action) boolean
isScoped()
getter for scoped.boolean
void
setActionName
(String actionName) setter for actionNamevoid
setAssociatedWithPolicy
(boolean associatedWithPolicy) void
setCapabilityId
(String capabilityId) setter for capability Idvoid
setDeniedAttributes
(List<String> deniedAttributes) void
setOESApplicationRoleName
(String OESApplicationRoleName) void
setResourceName
(String resourceName) setter for resource namevoid
setScoped
(boolean scoped) setter for scopedvoid
void
setVisible
(boolean visible) toString()
-
Constructor Details
-
Capability
public Capability()Default constructor for eclipse-link. -
Capability
Constructor for the Capability- Parameters:
actionName
- the permission nameresourceName
- the entity namescoped
- if the capability is scoped or not.
-
-
Method Details
-
getActionName
Getter for the action name.- Returns:
- action name
-
getOESApplicationRole
getter for the OES application role.- Returns:
- application role name mapped
-
getCapabilityId
getter for capability id- Returns:
- capability id
-
setCapabilityId
setter for capability Id- Parameters:
capabilityId
-
-
getResourceName
getter for resource name- Returns:
- resource name
-
setResourceName
setter for resource name- Parameters:
resourceName
-
-
setActionName
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
-
hashCode
public int hashCode() -
equals
-
toString
-
setOESApplicationRoleName
-
setDeniedAttributes
-
getDeniedAttributes
-
setAssociatedWithPolicy
public void setAssociatedWithPolicy(boolean associatedWithPolicy) -
isAssociatedWithPolicy
public boolean isAssociatedWithPolicy() -
getType
-
setType
-
isVisible
public boolean isVisible() -
setVisible
public void setVisible(boolean visible)
-