Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


oracle.tip.pc.services.identity
Interface BPMUser

All Superinterfaces:
BPMIdentity, BPMPrincipal, java.security.Principal

public interface BPMUser
extends BPMIdentity

BPMUser interface defines BPEL Process Manager User


Method Summary
 java.lang.String getCountry()
          Gets user's location, country based on user's locale
 java.lang.String getFax()
          Gets fax number for this BPMUser It can return null if person does not have fax number.
 java.lang.String getFirstName()
          Gets first user name
 java.lang.String getHomePhone()
          Gets home phone number for this BPMUser
 java.lang.String getLanguage()
          Gets user's language based on user's locale
 java.lang.String getLanguagePreference()
          Gets user's language preference
 java.lang.String getLastName()
          Gets last name for this BPMUser
 java.util.Locale getLocale()
          Gets user's java locale, based on language preference.
 java.util.List getManagementChain()
          Gets chain of managers for this BPMUser.
 java.util.List getManagementChain(BPMUser upToUser)
          Gets chain of managers for this BPMUser up to given user.
 java.util.List getManagementChain(int max)
          Gets chain of managers for this BPMUser up given max amount of managers.
 java.util.List getManagementChain(int max, java.lang.String upToManagerName, java.lang.String upToTitle)
          Gets chain of managers for this BPMUser up to given manager title or manager name Method can return empty list if user does not have manager
 java.util.List getManagementChain(java.lang.String title)
          Gets chain of managers for this BPMUser up to given manager title.
 BPMUser getManager()
          Gets manager this BPMUser.
 java.lang.String getManagerName()
          Gets manager's name this BPMUser.
 java.lang.String getMiddleName()
          Gets middle name for this BPMUser
 java.lang.String getMobile()
          Gets mobile phone number for this BPMUser It can return null if person does not have mobile phone.
 java.util.List getNotificationPreferences()
          Gets list of preferences, Channel objects for notification.
 java.lang.String getPager()
          Gets pager number for this BPMUser It can return null if person does not have pager.
 java.util.List getReportees(int maxReporteeLevel)
          Gets reportees for the user up to given level in the hierarchical structure
 java.util.TimeZone getTimeZone()
          Gets user's time zone
 java.lang.String getTitle()
          Gets user's title
 java.lang.String getWorkPhone()
          Gets work phone number for this BPMUser

 

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

 

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

getFirstName

public java.lang.String getFirstName()
                              throws BPMIdentityException
Gets first user name
Returns:
String
Throws:
BPMIdentityException - if error occurs

getMiddleName

public java.lang.String getMiddleName()
                               throws BPMIdentityException
Gets middle name for this BPMUser
Returns:
String
Throws:
BPMIdentityException - if error occurs

getLastName

public java.lang.String getLastName()
                             throws BPMIdentityException
Gets last name for this BPMUser
Returns:
String
Throws:
BPMIdentityException - if error occurs

getWorkPhone

public java.lang.String getWorkPhone()
                              throws BPMIdentityException
Gets work phone number for this BPMUser
Returns:
work phone number or null
Throws:
BPMIdentityException - if error occurs

getHomePhone

public java.lang.String getHomePhone()
                              throws BPMIdentityException
Gets home phone number for this BPMUser
Returns:
home phone number or null
Throws:
BPMIdentityException - if error occurs

getMobile

public java.lang.String getMobile()
                           throws BPMIdentityException
Gets mobile phone number for this BPMUser It can return null if person does not have mobile phone.
Returns:
mobile phone number or null
Throws:
BPMIdentityException - if error occurs

getFax

public java.lang.String getFax()
                        throws BPMIdentityException
Gets fax number for this BPMUser It can return null if person does not have fax number.
Returns:
fax is a fax number or null
Throws:
BPMIdentityException - if error occurs

getPager

public java.lang.String getPager()
                          throws BPMIdentityException
Gets pager number for this BPMUser It can return null if person does not have pager.
Returns:
pager number or null
Throws:
BPMIdentityException - if error occurs

getManager

public BPMUser getManager()
                   throws BPMIdentityException,
                          BPMIdentityNotFoundException
Gets manager this BPMUser. It can return null object if person does not have a manager.
Returns:
BPMUser a mananer to this user.
Throws:
BPMIdentityNotFoundException - if manager is not found in system
BPMIdentityException - if error occurs

getManagerName

public java.lang.String getManagerName()
                                throws BPMIdentityException
Gets manager's name this BPMUser. It can return null object if person does not have a manager.
Returns:
name of a mananer to this user.
Throws:
BPMIdentityException - if error occurs

getReportees

public java.util.List getReportees(int maxReporteeLevel)
                            throws BPMIdentityException
