Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.5.0)
E10660-05


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 getGrantees(boolean direct)
          Gets all participants, the grantees either roles or users
 java.util.List<BPMIdentity> getManagers(boolean direct)
          Gets a List of managers for the group.
 java.util.Set getOwners(boolean direct)
          Gets role owners
 java.util.List getParticipants(boolean direct)
          Gets user participants
 boolean isOwneredBy(BPMUser user)
          Check whether the role owned by BPMUser

 

Methods inherited from interface oracle.tip.pc.services.identity.BPMIdentity
getActions, getAppRoles, getAppRoles, getEmail, getGrantedRoles, getGrantedRoles, getGroups, getIdentityType, getManagedRoles, getOwnedRoles, getRoles, isInRole, isInRole, isOwner

 

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

getParticipants

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

getGrantees

java.util.Set getGrantees(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 - if error occurs

getOwners

java.util.Set getOwners(boolean direct)
                        throws BPMIdentityException
Gets role owners
Parameters:
direct - a boolean flag. If true, returns direct onwers, else all onwers
Returns:
List of BPMPrincipal objects who ownes the role
Throws:
BPMIdentityException - if error occurs

isOwneredBy

boolean isOwneredBy(BPMUser user)
                    throws BPMIdentityException
Check whether the role owned by BPMUser
Parameters:
user - a BPMUser object
Returns:
boolean true, if user owns the role, else false
Throws:
BPMIdentityException - if error occurs

getManagers

java.util.List<BPMIdentity> getManagers(boolean direct)
                                        throws BPMIdentityException
Gets a List of managers for the group.
Parameters:
direct - a boolean flag. If true, returns direct managers, else all managers
Returns:
List of BPMIdentity objects who are the managers of thi role
Throws:
BPMIdentityException - if error occurs

Skip navigation links

Oracle Fusion Middleware
Workflow Services Java API Reference for Oracle SOA Suite
11g Release 1 (11.1.1.5.0)
E10660-05


Copyright © 2009, 2011, Oracle and/or its affiliates. All rights reserved.