|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BPMIdentity
BPMIdentity interface defines a BPEL Process Manager Identity. This interface can be implemented to represented a user or role entity in the backend.
| Method Summary | |
|---|---|
java.util.Set |
getActions()Deprecated. since 11. Use BPMUser.hasPermission(Permission, String) for user object |
java.util.List |
getAppRoles(boolean direct)Gets list of application roles, BPMAppRoles, which this BPMIndentity has been granted. |
java.util.List |
getAppRoles(boolean direct, java.lang.String appName)Gets list of application roles, BPMAppRoles, which this BPMIndentity has been granted. |
java.lang.String |
getEmail()Gets e-mail address for this BPMIdentity. |
java.util.Set |
getGrantedRoles(boolean direct)Gets set of all BPMRole objects which the BPMIndentity has been granted |
java.util.Set |
getGrantedRoles(boolean direct, java.lang.String appName)Gets set of all BPMRole objects which the BPMIndentity has been granted |
java.util.List |
getGroups(boolean direct)Gets list of all BPMGroup objects which this BPMIndentity has been granted. |
BPMIdentityType |
getIdentityType()Gets identity type. |
java.util.List<BPMRole> |
getManagedRoles(boolean direct)Gets a List of BPMRoles managed by this identity. |
java.util.Set |
getOwnedRoles(boolean direct)Gets all roles owned by this identity. |
java.util.List |
getRoles(RoleClassifier roleType, boolean direct)Deprecated. since release 11. Use getGrantedRoles(boolean) instead |
boolean |
isInRole(BPMRole role)Defines whether the BPMIdentity belongs to given BPMRole |
boolean |
isInRole(java.lang.String groupName)Deprecated. since release 11. Use isInRole(BPMRole) instead |
boolean |
isOwner(BPMRole role)Check whether the principal owns the role. |
| Methods inherited from interface oracle.tip.pc.services.identity.BPMPrincipal |
|---|
getAttribute, getAttributes, getDescription, getDisplayName, getDisplayName, getFullName, getGuid, getRealmName, getUniqueName, toNode |
| Methods inherited from interface java.security.Principal |
|---|
equals, getName, hashCode, toString |
| Method Detail |
|---|
BPMIdentityType getIdentityType()
BPMIdentityType for the possible values.
java.lang.String getEmail()
throws BPMIdentityException
BPMIdentity.BPMIdentityException - If exception condition occurs.BPMIdentityException
boolean isInRole(BPMRole role)
throws BPMIdentityException
BPMRolerole - The role against which the check is to be made.BPMRole, false otherwise.BPMIdentityException - If exception condition occurs or the role could not be found.BPMIdentityException
boolean isInRole(java.lang.String groupName)
throws BPMIdentityException,
BPMIdentityNotFoundException
isInRole(BPMRole) insteadBPMGroup namegroupName - is a BPMGroup nameBPMIdentityNotFoundException - If the group could not be found.BPMIdentityException - If exception condition occurs.BPMIdentityExceptionBPMIdentityNotFoundException
java.util.List getAppRoles(boolean direct)
throws BPMIdentityException
BPMAppRoles, which this BPMIndentity has been granted.direct - a boolean if true only direct roles, else all rolesList of granted BPMRoles objects which this BPMIndentity hasBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.List getAppRoles(boolean direct,
java.lang.String appName)
throws BPMIdentityException
BPMAppRoles, which this BPMIndentity has been granted.direct - a boolean if true only direct roles, else all rolesappName - a application NameList of granted BPMRoles objects which this BPMIndentity hasBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.List getRoles(RoleClassifier roleType,
boolean direct)
throws BPMIdentityException
getGrantedRoles(boolean) insteadBPMRoles which this BPMIndentity hasroleType - a role classifierdirect - a boolean if true method returns only direct granted roles, else all rolesList of granted BPMRoles objects which this BPMIndentity hasBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.List getGroups(boolean direct)
throws BPMIdentityException
BPMGroup objects which this BPMIndentity has been granted.direct - is a boolean flag. If is true the method returns only direct granted groups, else all groupsList of BPMGroups objects which this BPMIndentity belongsBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.Set getGrantedRoles(boolean direct)
throws BPMIdentityException
BPMRole objects which the BPMIndentity has been granteddirect - is a boolean flag. If is true the method returns only direct granted roles, else allSet of BPMRole objects which are graned to given identityBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.Set getGrantedRoles(boolean direct,
java.lang.String appName)
throws BPMIdentityException
BPMRole objects which the BPMIndentity has been granteddirect - is a boolean flag. If is true the method returns only direct granted roles, else allappName - a application NameSet of BPMRole objects which are graned to given identityBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.Set getActions()
throws BPMIdentityException
BPMUser.hasPermission(Permission, String) for user objectActions which this BPMIndentity has.List of ActionsBPMIdentityException - If exception condition occurs.BPMIdentityException
java.util.Set getOwnedRoles(boolean direct)
throws BPMIdentityException
direct - a boolean flag. If true return direct onwed roles, else all owned rolseBPMIdentityException - If exception condition occurs.
boolean isOwner(BPMRole role)
throws BPMIdentityException
role - a BPMRoleBPMIdentityException - If exception condition occurs.
java.util.List<BPMRole> getManagedRoles(boolean direct)
throws BPMIdentityException
direct - a boolean flag. If true, returns only directly managed roles, else all.BPMIdentityException - if error occurs
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||