public class Permission
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SNPS_EXPORTER_SCEN_METHOD |
static Permission |
SUPERVISOR
constant to represent supervisor permission.
|
| Modifier and Type | Method and Description |
|---|---|
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() |
public static final Permission SUPERVISOR
public static final java.lang.String SNPS_EXPORTER_SCEN_METHOD
public static Permission getSupervisorPermission()
public static Permission getGenericPermission(PermissionType pType, java.lang.Class pEntityClass)
pType - the type of priviledge to check.pEntityClass - the type of entity to check.public static Permission getInstancePermission(PermissionType pType, IRepositoryEntity pEntity)
pType - the type of priviledge to check.pEntity - the entity to check.public static Permission getInstancePermission(PermissionType pType, IRepositoryEntity pParentEntity, java.lang.Class pChildEntityClass)
pType - the type of priviledge to check.pParentEntity - the owning parent entity.pChildEntityClass - the type of the child entity.public java.lang.String toString()
toString in class java.lang.Object