|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.task.clientmodel.bean.TaskInstanceBean
public class TaskInstanceBean
Accesses the properties of the original Task
object and adds metadata
for national language support and converters.
A task instance represents a piece of work. It contains all data necessary to perform the task. For example, a task that is associated with a group of potential owners allows a person that belongs to the group to claim the task, work on the task, and to complete the task.
A TaskInstanceBean
object can be instantiated from a
QueryResultSet
object or from a Task
object.
If the bean was instantiated from an original object returned by the Human
Task Manager API, all properties are loaded. If the bean is instantiated from
a query, the following properties are loaded from the query result set:
ID
activationTime
applicationDefaultsID
applicationName
workBasketName
assignmentType
invokedInstanceType
autoDeletionMode
businessRelevant
completionTime
containmentContextID
contextAuthorizationOfOwner
dueTime
deletionTime
escalatedUpdateable
expirationTime
firstActivationTime
followOnTaskID
positionInHierarchy
adHoc
escalated
child
read
inheritedAuthorization
inline
waitingForSubTask
kind
lastModificationTime
lastStateChangeTime
name
namespace
definitionName
definitionNamespace
originator
owner
parentContextID
invokedInstanceID
priority
startTime
starter
state
substitutionPolicy
supportsAutomaticClaim
supportsClaimIfSuspended
supportsDelegation
supportsSubTasks
supportsFollowOnTasks
suspended
taskTemplateID
topLevelTaskID
type
taskTemplateName
Use the static method getLabel(String, Locale)
to
retrieve the localized label for a property. Use the static method
getConverter(String)
to retrieve a converter for a
property. The return value might be null, as converters are optional.
Task
,
QueryResultSet
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ACTIVATIONTIME_PROPERTY
Use the property name to determine labels and converters for the activationTime property. |
static java.lang.String |
ADHOC_PROPERTY
Use the property name to determine labels and converters for the property adHoc. |
static java.lang.String |
APPLICATIONNAME_PROPERTY
Use the property name to determine labels and converters for the applicationName property. |
static java.lang.String |
ASSIGNMENTTYPE_PROPERTY
Use the property name to determine labels and converters for the assignmentType property. |
static java.lang.String |
AUTODELETIONMODE_PROPERTY
Use the property name to determine labels and converters for the autoDeletionMode property. |
static java.lang.String |
BUSINESSRELEVANT_PROPERTY
Use the property name to determine labels and converters for the businessRelevant property. |
static java.lang.String |
CHILD_PROPERTY
Use the property name to determine labels and converters for the child property. |
static java.lang.String |
COMPLETIONTIME_PROPERTY
Use the property name to determine labels and converters for the completionTime property. |
static java.lang.String |
CONTAINMENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the containmentContextID property. |
static java.lang.String |
COPYRIGHT
(C) Copyright IBM Corporation 2004, 2009. |
static java.lang.String |
CUSTOMPROPERTY_PROPERTY
Use the property name to determine labels and converters for the customProperty property. |
static java.lang.String |
DELETIONTIME_PROPERTY
Use the property name to determine labels and converters for the deletionTime property. |
static java.lang.String |
DESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the description property. |
static java.lang.String |
DISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the displayName property. |
static java.lang.String |
DUETIME_PROPERTY
Use the property name to determine labels and converters for the property dueTime. |
static java.lang.String |
DURATIONUNTILDUE_PROPERTY
Use the property name to determine converter for the durationUntilDue property. |
static java.lang.String |
DURATIONUNTILEXPIRES_PROPERTY
Use the property name to determine converter for the durationUntilExpires property. |
static java.lang.String |
ESCALATED_PROPERTY
Use the property name to determine labels and converters for the escalated property. |
static java.lang.String |
ESCALATEDUPDATEABLE_PROPERTY
Use the property name to determine labels and converters for the escalatedUpdateable property. |
static java.lang.String |
EXPIRATIONTIME_PROPERTY
Use the property name to determine labels and converters for the expirationTime property. |
static java.lang.String |
FIRSTACTIVATIONTIME_PROPERTY
Use the property name to determine labels and converters for the firstActivationTime property. |
static java.lang.String |
ID_PROPERTY
Use the property name to determine labels and converters for the ID property. |
static java.lang.String |
INHERITEDAUTHORIZATION_PROPERTY
Use the property name to determine labels and converters for the inheritedAuthorization property. |
static java.lang.String |
INLINE_PROPERTY
Use the property name to determine labels and converters for the property inline. |
static java.lang.String |
INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the inputMessageTypeName property. |
static java.lang.String |
INVOKEDINSTANCEID_PROPERTY
Use the property name to determine labels and converters for the invokedInstanceID property. |
static java.lang.String |
INVOKEDINSTANCETYPE_PROPERTY
Use the property name to determine labels and converters for the invokedInstanceType property. |
static java.lang.String |
KIND_PROPERTY
Use the property name to determine labels and converters for the kind property. |
static java.lang.String |
LASTMODIFICATIONTIME_PROPERTY
Use the property name to determine labels and converters for the lastModificationTime property. |
static java.lang.String |
LASTSTATECHANGETIME_PROPERTY
Use the property name to determine labels and converters for the lastStateChangeTime property. |
static java.lang.String |
NAME_PROPERTY
Use the property name to determine labels and converters for the name property. |
static java.lang.String |
NAMESPACE_PROPERTY
Use the property name to determine labels and converters for the property namespace. |
static java.lang.String |
ORIGINATOR_PROPERTY
Use the property name to determine labels and converters for the originator property. |
static java.lang.String |
OUTPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the outputMessageTypeName property. |
static java.lang.String |
OWNER_PROPERTY
Use the property name to determine labels and converters for the owner property. |
static java.lang.String |
PARENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the parentContextID property. |
static java.lang.String |
POSITIONINHIERARCHY_PROPERTY
Use the property name to determine labels and converters for the property positionInHierarchy. |
static java.lang.String |
PRIORITY_PROPERTY
Use the property name to determine labels and converters for the priority property. |
static java.lang.String |
READ_PROPERTY
Use the property name to determine labels and converters for the read property. |
static java.lang.String |
RESUMPTIONTIME_PROPERTY
Use the property name to determine labels and converters for the property resumptionTime. |
static java.lang.String |
STARTER_PROPERTY
Use the property name to determine labels and converters for the property starter. |
static java.lang.String |
STARTTIME_PROPERTY
Use the property name to determine labels and converters for the startTime property. |
static java.lang.String |
STATE_PROPERTY
Use the property name to determine labels and converters for the state property. |
static java.lang.String |
SUBSTITUTIONPOLICY_PROPERTY
Use the property name to determine labels and converters for the substitutionPolicy property. |
static java.lang.String |
SUPPORTSAUTOMATICCLAIM_PROPERTY
Use the property name to determine labels and converters for the property automaticClaim. |
static java.lang.String |
SUPPORTSCLAIMIFSUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property supportsClaimIfSuspended. |
static java.lang.String |
SUPPORTSDELEGATION_PROPERTY
Use the property name to determine labels and converters for the property supportsDelegation. |
static java.lang.String |
SUPPORTSFOLLOWONTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsFollowOnTasks. |
static java.lang.String |
SUPPORTSSUBTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsSubTasks. |
static java.lang.String |
SUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property suspended. |
static java.lang.String |
TASKTEMPLATEDISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the property task template display name. |
static java.lang.String |
TASKTEMPLATENAME_PROPERTY
Use the property name to determine labels and converters for the property task template name. |
static java.lang.String |
TYPE_PROPERTY
Use the property name to determine labels and converters for type. |
static java.lang.String |
WAITINGFORSUBTASK_PROPERTY
Use the property name to determine labels and converters for the property waitingForSubTask. |
static java.lang.String |
WORKBASKETNAME_PROPERTY
Use the property name to determine labels and converters for the workBasketName property. |
Constructor Summary | |
---|---|
TaskInstanceBean(QueryResultSet resultSet,
HTMConnection htmConnection)
Constructs a new TaskInstanceBean from a
QueryResultSet . |
|
TaskInstanceBean(QueryResultSet resultSet,
HTMConnection htmConnection,
java.util.Locale locale)
Constructs a new TaskInstanceBean from a QueryResultSet . |
|
TaskInstanceBean(QueryResultSet resultSet,
java.lang.String taskDataViewName,
HTMConnection htmConnection)
Constructs a new TaskInstanceBean from a QueryResultSet . |
|
TaskInstanceBean(QueryResultSet resultSet,
java.lang.String taskDataViewName,
HTMConnection htmConnection,
java.util.Locale locale)
Constructs a new TaskInstanceBean from a
QueryResultSet . |
|
TaskInstanceBean(Task task,
HTMConnection htmConnection)
Constructs a TaskInstanceBean from an original Task
object. |
Method Summary | |
---|---|
MessageWrapper |
createOutputMessageWrapper()
Creates an initial empty output message. |
java.util.Calendar |
getActivationTime()
Returns the property activationTime . |
ACOID |
getApplicationDefaultsID()
Returns the property applicationDefaultsID . |
java.lang.String |
getApplicationName()
Returns the name of the application the task is part of. |
int |
getAssignmentType()
Returns the property assignmentType . |
int |
getAutoDeletionMode()
Returns the property autoDeletionMode . |
java.lang.String |
getCalendarName()
Returns the property calendarName . |
java.util.Calendar |
getCompletionTime()
Returns the property completionTime . |
OID |
getContainmentContextID()
Returns the property containmentContextID . |
int |
getContextAuthorizationOfOwner()
Returns the property contextAuthorizationOfOwner . |
static SimpleConverter |
getConverter(java.lang.String propertyName)
Returns the default converter for a given property. |
java.lang.String |
getDefinitionName()
Returns the property definition name . |
java.lang.String |
getDefinitionNamespace()
Returns the property definition namespace . |
java.util.Calendar |
getDeletionTime()
Returns the property deletionTime . |
com.ibm.bpc.clientcore.util.LocalisedString |
getDescription()
Returns the localised description. |
java.lang.String |
getDescription(java.util.Locale locale)
Returns the property description . |
com.ibm.bpc.clientcore.util.LocalisedString |
getDisplayName()
Returns the localised display name. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the property displayName . |
java.util.Calendar |
getDueTime()
Returns the property dueTime . |
java.lang.String |
getDurationUntilDeleted()
Returns the property durationUntilDeleted . |
java.lang.String |
getDurationUntilDue()
Returns the property durationUntilDue . |
java.lang.String |
getDurationUntilExpires()
Returns the property durationUntilExpires . |
java.lang.String |
getEventHandlerName()
Returns the property eventHandlerName . |
java.util.Calendar |
getExpirationTime()
Returns the property expirationTime . |
MessageWrapper |
getFaultMessageWrapper()
Retrieves the fault message. |
java.util.Calendar |
getFirstActivationTime()
Returns the property firstActivationTime . |
TKIID |
getFollowOnTaskID()
Returns the property followOnTaskID . |
protected HTMConnection |
getHTMConnection()
|
TKIID |
getID()
Returns the property ID . |
int |
getInheritedAuthorization()
Returns the property inheritedAuthorization . |
java.lang.String |
getInputMessageTypeName()
Returns the property inputMessageTypeName . |
MessageWrapper |
getInputMessageWrapper()
Retrieves the input message. |
OID |
getInvokedInstanceID()
Returns the property invokedInstanceID . |
int |
getInvokedInstanceType()
Returns the property invokedInstanceType . |
java.lang.String |
getJNDINameOfCalendar()
Returns the property JNDINameOfCalendar . |
java.lang.String |
getJNDINameOfStaffPluginProvider()
Returns the property JNDINameOfStaffPluginProvider . |
int |
getKind()
Returns the property kind . |
static java.lang.String |
getLabel(java.lang.String propertyName)
Returns the resource bundle key for a property |
static java.lang.String |
getLabel(java.lang.String propertyName,
java.util.Locale locale)
Returns the label for a property from the resource bundle. |
java.util.Calendar |
getLastModificationTime()
Returns the property lastModificationTime . |
java.util.Calendar |
getLastStateChangeTime()
Returns the property lastStateChangeTime . |
java.util.List |
getLocalesOfDescriptions()
Returns the property localesOfDescriptions . |
java.util.List |
getLocalesOfDisplayNames()
Returns the property localesOfDisplayNames . |
java.lang.String |
getName()
Returns the property name . |
java.lang.String |
getNamespace()
Returns the property namespace . |
protected Task |
getOriginal()
|
java.lang.String |
getOriginator()
Returns the property originator . |
java.lang.String |
getOutputMessageTypeName()
Returns the property outputMessageTypeName . |
MessageWrapper |
getOutputMessageWrapper()
Retrieves the output message. |
java.lang.String |
getOwner()
Returns the property owner . |
OID |
getParentContextID()
Returns the property parentContextID . |
int |
getPositionInHierarchy()
Returns the property positionInHierarchy . |
java.lang.Integer |
getPriority()
Returns the property priority . |
java.util.Calendar |
getResumptionTime()
Returns the property resumptionTime . |
java.lang.String |
getStarter()
Returns the property starter . |
java.util.Calendar |
getStartTime()
Returns the property startTime . |
int |
getState()
Returns the property state . |
int |
getSubstitutionPolicy()
Returns the property substitutionPolicy . |
TKTID |
getTaskTemplateID()
Returns the property taskTemplateID . |
java.lang.String |
getTaskTemplateName()
Returns the property taskTemplateName . |
TKIID |
getTopLevelTaskID()
Returns the property topLevelTaskID . |
java.lang.String |
getType()
Returns the property type . |
java.lang.String |
getWorkBasketName()
Returns the property workBasketName . |
boolean |
isAdHoc()
Returns the property adHoc . |
boolean |
isBusinessRelevanceUpdateable()
Signals whether the business relevance property can be changed for the kind and current state of the object. |
boolean |
isBusinessRelevant()
Returns the property businessRelevant . |
boolean |
isChild()
Returns the property isChild . |
boolean |
isContextAuthorizationOfOwnerUpdateable()
Signals whether the context authorization property can be changed for the kind and current state of the object. |
boolean |
isDeletionTimeUpdateable()
Signals whether the deletion time property can be changed for the kind and current state of the object. |
boolean |
isDescriptionUpdateable()
Signals whether the description property can be changed for the kind and current state of the object. |
boolean |
isDisplayNameUpdateable()
Signals whether the display name property can be changed for the kind and current state of the object. |
boolean |
isDueTimeUpdateable()
Signals whether the due time property can be changed for the kind and current state of the object. |
boolean |
isDurationUntilDeletedUpdateable()
Signals whether the duration until deleted property can be changed for the kind and current state of the object. |
boolean |
isDurationUntilDueUpdateable()
Signals whether the duration until due property can be changed for the kind and current state of the object. |
boolean |
isDurationUntilExpiresUpdateable()
Signals whether the duration until expires property can be changed for the kind and current state of the object. |
boolean |
isEscalated()
Returns the property escalated . |
boolean |
isEscalatedUpdateable()
Returns the property escalatedUpdateable() . |
boolean |
isEventHandlerNameUpdateable()
Signals whether the event handler name property can be changed for the kind and current state of the object. |
boolean |
isExpirationTimeUpdateable()
Signals whether the expiration time property can be changed for the kind and current state of the object. |
boolean |
isInline()
Returns the property inline . |
boolean |
isNamespaceUpdateable()
Signals whether the namespace property can be changed for the kind and current state of the object. |
boolean |
isNameUpdateable()
Signals whether the name property can be changed for the kind and current state of the object. |
boolean |
isParentContextIDUpdateable()
Signals whether the parent context i d property can be changed for the kind and current state of the object. |
boolean |
isPriorityUpdateable()
Signals whether the priority property can be changed for the kind and current state of the object. |
boolean |
isRead()
Returns the property isRead . |
boolean |
isReadUpdateable()
Returns the property readUpdateable() . |
boolean |
isSupportsAutomaticClaim()
Returns the property supportsAutomaticClaim . |
boolean |
isSupportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended . |
boolean |
isSupportsClaimIfSuspendedUpdateable()
Signals whether the supports claim suspended property can be changed for the kind and current state of the object. |
boolean |
isSupportsDelegation()
Returns the property supportsDelegation . |
boolean |
isSupportsDelegationUpdateable()
Signals whether the supports delegation property can be changed for the kind and current state of the object. |
boolean |
isSupportsFollowOnTasks()
Returns the property supportsFollowOnTasks . |
boolean |
isSupportsFollowOnTasksUpdateable()
Signals whether the supports follow on task property can be changed for the kind and current state of the object. |
boolean |
isSupportsSubTasks()
Returns the property supportsSubTasks . |
boolean |
isSupportsSubTasksUpdateable()
Signals whether the supports sub task property can be changed for the kind and current state of the object. |
boolean |
isSuspended()
Returns the property suspended . |
boolean |
isTransferredToWorkBasket()
Returns the property isTransferrredToWorkBasket . |
boolean |
isTypeUpdateable()
Signals whether the type property can be changed for the kind and current state of the object. |
static boolean |
isValid(java.lang.String propertyName)
Checks if the property is valid. |
boolean |
isWaitingForSubTask()
Returns the property waitingForSubTask . |
boolean |
isWorkBasketNameUpdateable()
Signals whether the work basket name property can be changed for the kind and current state of the object. |
void |
setApplicationName(java.lang.String newApplicationName)
|
void |
setBusinessRelevance(boolean arg0)
Sets the property businessRelevance . |
void |
setChild(boolean childState)
Sets the property child . |
void |
setContextAuthorizationOfOwner(int arg0)
Sets the property contextAuthorizationOfOwner . |
void |
setDeletionTime(java.util.Calendar arg0)
Sets the property deletionTime . |
void |
setDescription(java.lang.String arg0,
java.util.Locale arg1)
Sets the property description . |
void |
setDisplayName(java.lang.String arg0,
java.util.Locale arg1)
Sets the property displayName . |
void |
setDueTime(java.util.Calendar arg0)
Sets the property dueTime . |
void |
setDurationUntilDeleted(java.lang.String arg0)
Sets the property durationUntilDeleted . |
void |
setDurationUntilDue(java.lang.String arg0)
Sets the property durationUntilDue . |
void |
setDurationUntilExpires(java.lang.String arg0)
Sets the property durationUntilExpires . |
void |
setEscalated(boolean escalatedState)
Sets the property escalated . |
void |
setEventHandlerName(java.lang.String arg0)
Sets the property eventHandlerName . |
void |
setExpirationTime(java.util.Calendar arg0)
Sets the property expirationTime . |
protected void |
setHTMConnection(HTMConnection connection)
|
void |
setLocalisedDescription(java.lang.String description,
java.util.Locale locale)
Sets the property description . |
void |
setLocalisedDisplayName(java.lang.String displayName,
java.util.Locale locale)
Sets the property displayName . |
void |
setName(java.lang.String arg0)
Sets the property name . |
void |
setNamespace(java.lang.String arg0)
Sets the property namespace . |
protected void |
setOriginal(Task task)
|
void |
setParentContextID(OID arg0)
Sets the property parentContextID . |
void |
setPriority(java.lang.Integer arg0)
Sets the property priority . |
void |
setRead(boolean readState)
Sets the property read . |
void |
setState(java.lang.Integer newState)
Sets the property state . |
void |
setSupportsClaimIfSuspended(boolean arg0)
Sets the property supportsClaimIfSuspended . |
void |
setSupportsDelegation(boolean arg0)
Sets the property supportsDelegation . |
void |
setSupportsFollowOnTasks(boolean arg0)
Sets the property supportsFollowOnTasks . |
void |
setSupportsSubTasks(boolean arg0)
Sets the property supportsSubTasks . |
void |
setSuspended(boolean suspendedState)
Sets the property suspended . |
void |
setType(java.lang.String arg0)
Sets the property type . |
void |
setWorkBasketName(java.lang.String arg0)
Sets the property workBasketName . |
boolean |
supportsAutomaticClaim()
Returns the property supportsAutomaticClaim . |
boolean |
supportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended . |
boolean |
supportsDelegation()
Returns the property supportsDelegation . |
boolean |
supportsFollowOnTasks()
Returns the property supportsFollowOnTasks . |
boolean |
supportsSubTasks()
Returns the property supportsSubTasks . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String COPYRIGHT
public static final java.lang.String ACTIVATIONTIME_PROPERTY
activationTime
property.
public static final java.lang.String APPLICATIONNAME_PROPERTY
applicationName
property.
public static final java.lang.String WORKBASKETNAME_PROPERTY
workBasketName
property.
public static final java.lang.String ASSIGNMENTTYPE_PROPERTY
assignmentType
property.
public static final java.lang.String INVOKEDINSTANCETYPE_PROPERTY
invokedInstanceType
property.
public static final java.lang.String AUTODELETIONMODE_PROPERTY
autoDeletionMode
property.
public static final java.lang.String BUSINESSRELEVANT_PROPERTY
businessRelevant
property.
public static final java.lang.String COMPLETIONTIME_PROPERTY
completionTime
property.
public static final java.lang.String CONTAINMENTCONTEXTID_PROPERTY
containmentContextID
property.
public static final java.lang.String CUSTOMPROPERTY_PROPERTY
customProperty
property.
public static final java.lang.String DESCRIPTION_PROPERTY
description
property.
public static final java.lang.String DISPLAYNAME_PROPERTY
displayName
property.
public static final java.lang.String ESCALATED_PROPERTY
escalated
property.
public static final java.lang.String ESCALATEDUPDATEABLE_PROPERTY
escalatedUpdateable
property.
public static final java.lang.String CHILD_PROPERTY
child
property.
public static final java.lang.String READ_PROPERTY
read
property.
public static final java.lang.String EXPIRATIONTIME_PROPERTY
expirationTime
property.
public static final java.lang.String DELETIONTIME_PROPERTY
deletionTime
property.
public static final java.lang.String FIRSTACTIVATIONTIME_PROPERTY
firstActivationTime
property.
public static final java.lang.String ID_PROPERTY
ID
property.
public static final java.lang.String INHERITEDAUTHORIZATION_PROPERTY
inheritedAuthorization
property.
public static final java.lang.String INPUTMESSAGETYPENAME_PROPERTY
inputMessageTypeName
property.
public static final java.lang.String KIND_PROPERTY
kind
property.
public static final java.lang.String LASTMODIFICATIONTIME_PROPERTY
lastModificationTime
property.
public static final java.lang.String LASTSTATECHANGETIME_PROPERTY
lastStateChangeTime
property.
public static final java.lang.String NAME_PROPERTY
name
property.
public static final java.lang.String ORIGINATOR_PROPERTY
originator
property.
public static final java.lang.String OUTPUTMESSAGETYPENAME_PROPERTY
outputMessageTypeName
property.
public static final java.lang.String OWNER_PROPERTY
owner
property.
public static final java.lang.String PARENTCONTEXTID_PROPERTY
parentContextID
property.
public static final java.lang.String INVOKEDINSTANCEID_PROPERTY
invokedInstanceID
property.
public static final java.lang.String PRIORITY_PROPERTY
priority
property.
public static final java.lang.String STARTTIME_PROPERTY
startTime
property.
public static final java.lang.String STATE_PROPERTY
state
property.
public static final java.lang.String SUBSTITUTIONPOLICY_PROPERTY
substitutionPolicy
property.
public static final java.lang.String SUSPENDED_PROPERTY
public static final java.lang.String TYPE_PROPERTY
public static final java.lang.String ADHOC_PROPERTY
public static final java.lang.String DUETIME_PROPERTY
public static final java.lang.String RESUMPTIONTIME_PROPERTY
public static final java.lang.String INLINE_PROPERTY
public static final java.lang.String NAMESPACE_PROPERTY
public static final java.lang.String POSITIONINHIERARCHY_PROPERTY
public static final java.lang.String STARTER_PROPERTY
public static final java.lang.String SUPPORTSAUTOMATICCLAIM_PROPERTY
public static final java.lang.String SUPPORTSCLAIMIFSUSPENDED_PROPERTY
public static final java.lang.String SUPPORTSDELEGATION_PROPERTY
public static final java.lang.String SUPPORTSSUBTASKS_PROPERTY
public static final java.lang.String SUPPORTSFOLLOWONTASKS_PROPERTY
public static final java.lang.String WAITINGFORSUBTASK_PROPERTY
public static final java.lang.String TASKTEMPLATENAME_PROPERTY
public static final java.lang.String TASKTEMPLATEDISPLAYNAME_PROPERTY
public static final java.lang.String DURATIONUNTILDUE_PROPERTY
public static final java.lang.String DURATIONUNTILEXPIRES_PROPERTY
Constructor Detail |
---|
public TaskInstanceBean(QueryResultSet resultSet, HTMConnection htmConnection)
TaskInstanceBean
from a
QueryResultSet
.
resultSet
- The result object of a query.htmConnection
- The connection to the HumanTaskManagerService API.public TaskInstanceBean(QueryResultSet resultSet, java.lang.String taskDataViewName, HTMConnection htmConnection)
TaskInstanceBean
from a QueryResultSet
.
resultSet
- The result object of a query.taskDataViewName
- Name of the view from where to retrieve task attributeshtmConnection
- The connection to the HumanTaskManagerService API.public TaskInstanceBean(QueryResultSet resultSet, HTMConnection htmConnection, java.util.Locale locale)
TaskInstanceBean
from a QueryResultSet
.
resultSet
- The result object of a query.htmConnection
- The connection to the HumanTaskManagerService API.locale
- The locale of the locale dependant properties.public TaskInstanceBean(QueryResultSet resultSet, java.lang.String taskDataViewName, HTMConnection htmConnection, java.util.Locale locale)
TaskInstanceBean
from a
QueryResultSet
.
resultSet
- The result object of a query.taskDataViewName
- Name of the view from where to retrieve task attributeshtmConnection
- The connection to the HumanTaskManagerService API.locale
- The locale of the locale dependant properties.public TaskInstanceBean(Task task, HTMConnection htmConnection)
TaskInstanceBean
from an original Task
object.
task
- The original data object.htmConnection
- The connection to the HumanTaskManagerService API.Method Detail |
---|
public static SimpleConverter getConverter(java.lang.String propertyName)
propertyName
- The name for the property.
public static java.lang.String getLabel(java.lang.String propertyName)
propertyName
- The name for the property.
public static java.lang.String getLabel(java.lang.String propertyName, java.util.Locale locale)
propertyName
- The name for the property.locale
- The locale.
public static boolean isValid(java.lang.String propertyName)
propertyName
- The name of the property to be checked.
public MessageWrapper createOutputMessageWrapper() throws ClientException
ClientException
public java.util.Calendar getActivationTime()
activationTime
.
getActivationTime
in interface Task
Task.getActivationTime()
public ACOID getApplicationDefaultsID()
applicationDefaultsID
.
getApplicationDefaultsID
in interface Task
Task.getApplicationDefaultsID()
public int getAutoDeletionMode()
autoDeletionMode
.
getAutoDeletionMode
in interface Task
Task.getAutoDeletionMode()
public int getAssignmentType()
assignmentType
.
getAssignmentType
in interface Task
Task.getAssignmentType()
public int getInvokedInstanceType()
invokedInstanceType
.
getInvokedInstanceType
in interface Task
Task.getInvokedInstanceType()
public int getInheritedAuthorization()
inheritedAuthorization
.
getInheritedAuthorization
in interface Task
Task.getInheritedAuthorization()
public java.lang.String getCalendarName()
calendarName
.
getCalendarName
in interface Task
Task.getCalendarName()
public java.util.Calendar getCompletionTime()
completionTime
.
getCompletionTime
in interface Task
Task.getCompletionTime()
public OID getContainmentContextID()
containmentContextID
.
getContainmentContextID
in interface Task
Task.getContainmentContextID()
public int getContextAuthorizationOfOwner()
contextAuthorizationOfOwner
.
getContextAuthorizationOfOwner
in interface Task
Task.getContextAuthorizationOfOwner()
public com.ibm.bpc.clientcore.util.LocalisedString getDescription()
public java.lang.String getDescription(java.util.Locale locale)
description
.
getDescription
in interface Task
locale
- The locale for which the description is to be provided.Task.getDescription(java.util.Locale)
public com.ibm.bpc.clientcore.util.LocalisedString getDisplayName()
public java.lang.String getDisplayName(java.util.Locale locale)
displayName
.
getDisplayName
in interface Task
locale
- The locale for which the display name is to be provided.Task.getDisplayName(java.util.Locale)
public java.util.Calendar getDueTime()
dueTime
.
getDueTime
in interface Task
Task.getDueTime()
public java.lang.String getDurationUntilDeleted()
durationUntilDeleted
.
getDurationUntilDeleted
in interface Task
Task.getDurationUntilDeleted()
public java.lang.String getDurationUntilDue()
durationUntilDue
.
getDurationUntilDue
in interface Task
Task.getDurationUntilDue()
public java.lang.String getDurationUntilExpires()
durationUntilExpires
.
getDurationUntilExpires
in interface Task
Task.getDurationUntilExpires()
public java.lang.String getEventHandlerName()
eventHandlerName
.
getEventHandlerName
in interface Task
Task.getEventHandlerName()
public java.lang.String getWorkBasketName()
workBasketName
.
getWorkBasketName
in interface Task
Task.getWorkBasketName()
public java.util.Calendar getExpirationTime()
expirationTime
.
getExpirationTime
in interface Task
Task.getExpirationTime()
public java.util.Calendar getDeletionTime()
deletionTime
.
getDeletionTime
in interface Task
Task.getDeletionTime()
public MessageWrapper getFaultMessageWrapper() throws ClientException
ClientException
public java.util.Calendar getFirstActivationTime()
firstActivationTime
.
getFirstActivationTime
in interface Task
Task.getFirstActivationTime()
public TKIID getFollowOnTaskID()
followOnTaskID
.
getFollowOnTaskID
in interface Task
Task.getFollowOnTaskID()
public TKIID getID()
ID
.
getID
in interface Task
Task.getID()
public java.lang.String getInputMessageTypeName()
inputMessageTypeName
.
getInputMessageTypeName
in interface Task
Task.getInputMessageTypeName()
public MessageWrapper getInputMessageWrapper() throws ClientException
ClientException
HumanTaskManagerService.getInputMessage(com.ibm.task.api.TKIID)
public java.lang.String getJNDINameOfCalendar()
JNDINameOfCalendar
.
getJNDINameOfCalendar
in interface Task
Task.getJNDINameOfCalendar()
public java.lang.String getJNDINameOfStaffPluginProvider()
JNDINameOfStaffPluginProvider
.
getJNDINameOfStaffPluginProvider
in interface Task
Task.getJNDINameOfStaffPluginProvider()
public int getKind()
kind
.
getKind
in interface Task
Task.getKind()
public java.util.Calendar getLastModificationTime()
lastModificationTime
.
getLastModificationTime
in interface Task
Task.getLastModificationTime()
public java.util.Calendar getLastStateChangeTime()
lastStateChangeTime
.
getLastStateChangeTime
in interface Task
Task.getLastStateChangeTime()
public java.util.List getLocalesOfDescriptions()
localesOfDescriptions
.
getLocalesOfDescriptions
in interface Task
Task.getLocalesOfDescriptions()
public java.util.List getLocalesOfDisplayNames()
localesOfDisplayNames
.
getLocalesOfDisplayNames
in interface Task
Task.getLocalesOfDisplayNames()
public java.lang.String getName()
name
.
getName
in interface Task
Task.getName()
public java.lang.String getNamespace()
namespace
.
getNamespace
in interface Task
Task.getNamespace()
public java.lang.String getDefinitionName()
definition name
.
getDefinitionName
in interface Task
Task.getDefinitionName()
public java.lang.String getDefinitionNamespace()
definition namespace
.
getDefinitionNamespace
in interface Task
Task.getDefinitionNamespace()
protected Task getOriginal()
public java.lang.String getOriginator()
originator
.
getOriginator
in interface Task
Task.getOriginator()
public java.lang.String getOutputMessageTypeName()
outputMessageTypeName
.
getOutputMessageTypeName
in interface Task
Task.getOutputMessageTypeName()
public MessageWrapper getOutputMessageWrapper() throws ClientException
ClientException
HumanTaskManagerService
public java.lang.String getOwner()
owner
.
getOwner
in interface Task
Task.getOwner()
public OID getParentContextID()
parentContextID
.
getParentContextID
in interface Task
Task.getParentContextID()
public OID getInvokedInstanceID()
invokedInstanceID
.
getInvokedInstanceID
in interface Task
Task.getInvokedInstanceID()
public java.lang.Integer getPriority()
priority
.
getPriority
in interface Task
Task.getPriority()
public java.util.Calendar getResumptionTime()
resumptionTime
.
getResumptionTime
in interface Task
Task.getResumptionTime()
public java.lang.String getStarter()
starter
.
getStarter
in interface Task
Task.getStarter()
public java.util.Calendar getStartTime()
startTime
.
getStartTime
in interface Task
Task.getStartTime()
public int getState()
state
.
getState
in interface Task
Task.getState()
public int getSubstitutionPolicy()
substitutionPolicy
.
getSubstitutionPolicy
in interface Task
Task.getSubstitutionPolicy()
public TKTID getTaskTemplateID()
taskTemplateID
.
getTaskTemplateID
in interface Task
Task.getTaskTemplateID()
public java.lang.String getTaskTemplateName()
taskTemplateName
.
getTaskTemplateName
in interface Task
public TKIID getTopLevelTaskID()
topLevelTaskID
.
getTopLevelTaskID
in interface Task
Task.getTopLevelTaskID()
public java.lang.String getType()
type
.
getType
in interface Task
Task.getType()
public boolean isAdHoc()
adHoc
.
isAdHoc
in interface Task
Task.isAdHoc()
public boolean isBusinessRelevant()
businessRelevant
.
isBusinessRelevant
in interface Task
Task.isBusinessRelevant()
public boolean isEscalatedUpdateable()
escalatedUpdateable()
.
isEscalatedUpdateable
in interface Task
Task.isEscalatedUpdateable()
public boolean isReadUpdateable()
readUpdateable()
.
isReadUpdateable
in interface Task
Task.isReadUpdateable()
public boolean isChild()
isChild
.
isChild
in interface Task
Task.isChild()
public boolean isRead()
isRead
.
isRead
in interface Task
Task.isRead()
public boolean isTransferredToWorkBasket()
isTransferrredToWorkBasket
.
isTransferredToWorkBasket
in interface Task
Task.isTransferredToWorkBasket()
public boolean isEscalated()
escalated
.
isEscalated
in interface Task
Task.isEscalated()
public boolean isInline()
inline
.
isInline
in interface Task
Task.isInline()
public boolean isSuspended()
suspended
.
isSuspended
in interface Task
Task.isSuspended()
public boolean isWaitingForSubTask()
waitingForSubTask
.
isWaitingForSubTask
in interface Task
Task.isWaitingForSubTask()
public void setBusinessRelevance(boolean arg0)
businessRelevance
.
setBusinessRelevance
in interface Task
arg0
- An indication whether the task instance is business relevant. True
states that the task is business relevant. False states that the task is
not business relevant.Task.setBusinessRelevance(boolean)
public boolean isBusinessRelevanceUpdateable()
isBusinessRelevanceUpdateable
in interface Task
public void setContextAuthorizationOfOwner(int arg0)
contextAuthorizationOfOwner
.
setContextAuthorizationOfOwner
in interface Task
arg0
- The authorization rights of the task owner for the associated context.
Possible values are: AUTH_NONE, AUTH_READER.
Task.setContextAuthorizationOfOwner(int)
public boolean isContextAuthorizationOfOwnerUpdateable()
isContextAuthorizationOfOwnerUpdateable
in interface Task
public void setDescription(java.lang.String arg0, java.util.Locale arg1)
description
.
setDescription
in interface Task
arg0
- The new value of the description.arg1
- The locale for which the description is set.Task.setDescription(java.lang.String,
java.util.Locale)
public boolean isDescriptionUpdateable()
isDescriptionUpdateable
in interface Task
public void setDisplayName(java.lang.String arg0, java.util.Locale arg1)
displayName
.
setDisplayName
in interface Task
arg0
- The new value of the display name.arg1
- The locale for which the display name is set.Task.setDisplayName(java.lang.String,
java.util.Locale)
public boolean isDisplayNameUpdateable()
isDisplayNameUpdateable
in interface Task
public void setDurationUntilDeleted(java.lang.String arg0)
durationUntilDeleted
.
setDurationUntilDeleted
in interface Task
arg0
- The duration that passes until the task instance is deleted. The format of the
duration depends on the calendar that is used and may, for example, be "5days".
Additionally, TimerSpecification.DURATION_IMMEDIATE
may be specified to indicate that the task is to be deleted immediately
and TimerSpecification.DURATION_INFINITE
to indicate that the task is deleted manually.Task.setDurationUntilDeleted(java.lang.String)
public boolean isDurationUntilDeletedUpdateable()
isDurationUntilDeletedUpdateable
in interface Task
public void setDurationUntilDue(java.lang.String arg0)
durationUntilDue
.
setDurationUntilDue
in interface Task
arg0
- The duration the task instance is expected to become due. The format of the
duration depends on the calendar that is used and may, for example, be "5days".
Additionally, TimerSpecification.DURATION_IMMEDIATE
may be specified to indicate that the task is due immediately
and TimerSpecification.DURATION_INFINITE
to indicate that the task has no due time.Task.setDurationUntilDue(java.lang.String)
public boolean isDurationUntilDueUpdateable()
isDurationUntilDueUpdateable
in interface Task
public void setDurationUntilExpires(java.lang.String arg0)
durationUntilExpires
.
setDurationUntilExpires
in interface Task
arg0
- The duration that may pass until the task instance expires. The format of the
duration depends on the calendar that is used and may, for example, be "5days".
Additionally, TimerSpecification.DURATION_IMMEDIATE
may be specified to indicate that the task expires immediately
and TimerSpecification.DURATION_INFINITE
to indicate that the task never expires.Task.setDurationUntilExpires(java.lang.String)
public boolean isDurationUntilExpiresUpdateable()
isDurationUntilExpiresUpdateable
in interface Task
public void setDueTime(java.util.Calendar arg0)
dueTime
.
setDueTime
in interface Task
arg0
- The time when the task instance is expected to become due.
Note that setting the due time to null is not accepted by the update method,
that is, an exception will be thrown,com.ibm.task.api.Task#setDueTime(java.lang.Calendar)
public boolean isDueTimeUpdateable()
isDueTimeUpdateable
in interface Task
public void setExpirationTime(java.util.Calendar arg0)
expirationTime
.
setExpirationTime
in interface Task
arg0
- The time when the task instance expires.
Note that setting the expiration time to null is not accepted by the update method,
that is, an exception will be thrown,com.ibm.task.api.Task#setExpirationTime(java.lang.Calendar)
public boolean isExpirationTimeUpdateable()
isExpirationTimeUpdateable
in interface Task
public void setDeletionTime(java.util.Calendar arg0)
deletionTime
.
setDeletionTime
in interface Task
arg0
- The time when the task instance is automatically deleted.
Note that setting the deletion time to null is not accepted by the update method,
that is, an exception will be thrown,com.ibm.task.api.Task#setDeletionTime(java.lang.Calendar)
public boolean isDeletionTimeUpdateable()
isDeletionTimeUpdateable
in interface Task
public void setEscalated(boolean escalatedState)
escalated
.
setEscalated
in interface Task
escalatedState
- public void setChild(boolean childState)
child
.
childState
- public void setRead(boolean readState)
read
.
setRead
in interface Task
readState
- public void setEventHandlerName(java.lang.String arg0)
eventHandlerName
.
setEventHandlerName
in interface Task
arg0
- The name of the event handler to be associated.Task.setEventHandlerName(java.lang.String)
public boolean isEventHandlerNameUpdateable()
isEventHandlerNameUpdateable
in interface Task
public void setWorkBasketName(java.lang.String arg0)
workBasketName
.
setWorkBasketName
in interface Task
arg0
- The name of the work basket to be associated. Null means that the task
is no longer associated to any work basket.Task.setWorkBasketName(java.lang.String)
public boolean isWorkBasketNameUpdateable()
isWorkBasketNameUpdateable
in interface Task
public void setLocalisedDescription(java.lang.String description, java.util.Locale locale)
description
.
description
- locale
- Task.setDescription(java.lang.String,
java.util.Locale)
public void setLocalisedDisplayName(java.lang.String displayName, java.util.Locale locale)
displayName
.
displayName
- locale
- Task.setDisplayName(java.lang.String,
java.util.Locale)
public void setName(java.lang.String arg0)
name
.
setName
in interface Task
arg0
- The new name of the task instance.Task.setName(java.lang.String)
public boolean isNameUpdateable()
isNameUpdateable
in interface Task
public void setNamespace(java.lang.String arg0)
namespace
.
setNamespace
in interface Task
arg0
- The new namespace of the task instance.Task.setNamespace(java.lang.String)
public boolean isNamespaceUpdateable()
isNamespaceUpdateable
in interface Task
public void setParentContextID(OID arg0)
parentContextID
.
setParentContextID
in interface Task
arg0
- The object ID of the parent context.Task.setParentContextID(com.ibm.bpe.api.OID)
public boolean isParentContextIDUpdateable()
isParentContextIDUpdateable
in interface Task
public void setPriority(java.lang.Integer arg0)
priority
.
setPriority
in interface Task
arg0
- The priority of the task instance.Task.setPriority(java.lang.Integer)
public boolean isPriorityUpdateable()
isPriorityUpdateable
in interface Task
public void setState(java.lang.Integer newState)
state
.
newState
- public void setSupportsClaimIfSuspended(boolean arg0)
supportsClaimIfSuspended
.
setSupportsClaimIfSuspended
in interface Task
arg0
- An indication whether the task can be claimed even if it is suspended. True states that
the task can be claimed if it is suspended. False states that the task cannot be claimed
if it is suspended.Task.setSupportsClaimIfSuspended(boolean)
public void setSupportsDelegation(boolean arg0)
supportsDelegation
.
setSupportsDelegation
in interface Task
arg0
- An indication whether the task instance supports delegation. True states
that the task supports delegation. False states that the task does not
support delegation.Task.setSupportsDelegation(boolean)
public boolean isSupportsDelegationUpdateable()
isSupportsDelegationUpdateable
in interface Task
public void setSupportsSubTasks(boolean arg0)
supportsSubTasks
.
setSupportsSubTasks
in interface Task
arg0
- An indication whether the task instance supports the creation of
subtasks. True states that the task supports the creation
of subtasks. False states that the task
does not support the creation of subtasks.Task.setSupportsSubTasks(boolean)
public boolean isSupportsSubTasksUpdateable()
isSupportsSubTasksUpdateable
in interface Task
public void setSupportsFollowOnTasks(boolean arg0)
supportsFollowOnTasks
.
setSupportsFollowOnTasks
in interface Task
arg0
- An indication whether the task instance supports the creation of
follow-on tasks. True states that the task supports the creation
of follow-on tasks. False states that the task
does not support the creation of follow-on tasks.Task.setSupportsFollowOnTasks(boolean)
public boolean isSupportsFollowOnTasksUpdateable()
isSupportsFollowOnTasksUpdateable
in interface Task
public void setSuspended(boolean suspendedState)
suspended
.
suspendedState
- public void setType(java.lang.String arg0)
type
.
setType
in interface Task
arg0
- The type of the task instance.Task.setType(java.lang.String)
public boolean isTypeUpdateable()
isTypeUpdateable
in interface Task
public boolean supportsAutomaticClaim()
supportsAutomaticClaim
.
supportsAutomaticClaim
in interface Task
Task.supportsAutomaticClaim()
public boolean supportsDelegation()
supportsDelegation
.
supportsDelegation
in interface Task
Task.supportsDelegation()
public boolean supportsSubTasks()
supportsSubTasks
.
supportsSubTasks
in interface Task
Task.supportsSubTasks()
public boolean supportsFollowOnTasks()
supportsFollowOnTasks
.
supportsFollowOnTasks
in interface Task
Task.supportsFollowOnTasks()
public boolean supportsClaimIfSuspended()
supportsClaimIfSuspended
.
supportsClaimIfSuspended
in interface Task
Task.supportsClaimIfSuspended()
public boolean isSupportsAutomaticClaim()
supportsAutomaticClaim
.
Task.supportsAutomaticClaim()
public boolean isSupportsDelegation()
supportsDelegation
.
Task.supportsDelegation()
public boolean isSupportsSubTasks()
supportsSubTasks
.
Task.supportsSubTasks()
public boolean isSupportsFollowOnTasks()
supportsFollowOnTasks
.
Task.supportsFollowOnTasks()
public boolean isSupportsClaimIfSuspended()
supportsClaimIfSuspended
.
Task.supportsClaimIfSuspended()
public boolean isSupportsClaimIfSuspendedUpdateable()
isSupportsClaimIfSuspendedUpdateable
in interface Task
public int getPositionInHierarchy()
positionInHierarchy
.
getPositionInHierarchy
in interface Task
Task.getPositionInHierarchy()
public java.lang.String getApplicationName()
Task
getApplicationName
in interface Task
public void setApplicationName(java.lang.String newApplicationName)
protected HTMConnection getHTMConnection()
protected void setHTMConnection(HTMConnection connection)
connection
- The connection to set.protected void setOriginal(Task task)
task
- ???
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |