public interface IWorkflowContext
extends java.io.Serializable
| Modifier and Type | Method and Description |
|---|---|
java.util.Locale |
getDisplayNameLocale()
getDisplayNameLocale returns the displayName
Locale value |
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 value |
java.lang.String |
getObjectId()
getObjectId returns the objectId that the context is associated with.
|
java.util.Properties |
getProperties()
Gets WorkflowContext property
|
java.lang.String |
getRequester()
Gets requester's user name, the name of authenticated user who requested this instance of
WorkflowContext. |
java.lang.String |
getSessionKey()
Gets workflow session key
|
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 |
getType()
Get workflow context type
|
java.lang.String |
getUser()
getUser returns the user name of the connected user
|
java.lang.String |
getUserDisplayName()
getUserDisplayName returns the user display name
|
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
|
boolean |
isOnBehalf()
Checks if context is on behalf of other user.
|
void |
setDisplayNameLocale(java.util.Locale locale)
setDisplayNameLocale sets the displayName
Locale value |
void |
setLocale(java.util.Locale locale)
setLocale sets the user's
Locale value |
void |
setTimeZone(java.util.TimeZone timeZone)
setTimeZone sets user's TimeZone
|
java.lang.String getUser()
java.lang.String getIdentityContext()
java.lang.String getUserDisplayName()
java.lang.String getToken()
java.lang.String getObjectId()
boolean getIsAdmin()
boolean isBusinessAdmin()
boolean isManager()
java.util.Locale getLocale()
Locale valueLocale The user's localevoid setLocale(java.util.Locale locale)
Locale valuejava.util.Locale getDisplayNameLocale()
Locale valueLocale a displayName locale valuevoid setDisplayNameLocale(java.util.Locale locale)
Locale valuejava.util.TimeZone getTimeZone()
void setTimeZone(java.util.TimeZone timeZone)
long getStartDateTime()
java.lang.String getRequester()
WorkflowContext. The access to workflow services APIs is denied if authenticated user propagated to server is not the requester.boolean isOnBehalf()
java.lang.String getType()
java.lang.String getSessionKey()
java.util.Properties getProperties()
Properties instance