Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


oracle.odi.core.security
Class Permission

java.lang.Object
  extended by oracle.odi.core.security.Permission


public class Permission
extends java.lang.Object

A wrapper of the target and privilege to check.

Since:
11.1.1.3.0

Field Summary
static Permission SUPERVISOR
          constant to represent supervisor permission.

 

Method Summary
static Permission getGenericPermission(PermissionType pType, java.lang.Class pEntityClass)
          Return Permission object for certain entity type and priviledge.
static Permission getInstancePermission(PermissionType pType, IRepositoryEntity pEntity)
          Return Permission object for certain entity and priviledge.
static Permission getInstancePermission(PermissionType pType, IRepositoryEntity pParentEntity, java.lang.Class pChildEntityClass)
          Return Permission object for certain child type under certain parent entity and priviledge.
static Permission getSupervisorPermission()
          return Permission object representing SUPERVISOR permission.
 java.lang.String toString()
           

 

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

 

Field Detail

SUPERVISOR

public static final Permission SUPERVISOR
constant to represent supervisor permission.

Method Detail

getSupervisorPermission

public static Permission getSupervisorPermission()
return Permission object representing SUPERVISOR permission.
Returns:
Permission object representing SUPERVISOR permission.

getGenericPermission

public static Permission getGenericPermission(PermissionType pType,
                                              java.lang.Class pEntityClass)
Return Permission object for certain entity type and priviledge.
Parameters:
pType - the type of priviledge to check.
pEntityClass - the type of entity to check.
Returns:
Permission object.

getInstancePermission

public static Permission getInstancePermission(PermissionType pType,
                                               IRepositoryEntity pEntity)
Return Permission object for certain entity and priviledge.
Parameters:
pType - the type of priviledge to check.
pEntity - the entity to check.
Returns:
Permission object.

getInstancePermission

public static Permission getInstancePermission(PermissionType pType,
                                               IRepositoryEntity pParentEntity,
                                               java.lang.Class pChildEntityClass)
Return Permission object for certain child type under certain parent entity and priviledge.
Parameters:
pType - the type of priviledge to check.
pParentEntity - the owning parent entity.
pChildEntityClass - the type of the child entity.
Returns:
Permission object.

toString

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

Skip navigation links

Oracle® Data Integrator Java API Reference
11g Release 1 (11.1.1.7.0)

E17060-04


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