|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1.7) E10660-11 |
||||||||
| 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 |
isInAppRole(java.lang.String appRoleName,
java.lang.String appId)
Defines whether the BPMIdentity belongs to given Application Role. |
boolean |
isInGroup(java.lang.String groupName)
Defines whether the BPMIdentity belongs to given Group. |
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) Or (String groupName) 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
BPMRole
role - 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 isInGroup(java.lang.String groupName)
throws BPMIdentityException
groupName - The group against which the check is to be made.
BPMIdentityException - If exception condition occurs
BPMIdentityException
boolean isInAppRole(java.lang.String appRoleName,
java.lang.String appId)
throws BPMIdentityException
appRoleName - The AppRole against which the check is to be made.appId - application Id
BPMIdentityException - If exception condition occurs
BPMIdentityException
boolean isInRole(java.lang.String groupName)
throws BPMIdentityException,
BPMIdentityNotFoundException
isInRole(BPMRole) Or (String groupName) instead
BPMGroup name
groupName - is a BPMGroup name
BPMIdentityNotFoundException - If the group could not be found.
BPMIdentityException - If exception condition occurs.
BPMIdentityException
BPMIdentityNotFoundException
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 roles
List of granted BPMRoles objects which this
BPMIndentity has
BPMIdentityException - 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 Name
List of granted BPMRoles objects which this
BPMIndentity has
BPMIdentityException - If exception condition occurs.
BPMIdentityException
java.util.List getRoles(RoleClassifier roleType,
boolean direct)
throws BPMIdentityException
getGrantedRoles(boolean) instead
BPMRoles which this BPMIndentity has
roleType - a role classifierdirect - a boolean if true method returns only direct granted roles, else all roles
List of granted BPMRoles objects which this
BPMIndentity has
BPMIdentityException - 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 groups
List of BPMGroups objects which this
BPMIndentity belongs
BPMIdentityException - If exception condition occurs.
BPMIdentityException
java.util.Set getGrantedRoles(boolean direct)
throws BPMIdentityException
BPMRole objects which the BPMIndentity has been granted
direct - is a boolean flag. If is true the method returns only direct granted roles, else all
Set of BPMRole objects which are graned to given identity
BPMIdentityException - If exception condition occurs.
BPMIdentityException
java.util.Set getGrantedRoles(boolean direct,
java.lang.String appName)
throws BPMIdentityException
BPMRole objects which the BPMIndentity has been granted
direct - is a boolean flag. If is true the method returns only direct granted roles, else allappName - a application Name
Set of BPMRole objects which are graned to given identity
BPMIdentityException - If exception condition occurs.
BPMIdentityException
java.util.Set getActions()
throws BPMIdentityException
BPMUser.hasPermission(Permission, String) for user object
Actions which this BPMIndentity has.
- Returns:
List of Actions
- Throws:
BPMIdentityException - 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 rolse
BPMIdentityException - If exception condition occurs.
boolean isOwner(BPMRole role)
throws BPMIdentityException
role - a BPMRole
BPMIdentityException - 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.7) E10660-11 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||