|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BPMUser
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.util.Set<BPMPosition> |
getGrantedPositions() Gets positions assigned to the user. |
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() Deprecated. since 11. The method returns empty list. |
java.lang.String |
getPager() Gets pager number for this BPMUser It can return null if person does not have pager. |
java.security.PermissionCollection |
getPermissions() Gets the permissions associated with the User |
java.security.PermissionCollection |
getPermissions(java.lang.String appId) Gets the permissions associated with the User for a given application |
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 |
boolean |
hasPermission(java.security.Permission perm, java.lang.String appId) Checks whether the user has specify permission |
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 |
---|
java.lang.String getFirstName() throws BPMIdentityException
BPMIdentityException
- if error occursjava.lang.String getMiddleName() throws BPMIdentityException
BPMUser
BPMIdentityException
- if error occursjava.lang.String getLastName() throws BPMIdentityException
BPMUser
BPMIdentityException
- if error occursjava.lang.String getWorkPhone() throws BPMIdentityException
BPMUser
BPMIdentityException
- if error occursjava.lang.String getHomePhone() throws BPMIdentityException
BPMUser
BPMIdentityException
- if error occursjava.lang.String getMobile() throws BPMIdentityException
BPMUser
It can return null if person does not have mobile phone.BPMIdentityException
- if error occursjava.lang.String getFax() throws BPMIdentityException
BPMUser
It can return null if person does not have fax number.BPMIdentityException
- if error occursjava.lang.String getPager() throws BPMIdentityException
BPMUser
It can return null if person does not have pager.BPMIdentityException
- if error occursBPMUser getManager() throws BPMIdentityException, BPMIdentityNotFoundException
BPMUser
. It can return null object if person does not have a manager.BPMUser
a mananer to this user.BPMIdentityNotFoundException
- if manager is not found in systemBPMIdentityException
- if error occursjava.lang.String getManagerName() throws BPMIdentityException
BPMUser
. It can return null object if person does not have a manager.BPMIdentityException
- if error occursjava.util.List getReportees(int maxReporteeLevel) throws BPMIdentityException
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 reporteesList
of reportees, BPMUser
s.BPMIdentityException
- if error occursjava.util.List getNotificationPreferences() throws BPMIdentityException
Channel
objects for notification. Each Channel in list has preference over next for given person List could be empty if no preferences were specifiedBPMIdentityException
- if error occursjava.lang.String getLanguagePreference() throws BPMIdentityException
BPMIdentityException
- if error occursjava.lang.String getLanguage() throws BPMIdentityException
BPMIdentityException
- if error occursjava.lang.String getCountry() throws BPMIdentityException
BPMIdentityException
- if error occursjava.util.Locale getLocale() throws BPMIdentityException
BPMIdentityException
- if error occursjava.util.TimeZone getTimeZone() throws BPMIdentityException
BPMIdentityException
- if error occursjava.lang.String getTitle() throws BPMIdentityException
BPMIdentityException
- if error occursjava.util.List getManagementChain() throws BPMIdentityException
BPMUser
. Method can return empty list if the user does not have managerBPMUser
objects which composing manager chain for this person.BPMIdentityException
- if error occursjava.util.List getManagementChain(int max) throws BPMIdentityException
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 structuremax
- a maximum anount of managers to look up in management chain If this is 0, then an empty list is returned. If it is negative, then the chain till the top of the hierarchy is returned.BPMUser
objects which composing manager chain for this personBPMIdentityException
- if error occursjava.util.List getManagementChain(java.lang.String title) throws BPMIdentityException, BPMIdentityNotFoundException
BPMUser
up to given manager title. Method can return empty list if user does not have managertitle
- a manager title. If this is the same as the title of the current user, then an empty list is returned. Otherwise, the chain till this specified user is returned.BPMUser
objects which composing manager chain for this person from company hierarchical structureBPMIdentityNotFoundException
- if no manager with specified title is found for this person from hierarchical organization structureBPMIdentityException
- if error occursjava.util.List getManagementChain(BPMUser upToUser) throws BPMIdentityException, BPMIdentityNotFoundException
BPMUser
up to given user. Method can return empty list if user does not have manager or upToUser is the same userupToUser
- is a last user included into the manangent chain result. If this is the same as the current user, then an empty list is returned. Otherwise, the chain till this specified user is returned.BPMUser
objects which composing manager chain for this person from company hierarchical structureBPMIdentityNotFoundException
- if no manager with specified upToUser BPMUser
is found for this person from hierarchical organization structureBPMIdentityException
- if error occursjava.util.List getManagementChain(int max, java.lang.String upToManagerName, java.lang.String upToTitle) throws BPMIdentityException, BPMIdentityNotFoundException
BPMUser
up to given manager title or manager name Method can return empty list if user does not have managermax
- a maximum anount of managers to look up in management chain If this is 0, then an empty list is returned. If it is negative, then the chain till the top of the hierarchy is returned. Otherwise, the chain till this specified limit is returned.upToManagerName
- a manager name. If this is the same as the name of the current user, an empty list is returned.upToTitle
- a manager title. If this is the same as the title of the current user, then an empty list is returned. Otherwise, the chain till this specified user is returned.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 structureBPMIdentityException
- if error occursBPMIdentityNotFoundException
boolean hasPermission(java.security.Permission perm, java.lang.String appId) throws BPMIdentityException
perm
- a Permission objectappId
- a application IdBPMIdentityException
- if error occursjava.security.PermissionCollection getPermissions() throws BPMIdentityException
BPMIdentityException
- if error occursjava.security.PermissionCollection getPermissions(java.lang.String appId) throws BPMIdentityException
appId
- a application IdBPMIdentityException
- if error occursjava.util.Set<BPMPosition> getGrantedPositions() throws BPMIdentityException
BPMIdentityException
- if error occurs
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |