|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IWorkflowContext
IWorkflowContext is the public interface for a Workflow Context object. It is usually created on behalf of a user after verifying the credentials with the identity authentication service. It can also be created on behalf of a process or business application for a specific task object. The Workflow Context contains the security token and other information associated with the user [such as locale, timezone etc.] / object [id]. Every operation performed on the Workflow Service requires a user's credential or a security token that denotes a Workflow Context
| Method Summary | |
|---|---|
java.lang.String |
getIdentityContext()getIdentityContext returns the identity context (typically realm) of the connected user |
boolean |
getIsAdmin()getIsAdmin returns a boolean denoting admin privilege of connected user |
java.util.Locale |
getLocale()getLocale returns the user's Locale |
java.lang.String |
getObjectId()getObjectId returns the objectId that the context is associated with. |
long |
getStartDateTime()Gets the time the context is created |
java.util.TimeZone |
getTimeZone()getTimeZone returns the user's TimeZone |
java.lang.String |
getToken()getToken returns the token if the user is authenticated |
java.lang.String |
getUser()getUser returns the user name of the connected user |
boolean |
isBusinessAdmin()Returns a boolean denoting business admin privilege of connected user User has business previlege if WorkflowPermition with name "workflow.admin.business" has been granted to the user. |
boolean |
isManager()Returns a boolean true, if user has at least one reportee |
void |
setLocale(java.util.Locale locale)setLocale sets the user's Locale |
void |
setTimeZone(java.util.TimeZone timeZone)setTimeZone sets user's TimeZone |
| Method Detail |
|---|
java.lang.String getUser()
java.lang.String getIdentityContext()
java.lang.String getToken()
java.lang.String getObjectId()
boolean getIsAdmin()
boolean isBusinessAdmin()
boolean isManager()
java.util.Locale getLocale()
void setLocale(java.util.Locale locale)
java.util.TimeZone getTimeZone()
void setTimeZone(java.util.TimeZone timeZone)
long getStartDateTime()
|
Oracle Fusion Middleware Workflow Services Java API Reference for Oracle SOA Suite 11g Release 1 (11.1.1) E10660-03 |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||