public class MetadataPermission extends oracle.as.scheduler.security.internal.permission.AbstractBulkPrivilegeCheckSupportPermission implements oracle.as.scheduler.security.internal.permission.MaskSupport, Serializable
MetadataObjectId
,
Serialized FormModifier and Type | Class and Description |
---|---|
static class |
MetadataPermission.Action
Enum of the permissible actions for ESS metadata.
|
Constructor and Description |
---|
MetadataPermission(oracle.as.scheduler.security.MetadataPermissionId[] targets,
MetadataPermission.Action[] actions)
Constructs the instance of Metadata permission for the given array of targets and actions
|
MetadataPermission(oracle.as.scheduler.security.MetadataPermissionId target,
MetadataPermission.Action[] actions)
Constructs the instance of Metadata permission for the given target and array of actions
|
MetadataPermission(String target,
String actions)
Constructs the instance of Metadata permission for the given target and actions
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks two MetadataPermission objects for equality.
|
List |
getActionMasks()
Gets the masks of actions added to this MetadataPermission instance
|
List |
getActionPatterns()
Gets the pattterns of actions added to this MetadataPermission instance
|
List |
getDeniedMetadataObjectIds()
Gets the metadata object Ids for which permissions are denied
|
List |
getPassedMetadataObjectIds()
Gets the metadata object Ids for which permissions are allowed
|
boolean |
implies(Permission p)
Checks if the specified MetadataPermission's actions are "implied by"
this object's actions.
|
PermissionCollection |
newPermissionCollection()
Returns an empty MetadataPermissionCollection for this MetadataPermission object
|
_convertToString, beginAdditionalPolicyStripeCheck, endAdditionalPolicyStripeCheck, getActions, getDeniedTargets, getMask, getPassedTargets, getTargetCollection, hashCode, impliesIgnoreMask, isAdditionalPolicyStripeCheck, toString
checkGuard, getName
public MetadataPermission(String target, String actions)
target
- the String representation of metadata objects of type MetadataObjectId
actions
- string representation of actions of type MetadataPermission.Action
public MetadataPermission(oracle.as.scheduler.security.MetadataPermissionId[] targets, MetadataPermission.Action[] actions)
targets
- the full, partial or canonical form of objects of type MetadataObjectId
actions
- array of actions of type MetadataPermission.Action
public MetadataPermission(oracle.as.scheduler.security.MetadataPermissionId target, MetadataPermission.Action[] actions)
target
- the full, partial or canonical form of object of type MetadataObjectId
actions
- array of actions of type MetadataPermission.Action
public List getPassedMetadataObjectIds()
public List getDeniedMetadataObjectIds()
public List getActionPatterns()
getActionPatterns
in interface oracle.as.scheduler.security.internal.permission.MaskSupport
public List getActionMasks()
getActionMasks
in interface oracle.as.scheduler.security.internal.permission.MaskSupport
public boolean implies(Permission p)
implies
in class oracle.as.scheduler.security.internal.permission.AbstractBulkPrivilegeCheckSupportPermission
p
- the permission to check against.public boolean equals(Object obj)
equals
in class Permission
obj
- the object we are testing for equality with this object.true
if obj is a MetadataPermission, and has the same
pathname and actions as this MetadataPermission object,
false
otherwise.public PermissionCollection newPermissionCollection()
newPermissionCollection
in class Permission