Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


oracle.tip.pc.services.identity
Interface BPMRole

All Superinterfaces:
BPMIdentity, BPMPrincipal, java.security.Principal
All Known Subinterfaces:
BPMAppRole, BPMGroup

public interface BPMRole
extends BPMIdentity

BPMRole interface defines BPEL Process Manager Role


Method Summary
 java.util.Set getActions()
          Gets all actions associated with the role
 java.util.List getAllParticipants(boolean direct)
          Gets all participants, the grantees either roles or users
 java.util.List getParticipants(boolean direct)
          Gets user participants
 java.util.List getParticipants(RoleClassifier roleType, boolean direct)
          Gets role participants , role grantees

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMIdentity
getAppRoles, getEmail, getGroups, getRoles, isInRole, isInRole

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMPrincipal
getAttribute, getAttributes, getDescription, getDisplayName, getFullName, getGuid

 

Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString

 

Method Detail

getActions

public java.util.Set getActions()
Gets all actions associated with the role
Specified by:
getActions in interface BPMIdentity
Returns:
Set of actions

getParticipants

public java.util.List getParticipants(boolean direct)
                               throws BPMIdentityException
Gets user participants
Parameters:
direct - a boolean flag. If true method return direct participans, else direct and indirect.
Returns:
List of user objects, a List of BPMUser objects
Throws:
BPMIdentityException - if error occurs

getParticipants

public java.util.List getParticipants(RoleClassifier roleType,
                                      boolean direct)
                               throws BPMIdentityException
Gets role participants , role grantees
Parameters:
roleType - a role classifier
direct - a boolean flag, if true method returns direct roles, else direct and inderect
Returns:
List of role participants. List of a BPMRole objects
Throws:
BPMIdentityException

getAllParticipants

public java.util.List getAllParticipants(boolean direct)
                                  throws BPMIdentityException
Gets all participants, the grantees either roles or users
Parameters:
direct - a boolean flag, if true return direct grantee, else indirect and direct
Returns:
List of all participants, List of a BPMIdentity objects
Throws:
BPMIdentityException

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 2 (10.1.2)
B25708-01


Copyright © 2005, Oracle. All rights reserved.