Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.1.0)

E10686-02

oracle.adf.share.security.authorization
Class PermissionClassDescriptor

java.lang.Object
  extended by oracle.adf.share.security.authorization.PermissionClassDescriptor

public class PermissionClassDescriptor
extends java.lang.Object

Internal: Applications should not use this class. Describes a security Permission class. A descriptor i.e the metadata for a permission is composed of a display name, the Class that this permission points to, an array of possible actions and array of possible targets. Alternatvely, may represent an XDB security class, in which case the Class object will be null and the class name will be the name of the security class.


Constructor Summary
PermissionClassDescriptor(java.lang.Class permissionClass)
          Constructs a PermissionClassDescriptor from an ADFPermission Class.
PermissionClassDescriptor(java.lang.String displayName, java.lang.Class permissionClass, PermissionActionDescriptor[] actionDescriptors, PermissionTargetDescriptor[] targetDescriptors)
          Constructs a PermissionClassDescriptor Internal: Applications should not use this method.
PermissionClassDescriptor(java.lang.String displayName, javax.xml.namespace.QName securityClass, PermissionActionDescriptor[] actionDescriptors, PermissionTargetDescriptor[] targetDescriptors)
          Constructs a PermissionClassDescriptor Internal: Applications should not use this method.
 
Method Summary
 java.lang.String getDisplayName()
          Internal: Applications should not use this method. Accessor for displayName.
 PermissionActionDescriptor[] getPermissionActionDescriptors()
          Internal: Applications should not use this method. Accessor for the permission action descriptors.
 java.lang.Class getPermissionClass()
          Internal: Applications should not use this method. Accessor for the permission class.
 PermissionTargetDescriptor[] getPermissionTargetDescriptors()
          Internal: Applications should not use this method. Accessor for the permission target descriptors.
 javax.xml.namespace.QName getSecurityClass()
          Internal: Applications should not use this method. Accessor for the security class name.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PermissionClassDescriptor

public PermissionClassDescriptor(java.lang.String displayName,
                                 java.lang.Class permissionClass,
                                 PermissionActionDescriptor[] actionDescriptors,
                                 PermissionTargetDescriptor[] targetDescriptors)
Constructs a PermissionClassDescriptor Internal: Applications should not use this method.

Parameters:
displayName - the display displayName
permissionClass - the Permission Class
actionDescriptors - a collection of action descriptors

PermissionClassDescriptor

public PermissionClassDescriptor(java.lang.String displayName,
                                 javax.xml.namespace.QName securityClass,
                                 PermissionActionDescriptor[] actionDescriptors,
                                 PermissionTargetDescriptor[] targetDescriptors)
Constructs a PermissionClassDescriptor Internal: Applications should not use this method.

Parameters:
displayName - the display displayName
securityClass - the security class name
actionDescriptors - a collection of action descriptors

PermissionClassDescriptor

public PermissionClassDescriptor(java.lang.Class permissionClass)
Constructs a PermissionClassDescriptor from an ADFPermission Class. Internal: Applications should not use this method.

Parameters:
permissionClass - the ADFPermission Class
Method Detail

getDisplayName

public java.lang.String getDisplayName()
Internal: Applications should not use this method. Accessor for displayName.

Returns:
String the displayName of the action.

getPermissionClass

public java.lang.Class getPermissionClass()
Internal: Applications should not use this method. Accessor for the permission class.

Returns:
Class the permission class

getSecurityClass

public javax.xml.namespace.QName getSecurityClass()
Internal: Applications should not use this method. Accessor for the security class name.

Returns:
Class the security class name.

getPermissionActionDescriptors

public PermissionActionDescriptor[] getPermissionActionDescriptors()
Internal: Applications should not use this method. Accessor for the permission action descriptors.

Returns:
PermissionActionDescriptor the permission action descriptors.

getPermissionTargetDescriptors

public PermissionTargetDescriptor[] getPermissionTargetDescriptors()
Internal: Applications should not use this method. Accessor for the permission target descriptors.

Returns:
PermissionActionDescriptor the permission target descriptors.

toString

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

Oracle Fusion Middleware Java API Reference for Oracle ADF Share
11g Release 1 (11.1.1.1.0)

E10686-02

Copyright © 1997, 2009, Oracle. All rights reserved.