|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 3 (10.1.3) B28985-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
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()Gets list of Actions which this BPMIndentity has. |
java.util.List |
getAppRoles(boolean direct)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.List |
getGroups(boolean direct)Gets list of all BPMGroup objects which this BPMIndentity has been granted. |
java.util.Set |
getOwnedRoles(boolean direct)Gets all roles owned by this identity. |
java.util.List |
getRoles(RoleClassifier roleType, boolean direct)Gets list of all BPMRoles which this BPMIndentity has |
boolean |
isInRole(BPMRole role)Defines whether the BPMIdentity belongs to given BPMRole |
boolean |
isInRole(java.lang.String roleName)Defines whether the BPMIdentity belongs to given BPMGroup name |
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, getFullName, getGuid, getRealmName, toNode |
| Methods inherited from interface java.security.Principal |
equals, getName, hashCode, toString |
| Method Detail |
public java.lang.String getEmail()
throws BPMIdentityException
BPMIdentity.BPMIdentityException - If exception condition occurs.BPMIdentityException
public 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
public boolean isInRole(java.lang.String roleName)
throws BPMIdentityException,
BPMIdentityNotFoundException
BPMGroup nameBPMIdentityNotFoundException - If the group could not be found.BPMIdentityException - If exception condition occurs.BPMIdentityExceptionBPMIdentityNotFoundException
public 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
public java.util.List getRoles(RoleClassifier roleType,
boolean direct)
throws BPMIdentityException
BPMRoles 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
public 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
public 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
public java.util.Set getActions()
throws BPMIdentityException
Actions which this BPMIndentity has.List of ActionsBPMIdentityException - If exception condition occurs.BPMIdentityException
public 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.
public boolean isOwner(BPMRole role)
throws BPMIdentityException
role - a BPMRoleBPMIdentityException - If exception condition occurs.
|
Oracle BPEL Process Manager Workflow Services API Reference 10g Release 3 (10.1.3) B28985-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Copyright © 2006, Oracle. All rights reserved.