Gets reportees for the user up to given level in the hierarchical structure
Parameters:
maxReporteeLevel - - reportees included into result up to maxReporteeLevel from the manager in hierarchical structure If level equals 1, method returns only one level of reportesfor the user; if level equals 2, method return only two levels of reportees for the user; if level equals 3, method returns only treee levels reportees for the user; etc; if 0 or any negative specify , it assumes all reportees
Returns:
List of reportees, BPMUsers.
Throws:
BPMIdentityException - if error occurs

getNotificationPreferences

public java.util.List getNotificationPreferences()
                                          throws BPMIdentityException
Gets list of preferences, Channel objects for notification. Each Channel in list has preference over next for given person List could be empty if no preferences were specified
Returns:
list of Channel
Throws:
BPMIdentityException - if error occurs

getLanguagePreference

public java.lang.String getLanguagePreference()
                                       throws BPMIdentityException
Gets user's language preference
Returns:
language preference
Throws:
BPMIdentityException - if error occurs

getLanguage

public java.lang.String getLanguage()
                             throws BPMIdentityException
Gets user's language based on user's locale
Returns:
language
Throws:
BPMIdentityException - if error occurs

getCountry

public java.lang.String getCountry()
                            throws BPMIdentityException
Gets user's location, country based on user's locale
Returns:
country
Throws:
BPMIdentityException - if error occurs

getLocale

public java.util.Locale getLocale()
                           throws BPMIdentityException
Gets user's java locale, based on language preference. if language preference isnot defined, default locale is returned
Returns:
Locale
Throws:
BPMIdentityException - if error occurs

getTimeZone

public java.util.TimeZone getTimeZone()
                               throws BPMIdentityException
Gets user's time zone
Returns:
time zone
Throws:
BPMIdentityException - if error occurs

getTitle

public java.lang.String getTitle()
                          throws BPMIdentityException
Gets user's title
Returns:
title
Throws:
BPMIdentityException - if error occurs

getManagementChain

public java.util.List getManagementChain()
                                  throws BPMIdentityException
Gets chain of managers for this BPMUser. Method can return empty list if the user does not have manager
Returns:
List of BPMUser objects which composing manager chain for this person.
Throws:
BPMIdentityException - if error occurs

getManagementChain

public java.util.List getManagementChain(int max)
                                  throws BPMIdentityException
Gets chain of managers for this BPMUser up given max amount of managers. Method can return empty list if user does not have manager or less then given max amount if person does not have more managers obove him in his hierarchical structure
Parameters:
max - a maximum anount of managers to look up in management chain
Returns:
List of BPMUser objects which composing manager chain for this person
Throws:
BPMIdentityException - if error occurs

getManagementChain

public java.util.List getManagementChain(java.lang.String title)
                                  throws BPMIdentityException,
                                         BPMIdentityNotFoundException
Gets chain of managers for this BPMUser up to given manager title. Method can return empty list if user does not have manager
Parameters:
title - a manager title
Returns:
List of BPMUser objects which composing manager chain for this person from company hierarchical structure
Throws:
BPMIdentityNotFoundException - if no manager with specified title is found for this person from hierarchical organization structure
BPMIdentityException - if error occurs

getManagementChain

public java.util.List getManagementChain(BPMUser upToUser)
                                  throws BPMIdentityException,
                                         BPMIdentityNotFoundException
Gets chain of managers for this BPMUser up to given user. Method can return empty list if user does not have manager or upToUser is the same user
Parameters:
upToUser - is a last user included into the manangent chain result
Returns:
List of BPMUser objects which composing manager chain for this person from company hierarchical structure
Throws:
BPMIdentityNotFoundException - if no manager with specified upToUser BPMUser is found for this person from hierarchical organization structure
BPMIdentityException - if error occurs

getManagementChain

public java.util.List getManagementChain(int max,
                                         java.lang.String upToManagerName,
                                         java.lang.String upToTitle)
                                  throws BPMIdentityException,
                                         BPMIdentityNotFoundException
Gets chain of managers for this BPMUser up to given manager title or manager name Method can return empty list if user does not have manager
Parameters:
max - a maximum anount of managers to look up in management chain
upToManagerName - a manager name
upToTitle - a manager title
Returns:
List of BPMUser objects which composing manager chain for this person from company hierarchical structure throws BPMIdentityNotFoundException if no manager with specified title or with specified upToUser BPMUser is found for this person from hierarchical organization structure
Throws:
BPMIdentityException - if error occurs
BPMIdentityNotFoundException

Skip navigation links

Oracle BPEL Process Manager
Workflow Services API Reference
10g Release 3 (10.1.3)
B28985-02


Copyright © 2006, Oracle. All rights reserved.