IBM WebSphere Application ServerTM
Release 7

com.ibm.task.clientmodel.bean
Class TaskInstanceBean

java.lang.Object
  extended by com.ibm.task.clientmodel.bean.TaskInstanceBean
All Implemented Interfaces:
Task, java.io.Serializable

public class TaskInstanceBean
extends java.lang.Object
implements Task

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:

If the property is not found in the query result set, the property remains empty. Accessing an empty property requires the bean to load the missing information from the server.

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.

See Also:
Task, QueryResultSet, Serialized Form

Field 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.
 
Fields inherited from interface com.ibm.task.api.Task
ASSIGNMENT_TYPE_PARALLEL, ASSIGNMENT_TYPE_SINGLE, AUTH_NONE, AUTH_READER, AUTO_DELETE_ON_COMPLETION, AUTO_DELETE_ON_SUCCESSFUL_COMPLETION, HIERARCHY_POSITION_FOLLOW_ON_TASK, HIERARCHY_POSITION_SUB_TASK, HIERARCHY_POSITION_TOP_TASK, INHERITED_AUTH_ADMINISTRATOR, INHERITED_AUTH_ALL, INHERITED_AUTH_NONE, INVOKED_INSTANCE_TYPE_ACTIVITY, INVOKED_INSTANCE_TYPE_CHILD_PROCESS, INVOKED_INSTANCE_TYPE_CHILD_TASK, INVOKED_INSTANCE_TYPE_EVENT, INVOKED_INSTANCE_TYPE_INLINE_TASK, INVOKED_INSTANCE_TYPE_NOT_SET, INVOKED_INSTANCE_TYPE_PROCESS, INVOKED_INSTANCE_TYPE_TASK, KIND_ADMINISTRATIVE, KIND_HUMAN, KIND_ORIGINATING, KIND_PARTICIPATING, KIND_WPC_STAFF_ACTIVITY, STATE_CLAIMED, STATE_EXPIRED, STATE_FAILED, STATE_FAILING, STATE_FINISHED, STATE_FORWARDED, STATE_INACTIVE, STATE_PROCESSING_UNDO, STATE_READY, STATE_RUNNING, STATE_SKIPPED, STATE_STOPPED, STATE_TERMINATED, STATE_TERMINATING, STATE_WAITING, SUBSTITUTION_POLICY_NO_SUBSTITUTION, SUBSTITUTION_POLICY_SELECT_USER_IF_PRESENT, SUBSTITUTION_POLICY_SUBSTITUTE_IF_ABSENT
 
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

COPYRIGHT

public static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2004, 2009.

See Also:
Constant Field Values

ACTIVATIONTIME_PROPERTY

public static final java.lang.String ACTIVATIONTIME_PROPERTY
Use the property name to determine labels and converters for the activationTime property.

See Also:
Constant Field Values

APPLICATIONNAME_PROPERTY

public static final java.lang.String APPLICATIONNAME_PROPERTY
Use the property name to determine labels and converters for the applicationName property.

See Also:
Constant Field Values

WORKBASKETNAME_PROPERTY

public static final java.lang.String WORKBASKETNAME_PROPERTY
Use the property name to determine labels and converters for the workBasketName property.

See Also:
Constant Field Values

ASSIGNMENTTYPE_PROPERTY

public static final java.lang.String ASSIGNMENTTYPE_PROPERTY
Use the property name to determine labels and converters for the assignmentType property.

See Also:
Constant Field Values

INVOKEDINSTANCETYPE_PROPERTY

public static final java.lang.String INVOKEDINSTANCETYPE_PROPERTY
Use the property name to determine labels and converters for the invokedInstanceType property.

See Also:
Constant Field Values

AUTODELETIONMODE_PROPERTY

public static final java.lang.String AUTODELETIONMODE_PROPERTY
Use the property name to determine labels and converters for the autoDeletionMode property.

See Also:
Constant Field Values

BUSINESSRELEVANT_PROPERTY

public static final java.lang.String BUSINESSRELEVANT_PROPERTY
Use the property name to determine labels and converters for the businessRelevant property.

See Also:
Constant Field Values

COMPLETIONTIME_PROPERTY

public static final java.lang.String COMPLETIONTIME_PROPERTY
Use the property name to determine labels and converters for the completionTime property.

See Also:
Constant Field Values

CONTAINMENTCONTEXTID_PROPERTY

public static final java.lang.String CONTAINMENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the containmentContextID property.

See Also:
Constant Field Values

CUSTOMPROPERTY_PROPERTY

public static final java.lang.String CUSTOMPROPERTY_PROPERTY
Use the property name to determine labels and converters for the customProperty property.

See Also:
Constant Field Values

DESCRIPTION_PROPERTY

public static final java.lang.String DESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the description property.

See Also:
Constant Field Values

DISPLAYNAME_PROPERTY

public static final java.lang.String DISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the displayName property.

See Also:
Constant Field Values

ESCALATED_PROPERTY

public static final java.lang.String ESCALATED_PROPERTY
Use the property name to determine labels and converters for the escalated property.

See Also:
Constant Field Values

ESCALATEDUPDATEABLE_PROPERTY

public static final java.lang.String ESCALATEDUPDATEABLE_PROPERTY
Use the property name to determine labels and converters for the escalatedUpdateable property.

See Also:
Constant Field Values

CHILD_PROPERTY

public static final java.lang.String CHILD_PROPERTY
Use the property name to determine labels and converters for the child property.

See Also:
Constant Field Values

READ_PROPERTY

public static final java.lang.String READ_PROPERTY
Use the property name to determine labels and converters for the read property.

See Also:
Constant Field Values

EXPIRATIONTIME_PROPERTY

public static final java.lang.String EXPIRATIONTIME_PROPERTY
Use the property name to determine labels and converters for the expirationTime property.

See Also:
Constant Field Values

DELETIONTIME_PROPERTY

public static final java.lang.String DELETIONTIME_PROPERTY
Use the property name to determine labels and converters for the deletionTime property.

See Also:
Constant Field Values

FIRSTACTIVATIONTIME_PROPERTY

public static final java.lang.String FIRSTACTIVATIONTIME_PROPERTY
Use the property name to determine labels and converters for the firstActivationTime property.

See Also:
Constant Field Values

ID_PROPERTY

public static final java.lang.String ID_PROPERTY
Use the property name to determine labels and converters for the ID property.

See Also:
Constant Field Values

INHERITEDAUTHORIZATION_PROPERTY

public static final java.lang.String INHERITEDAUTHORIZATION_PROPERTY
Use the property name to determine labels and converters for the inheritedAuthorization property.

See Also:
Constant Field Values

INPUTMESSAGETYPENAME_PROPERTY

public static final java.lang.String INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the inputMessageTypeName property.

See Also:
Constant Field Values

KIND_PROPERTY

public static final java.lang.String KIND_PROPERTY
Use the property name to determine labels and converters for the kind property.

See Also:
Constant Field Values

LASTMODIFICATIONTIME_PROPERTY

public static final java.lang.String LASTMODIFICATIONTIME_PROPERTY
Use the property name to determine labels and converters for the lastModificationTime property.

See Also:
Constant Field Values

LASTSTATECHANGETIME_PROPERTY

public static final java.lang.String LASTSTATECHANGETIME_PROPERTY
Use the property name to determine labels and converters for the lastStateChangeTime property.

See Also:
Constant Field Values

NAME_PROPERTY

public static final java.lang.String NAME_PROPERTY
Use the property name to determine labels and converters for the name property.

See Also:
Constant Field Values

ORIGINATOR_PROPERTY

public static final java.lang.String ORIGINATOR_PROPERTY
Use the property name to determine labels and converters for the originator property.

See Also:
Constant Field Values

OUTPUTMESSAGETYPENAME_PROPERTY

public static final java.lang.String OUTPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the outputMessageTypeName property.

See Also:
Constant Field Values

OWNER_PROPERTY

public static final java.lang.String OWNER_PROPERTY
Use the property name to determine labels and converters for the owner property.

See Also:
Constant Field Values

PARENTCONTEXTID_PROPERTY

public static final java.lang.String PARENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the parentContextID property.

See Also:
Constant Field Values

INVOKEDINSTANCEID_PROPERTY

public static final java.lang.String INVOKEDINSTANCEID_PROPERTY
Use the property name to determine labels and converters for the invokedInstanceID property.

See Also:
Constant Field Values

PRIORITY_PROPERTY

public static final java.lang.String PRIORITY_PROPERTY
Use the property name to determine labels and converters for the priority property.

See Also:
Constant Field Values

STARTTIME_PROPERTY

public static final java.lang.String STARTTIME_PROPERTY
Use the property name to determine labels and converters for the startTime property.

See Also:
Constant Field Values

STATE_PROPERTY

public static final java.lang.String STATE_PROPERTY
Use the property name to determine labels and converters for the state property.

See Also:
Constant Field Values

SUBSTITUTIONPOLICY_PROPERTY

public static final java.lang.String SUBSTITUTIONPOLICY_PROPERTY
Use the property name to determine labels and converters for the substitutionPolicy property.

See Also:
Constant Field Values

SUSPENDED_PROPERTY

public static final java.lang.String SUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property suspended.

See Also:
Constant Field Values

TYPE_PROPERTY

public static final java.lang.String TYPE_PROPERTY
Use the property name to determine labels and converters for type.

See Also:
Constant Field Values

ADHOC_PROPERTY

public static final java.lang.String ADHOC_PROPERTY
Use the property name to determine labels and converters for the property adHoc.

See Also:
Constant Field Values

DUETIME_PROPERTY

public static final java.lang.String DUETIME_PROPERTY
Use the property name to determine labels and converters for the property dueTime.

See Also:
Constant Field Values

RESUMPTIONTIME_PROPERTY

public static final java.lang.String RESUMPTIONTIME_PROPERTY
Use the property name to determine labels and converters for the property resumptionTime.

See Also:
Constant Field Values

INLINE_PROPERTY

public static final java.lang.String INLINE_PROPERTY
Use the property name to determine labels and converters for the property inline.

See Also:
Constant Field Values

NAMESPACE_PROPERTY

public static final java.lang.String NAMESPACE_PROPERTY
Use the property name to determine labels and converters for the property namespace.

See Also:
Constant Field Values

POSITIONINHIERARCHY_PROPERTY

public static final java.lang.String POSITIONINHIERARCHY_PROPERTY
Use the property name to determine labels and converters for the property positionInHierarchy.

See Also:
Constant Field Values

STARTER_PROPERTY

public static final java.lang.String STARTER_PROPERTY
Use the property name to determine labels and converters for the property starter.

See Also:
Constant Field Values

SUPPORTSAUTOMATICCLAIM_PROPERTY

public static final java.lang.String SUPPORTSAUTOMATICCLAIM_PROPERTY
Use the property name to determine labels and converters for the property automaticClaim.

See Also:
Constant Field Values

SUPPORTSCLAIMIFSUSPENDED_PROPERTY

public static final java.lang.String SUPPORTSCLAIMIFSUSPENDED_PROPERTY
Use the property name to determine labels and converters for the property supportsClaimIfSuspended.

See Also:
Constant Field Values

SUPPORTSDELEGATION_PROPERTY

public static final java.lang.String SUPPORTSDELEGATION_PROPERTY
Use the property name to determine labels and converters for the property supportsDelegation.

See Also:
Constant Field Values

SUPPORTSSUBTASKS_PROPERTY

public static final java.lang.String SUPPORTSSUBTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsSubTasks.

See Also:
Constant Field Values

SUPPORTSFOLLOWONTASKS_PROPERTY

public static final java.lang.String SUPPORTSFOLLOWONTASKS_PROPERTY
Use the property name to determine labels and converters for the property supportsFollowOnTasks.

See Also:
Constant Field Values

WAITINGFORSUBTASK_PROPERTY

public static final java.lang.String WAITINGFORSUBTASK_PROPERTY
Use the property name to determine labels and converters for the property waitingForSubTask.

See Also:
Constant Field Values

TASKTEMPLATENAME_PROPERTY

public static final java.lang.String TASKTEMPLATENAME_PROPERTY
Use the property name to determine labels and converters for the property task template name.

See Also:
Constant Field Values

TASKTEMPLATEDISPLAYNAME_PROPERTY

public static final java.lang.String TASKTEMPLATEDISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the property task template display name.

See Also:
Constant Field Values

DURATIONUNTILDUE_PROPERTY

public static final java.lang.String DURATIONUNTILDUE_PROPERTY
Use the property name to determine converter for the durationUntilDue property.

See Also:
Constant Field Values

DURATIONUNTILEXPIRES_PROPERTY

public static final java.lang.String DURATIONUNTILEXPIRES_PROPERTY
Use the property name to determine converter for the durationUntilExpires property.

See Also:
Constant Field Values
Constructor Detail

TaskInstanceBean

public TaskInstanceBean(QueryResultSet resultSet,
                        HTMConnection htmConnection)
Constructs a new TaskInstanceBean from a QueryResultSet.

Parameters:
resultSet - The result object of a query.
htmConnection - The connection to the HumanTaskManagerService API.

TaskInstanceBean

public TaskInstanceBean(QueryResultSet resultSet,
                        java.lang.String taskDataViewName,
                        HTMConnection htmConnection)
Constructs a new TaskInstanceBean from a QueryResultSet.

Parameters:
resultSet - The result object of a query.
taskDataViewName - Name of the view from where to retrieve task attributes
htmConnection - The connection to the HumanTaskManagerService API.

TaskInstanceBean

public TaskInstanceBean(QueryResultSet resultSet,
                        HTMConnection htmConnection,
                        java.util.Locale locale)
Constructs a new TaskInstanceBean from a QueryResultSet.

Parameters:
resultSet - The result object of a query.
htmConnection - The connection to the HumanTaskManagerService API.
locale - The locale of the locale dependant properties.

TaskInstanceBean

public TaskInstanceBean(QueryResultSet resultSet,
                        java.lang.String taskDataViewName,
                        HTMConnection htmConnection,
                        java.util.Locale locale)
Constructs a new TaskInstanceBean from a QueryResultSet.

Parameters:
resultSet - The result object of a query.
taskDataViewName - Name of the view from where to retrieve task attributes
htmConnection - The connection to the HumanTaskManagerService API.
locale - The locale of the locale dependant properties.

TaskInstanceBean

public TaskInstanceBean(Task task,
                        HTMConnection htmConnection)
Constructs a TaskInstanceBean from an original Task object.

Parameters:
task - The original data object.
htmConnection - The connection to the HumanTaskManagerService API.
Method Detail

getConverter

public static SimpleConverter getConverter(java.lang.String propertyName)
Returns the default converter for a given property.

Parameters:
propertyName - The name for the property.
Returns:
The converter instance if one has been registered with propertyName, null otherwise.

getLabel

public static java.lang.String getLabel(java.lang.String propertyName)
Returns the resource bundle key for a property

Parameters:
propertyName - The name for the property.
Returns:
The resource bundle key for the property.

getLabel

public static java.lang.String getLabel(java.lang.String propertyName,
                                        java.util.Locale locale)
Returns the label for a property from the resource bundle. If no label is found in the resource bundle the resource bundle key for the property is returned.

Parameters:
propertyName - The name for the property.
locale - The locale.
Returns:
The label or the resource bundle key for the property.

isValid

public static boolean isValid(java.lang.String propertyName)
Checks if the property is valid.

Parameters:
propertyName - The name of the property to be checked.
Returns:
True, if the propertyName is a known property for an object of this class.

createOutputMessageWrapper

public MessageWrapper createOutputMessageWrapper()
                                          throws ClientException
Creates an initial empty output message.

Returns:
The wrapped message.
Throws:
ClientException

getActivationTime

public java.util.Calendar getActivationTime()
Returns the property activationTime.

Specified by:
getActivationTime in interface Task
See Also:
Task.getActivationTime()

getApplicationDefaultsID

public ACOID getApplicationDefaultsID()
Returns the property applicationDefaultsID.

Specified by:
getApplicationDefaultsID in interface Task
See Also:
Task.getApplicationDefaultsID()

getAutoDeletionMode

public int getAutoDeletionMode()
Returns the property autoDeletionMode.

Specified by:
getAutoDeletionMode in interface Task
See Also:
Task.getAutoDeletionMode()

getAssignmentType

public int getAssignmentType()
Returns the property assignmentType.

Specified by:
getAssignmentType in interface Task
See Also:
Task.getAssignmentType()

getInvokedInstanceType

public int getInvokedInstanceType()
Returns the property invokedInstanceType.

Specified by:
getInvokedInstanceType in interface Task
See Also:
Task.getInvokedInstanceType()

getInheritedAuthorization

public int getInheritedAuthorization()
Returns the property inheritedAuthorization.

Specified by:
getInheritedAuthorization in interface Task
See Also:
Task.getInheritedAuthorization()

getCalendarName

public java.lang.String getCalendarName()
Returns the property calendarName.

Specified by:
getCalendarName in interface Task
See Also:
Task.getCalendarName()

getCompletionTime

public java.util.Calendar getCompletionTime()
Returns the property completionTime.

Specified by:
getCompletionTime in interface Task
See Also:
Task.getCompletionTime()

getContainmentContextID

public OID getContainmentContextID()
Returns the property containmentContextID.

Specified by:
getContainmentContextID in interface Task
See Also:
Task.getContainmentContextID()

getContextAuthorizationOfOwner

public int getContextAuthorizationOfOwner()
Returns the property contextAuthorizationOfOwner.

Specified by:
getContextAuthorizationOfOwner in interface Task
See Also:
Task.getContextAuthorizationOfOwner()

getDescription

public com.ibm.bpc.clientcore.util.LocalisedString getDescription()
Returns the localised description.

Returns:
The localised description.

getDescription

public java.lang.String getDescription(java.util.Locale locale)
Returns the property description.

Specified by:
getDescription in interface Task
Parameters:
locale - The locale for which the description is to be provided.
See Also:
Task.getDescription(java.util.Locale)

getDisplayName

public com.ibm.bpc.clientcore.util.LocalisedString getDisplayName()
Returns the localised display name.

Returns:
The localised display name.

getDisplayName

public java.lang.String getDisplayName(java.util.Locale locale)
Returns the property displayName.

Specified by:
getDisplayName in interface Task
Parameters:
locale - The locale for which the display name is to be provided.
See Also:
Task.getDisplayName(java.util.Locale)

getDueTime

public java.util.Calendar getDueTime()
Returns the property dueTime.

Specified by:
getDueTime in interface Task
See Also:
Task.getDueTime()

getDurationUntilDeleted

public java.lang.String getDurationUntilDeleted()
Returns the property durationUntilDeleted.

Specified by:
getDurationUntilDeleted in interface Task
See Also:
Task.getDurationUntilDeleted()

getDurationUntilDue

public java.lang.String getDurationUntilDue()
Returns the property durationUntilDue.

Specified by:
getDurationUntilDue in interface Task
See Also:
Task.getDurationUntilDue()

getDurationUntilExpires

public java.lang.String getDurationUntilExpires()
Returns the property durationUntilExpires.

Specified by:
getDurationUntilExpires in interface Task
See Also:
Task.getDurationUntilExpires()

getEventHandlerName

public java.lang.String getEventHandlerName()
Returns the property eventHandlerName.

Specified by:
getEventHandlerName in interface Task
See Also:
Task.getEventHandlerName()

getWorkBasketName

public java.lang.String getWorkBasketName()
Returns the property workBasketName.

Specified by:
getWorkBasketName in interface Task
See Also:
Task.getWorkBasketName()

getExpirationTime

public java.util.Calendar getExpirationTime()
Returns the property expirationTime.

Specified by:
getExpirationTime in interface Task
See Also:
Task.getExpirationTime()

getDeletionTime

public java.util.Calendar getDeletionTime()
Returns the property deletionTime.

Specified by:
getDeletionTime in interface Task
See Also:
Task.getDeletionTime()

getFaultMessageWrapper

public MessageWrapper getFaultMessageWrapper()
                                      throws ClientException
Retrieves the fault message. If the task instance is in state inactive an empty message is returned.

Returns:
The wrapped message.
Throws:
ClientException

getFirstActivationTime

public java.util.Calendar getFirstActivationTime()
Returns the property firstActivationTime.

Specified by:
getFirstActivationTime in interface Task
See Also:
Task.getFirstActivationTime()

getFollowOnTaskID

public TKIID getFollowOnTaskID()
Returns the property followOnTaskID.

Specified by:
getFollowOnTaskID in interface Task
See Also:
Task.getFollowOnTaskID()

getID

public TKIID getID()
Returns the property ID.

Specified by:
getID in interface Task
See Also:
Task.getID()

getInputMessageTypeName

public java.lang.String getInputMessageTypeName()
Returns the property inputMessageTypeName.

Specified by:
getInputMessageTypeName in interface Task
See Also:
Task.getInputMessageTypeName()

getInputMessageWrapper

public MessageWrapper getInputMessageWrapper()
                                      throws ClientException
Retrieves the input message. If web client settings are available the context root and the URL are retrieved.

Returns:
The wrapped message and web client settings.
Throws:
ClientException
See Also:
HumanTaskManagerService.getInputMessage(com.ibm.task.api.TKIID)

getJNDINameOfCalendar

public java.lang.String getJNDINameOfCalendar()
Returns the property JNDINameOfCalendar.

Specified by:
getJNDINameOfCalendar in interface Task
See Also:
Task.getJNDINameOfCalendar()

getJNDINameOfStaffPluginProvider

public java.lang.String getJNDINameOfStaffPluginProvider()
Returns the property JNDINameOfStaffPluginProvider.

Specified by:
getJNDINameOfStaffPluginProvider in interface Task
See Also:
Task.getJNDINameOfStaffPluginProvider()

getKind

public int getKind()
Returns the property kind.

Specified by:
getKind in interface Task
See Also:
Task.getKind()

getLastModificationTime

public java.util.Calendar getLastModificationTime()
Returns the property lastModificationTime.

Specified by:
getLastModificationTime in interface Task
See Also:
Task.getLastModificationTime()

getLastStateChangeTime

public java.util.Calendar getLastStateChangeTime()
Returns the property lastStateChangeTime.

Specified by:
getLastStateChangeTime in interface Task
See Also:
Task.getLastStateChangeTime()

getLocalesOfDescriptions

public java.util.List getLocalesOfDescriptions()
Returns the property localesOfDescriptions.

Specified by:
getLocalesOfDescriptions in interface Task
See Also:
Task.getLocalesOfDescriptions()

getLocalesOfDisplayNames

public java.util.List getLocalesOfDisplayNames()
Returns the property localesOfDisplayNames.

Specified by:
getLocalesOfDisplayNames in interface Task
See Also:
Task.getLocalesOfDisplayNames()

getName

public java.lang.String getName()
Returns the property name.

Specified by:
getName in interface Task
See Also:
Task.getName()

getNamespace

public java.lang.String getNamespace()
Returns the property namespace.

Specified by:
getNamespace in interface Task
See Also:
Task.getNamespace()

getDefinitionName

public java.lang.String getDefinitionName()
Returns the property definition name.

Specified by:
getDefinitionName in interface Task
See Also:
Task.getDefinitionName()

getDefinitionNamespace

public java.lang.String getDefinitionNamespace()
Returns the property definition namespace.

Specified by:
getDefinitionNamespace in interface Task
See Also:
Task.getDefinitionNamespace()

getOriginal

protected Task getOriginal()

getOriginator

public java.lang.String getOriginator()
Returns the property originator.

Specified by:
getOriginator in interface Task
See Also:
Task.getOriginator()

getOutputMessageTypeName

public java.lang.String getOutputMessageTypeName()
Returns the property outputMessageTypeName.

Specified by:
getOutputMessageTypeName in interface Task
See Also:
Task.getOutputMessageTypeName()

getOutputMessageWrapper

public MessageWrapper getOutputMessageWrapper()
                                       throws ClientException
Retrieves the output message. If web client settings are available the context root and the URL are retrieved.

Returns:
The wrapped message and web client settings.
Throws:
ClientException
See Also:
HumanTaskManagerService

getOwner

public java.lang.String getOwner()
Returns the property owner.

Specified by:
getOwner in interface Task
See Also:
Task.getOwner()

getParentContextID

public OID getParentContextID()
Returns the property parentContextID.

Specified by:
getParentContextID in interface Task
See Also:
Task.getParentContextID()

getInvokedInstanceID

public OID getInvokedInstanceID()
Returns the property invokedInstanceID.

Specified by:
getInvokedInstanceID in interface Task
See Also:
Task.getInvokedInstanceID()

getPriority

public java.lang.Integer getPriority()
Returns the property priority.

Specified by:
getPriority in interface Task
See Also:
Task.getPriority()

getResumptionTime

public java.util.Calendar getResumptionTime()
Returns the property resumptionTime.

Specified by:
getResumptionTime in interface Task
See Also:
Task.getResumptionTime()

getStarter

public java.lang.String getStarter()
Returns the property starter.

Specified by:
getStarter in interface Task
See Also:
Task.getStarter()

getStartTime

public java.util.Calendar getStartTime()
Returns the property startTime.

Specified by:
getStartTime in interface Task
See Also:
Task.getStartTime()

getState

public int getState()
Returns the property state.

Specified by:
getState in interface Task
See Also:
Task.getState()

getSubstitutionPolicy

public int getSubstitutionPolicy()
Returns the property substitutionPolicy.

Specified by:
getSubstitutionPolicy in interface Task
See Also:
Task.getSubstitutionPolicy()

getTaskTemplateID

public TKTID getTaskTemplateID()
Returns the property taskTemplateID.

Specified by:
getTaskTemplateID in interface Task
See Also:
Task.getTaskTemplateID()

getTaskTemplateName

public java.lang.String getTaskTemplateName()
Returns the property taskTemplateName.

Specified by:
getTaskTemplateName in interface Task

getTopLevelTaskID

public TKIID getTopLevelTaskID()
Returns the property topLevelTaskID.

Specified by:
getTopLevelTaskID in interface Task
See Also:
Task.getTopLevelTaskID()

getType

public java.lang.String getType()
Returns the property type.

Specified by:
getType in interface Task
See Also:
Task.getType()

isAdHoc

public boolean isAdHoc()
Returns the property adHoc.

Specified by:
isAdHoc in interface Task
See Also:
Task.isAdHoc()

isBusinessRelevant

public boolean isBusinessRelevant()
Returns the property businessRelevant.

Specified by:
isBusinessRelevant in interface Task
See Also:
Task.isBusinessRelevant()

isEscalatedUpdateable

public boolean isEscalatedUpdateable()
Returns the property escalatedUpdateable().

Specified by:
isEscalatedUpdateable in interface Task
See Also:
Task.isEscalatedUpdateable()

isReadUpdateable

public boolean isReadUpdateable()
Returns the property readUpdateable().

Specified by:
isReadUpdateable in interface Task
See Also:
Task.isReadUpdateable()

isChild

public boolean isChild()
Returns the property isChild.

Specified by:
isChild in interface Task
See Also:
Task.isChild()

isRead

public boolean isRead()
Returns the property isRead.

Specified by:
isRead in interface Task
See Also:
Task.isRead()

isTransferredToWorkBasket

public boolean isTransferredToWorkBasket()
Returns the property isTransferrredToWorkBasket.

Specified by:
isTransferredToWorkBasket in interface Task
See Also:
Task.isTransferredToWorkBasket()

isEscalated

public boolean isEscalated()
Returns the property escalated.

Specified by:
isEscalated in interface Task
See Also:
Task.isEscalated()

isInline

public boolean isInline()
Returns the property inline.

Specified by:
isInline in interface Task
See Also:
Task.isInline()

isSuspended

public boolean isSuspended()
Returns the property suspended.

Specified by:
isSuspended in interface Task
See Also:
Task.isSuspended()

isWaitingForSubTask

public boolean isWaitingForSubTask()
Returns the property waitingForSubTask.

Specified by:
isWaitingForSubTask in interface Task
See Also:
Task.isWaitingForSubTask()

setBusinessRelevance

public void setBusinessRelevance(boolean arg0)
Sets the property businessRelevance.

Specified by:
setBusinessRelevance in interface Task
Parameters:
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.
See Also:
Task.setBusinessRelevance(boolean)

isBusinessRelevanceUpdateable

public boolean isBusinessRelevanceUpdateable()
Signals whether the business relevance property can be changed for the kind and current state of the object.

Specified by:
isBusinessRelevanceUpdateable in interface Task

setContextAuthorizationOfOwner

public void setContextAuthorizationOfOwner(int arg0)
Sets the property contextAuthorizationOfOwner.

Specified by:
setContextAuthorizationOfOwner in interface Task
Parameters:
arg0 - The authorization rights of the task owner for the associated context.

Possible values are: AUTH_NONE, AUTH_READER.

See Also:
Task.setContextAuthorizationOfOwner(int)

isContextAuthorizationOfOwnerUpdateable

public boolean isContextAuthorizationOfOwnerUpdateable()
Signals whether the context authorization property can be changed for the kind and current state of the object.

Specified by:
isContextAuthorizationOfOwnerUpdateable in interface Task

setDescription

public void setDescription(java.lang.String arg0,
                           java.util.Locale arg1)
Sets the property description.

Specified by:
setDescription in interface Task
Parameters:
arg0 - The new value of the description.
arg1 - The locale for which the description is set.
See Also:
Task.setDescription(java.lang.String, java.util.Locale)

isDescriptionUpdateable

public boolean isDescriptionUpdateable()
Signals whether the description property can be changed for the kind and current state of the object.

Specified by:
isDescriptionUpdateable in interface Task

setDisplayName

public void setDisplayName(java.lang.String arg0,
                           java.util.Locale arg1)
Sets the property displayName.

Specified by:
setDisplayName in interface Task
Parameters:
arg0 - The new value of the display name.
arg1 - The locale for which the display name is set.
See Also:
Task.setDisplayName(java.lang.String, java.util.Locale)

isDisplayNameUpdateable

public boolean isDisplayNameUpdateable()
Signals whether the display name property can be changed for the kind and current state of the object.

Specified by:
isDisplayNameUpdateable in interface Task

setDurationUntilDeleted

public void setDurationUntilDeleted(java.lang.String arg0)
Sets the property durationUntilDeleted.

Specified by:
setDurationUntilDeleted in interface Task
Parameters:
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.
See Also:
Task.setDurationUntilDeleted(java.lang.String)

isDurationUntilDeletedUpdateable

public boolean isDurationUntilDeletedUpdateable()
Signals whether the duration until deleted property can be changed for the kind and current state of the object.

Specified by:
isDurationUntilDeletedUpdateable in interface Task

setDurationUntilDue

public void setDurationUntilDue(java.lang.String arg0)
Sets the property durationUntilDue.

Specified by:
setDurationUntilDue in interface Task
Parameters:
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.
See Also:
Task.setDurationUntilDue(java.lang.String)

isDurationUntilDueUpdateable

public boolean isDurationUntilDueUpdateable()
Signals whether the duration until due property can be changed for the kind and current state of the object.

Specified by:
isDurationUntilDueUpdateable in interface Task

setDurationUntilExpires

public void setDurationUntilExpires(java.lang.String arg0)
Sets the property durationUntilExpires.

Specified by:
setDurationUntilExpires in interface Task
Parameters:
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.
See Also:
Task.setDurationUntilExpires(java.lang.String)

isDurationUntilExpiresUpdateable

public boolean isDurationUntilExpiresUpdateable()
Signals whether the duration until expires property can be changed for the kind and current state of the object.

Specified by:
isDurationUntilExpiresUpdateable in interface Task

setDueTime

public void setDueTime(java.util.Calendar arg0)
Sets the property dueTime.

Specified by:
setDueTime in interface Task
Parameters:
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,
See Also:
com.ibm.task.api.Task#setDueTime(java.lang.Calendar)

isDueTimeUpdateable

public boolean isDueTimeUpdateable()
Signals whether the due time property can be changed for the kind and current state of the object.

Specified by:
isDueTimeUpdateable in interface Task

setExpirationTime

public void setExpirationTime(java.util.Calendar arg0)
Sets the property expirationTime.

Specified by:
setExpirationTime in interface Task
Parameters:
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,
See Also:
com.ibm.task.api.Task#setExpirationTime(java.lang.Calendar)

isExpirationTimeUpdateable

public boolean isExpirationTimeUpdateable()
Signals whether the expiration time property can be changed for the kind and current state of the object.

Specified by:
isExpirationTimeUpdateable in interface Task

setDeletionTime

public void setDeletionTime(java.util.Calendar arg0)
Sets the property deletionTime.

Specified by:
setDeletionTime in interface Task
Parameters:
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,
See Also:
com.ibm.task.api.Task#setDeletionTime(java.lang.Calendar)

isDeletionTimeUpdateable

public boolean isDeletionTimeUpdateable()
Signals whether the deletion time property can be changed for the kind and current state of the object.

Specified by:
isDeletionTimeUpdateable in interface Task

setEscalated

public void setEscalated(boolean escalatedState)
Sets the property escalated.

Specified by:
setEscalated in interface Task
Parameters:
escalatedState -

setChild

public void setChild(boolean childState)
Sets the property child.

Parameters:
childState -

setRead

public void setRead(boolean readState)
Sets the property read.

Specified by:
setRead in interface Task
Parameters:
readState -

setEventHandlerName

public void setEventHandlerName(java.lang.String arg0)
Sets the property eventHandlerName.

Specified by:
setEventHandlerName in interface Task
Parameters:
arg0 - The name of the event handler to be associated.
See Also:
Task.setEventHandlerName(java.lang.String)

isEventHandlerNameUpdateable

public boolean isEventHandlerNameUpdateable()
Signals whether the event handler name property can be changed for the kind and current state of the object.

Specified by:
isEventHandlerNameUpdateable in interface Task

setWorkBasketName

public void setWorkBasketName(java.lang.String arg0)
Sets the property workBasketName.

Specified by:
setWorkBasketName in interface Task
Parameters:
arg0 - The name of the work basket to be associated. Null means that the task is no longer associated to any work basket.
See Also:
Task.setWorkBasketName(java.lang.String)

isWorkBasketNameUpdateable

public boolean isWorkBasketNameUpdateable()
Signals whether the work basket name property can be changed for the kind and current state of the object.

Specified by:
isWorkBasketNameUpdateable in interface Task

setLocalisedDescription

public void setLocalisedDescription(java.lang.String description,
                                    java.util.Locale locale)
Sets the property description.

Parameters:
description -
locale -
See Also:
Task.setDescription(java.lang.String, java.util.Locale)

setLocalisedDisplayName

public void setLocalisedDisplayName(java.lang.String displayName,
                                    java.util.Locale locale)
Sets the property displayName.

Parameters:
displayName -
locale -
See Also:
Task.setDisplayName(java.lang.String, java.util.Locale)

setName

public void setName(java.lang.String arg0)
Sets the property name.

Specified by:
setName in interface Task
Parameters:
arg0 - The new name of the task instance.
See Also:
Task.setName(java.lang.String)

isNameUpdateable

public boolean isNameUpdateable()
Signals whether the name property can be changed for the kind and current state of the object.

Specified by:
isNameUpdateable in interface Task

setNamespace

public void setNamespace(java.lang.String arg0)
Sets the property namespace.

Specified by:
setNamespace in interface Task
Parameters:
arg0 - The new namespace of the task instance.
See Also:
Task.setNamespace(java.lang.String)

isNamespaceUpdateable

public boolean isNamespaceUpdateable()
Signals whether the namespace property can be changed for the kind and current state of the object.

Specified by:
isNamespaceUpdateable in interface Task

setParentContextID

public void setParentContextID(OID arg0)
Sets the property parentContextID.

Specified by:
setParentContextID in interface Task
Parameters:
arg0 - The object ID of the parent context.
See Also:
Task.setParentContextID(com.ibm.bpe.api.OID)

isParentContextIDUpdateable

public boolean isParentContextIDUpdateable()
Signals whether the parent context i d property can be changed for the kind and current state of the object.

Specified by:
isParentContextIDUpdateable in interface Task

setPriority

public void setPriority(java.lang.Integer arg0)
Sets the property priority.

Specified by:
setPriority in interface Task
Parameters:
arg0 - The priority of the task instance.
See Also:
Task.setPriority(java.lang.Integer)

isPriorityUpdateable

public boolean isPriorityUpdateable()
Signals whether the priority property can be changed for the kind and current state of the object.

Specified by:
isPriorityUpdateable in interface Task

setState

public void setState(java.lang.Integer newState)
Sets the property state.

Parameters:
newState -

setSupportsClaimIfSuspended

public void setSupportsClaimIfSuspended(boolean arg0)
Sets the property supportsClaimIfSuspended.

Specified by:
setSupportsClaimIfSuspended in interface Task
Parameters:
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.
See Also:
Task.setSupportsClaimIfSuspended(boolean)

setSupportsDelegation

public void setSupportsDelegation(boolean arg0)
Sets the property supportsDelegation.

Specified by:
setSupportsDelegation in interface Task
Parameters:
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.
See Also:
Task.setSupportsDelegation(boolean)

isSupportsDelegationUpdateable

public boolean isSupportsDelegationUpdateable()
Signals whether the supports delegation property can be changed for the kind and current state of the object.

Specified by:
isSupportsDelegationUpdateable in interface Task

setSupportsSubTasks

public void setSupportsSubTasks(boolean arg0)
Sets the property supportsSubTasks.

Specified by:
setSupportsSubTasks in interface Task
Parameters:
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.
See Also:
Task.setSupportsSubTasks(boolean)

isSupportsSubTasksUpdateable

public boolean isSupportsSubTasksUpdateable()
Signals whether the supports sub task property can be changed for the kind and current state of the object.

Specified by:
isSupportsSubTasksUpdateable in interface Task

setSupportsFollowOnTasks

public void setSupportsFollowOnTasks(boolean arg0)
Sets the property supportsFollowOnTasks.

Specified by:
setSupportsFollowOnTasks in interface Task
Parameters:
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.
See Also:
Task.setSupportsFollowOnTasks(boolean)

isSupportsFollowOnTasksUpdateable

public boolean isSupportsFollowOnTasksUpdateable()
Signals whether the supports follow on task property can be changed for the kind and current state of the object.

Specified by:
isSupportsFollowOnTasksUpdateable in interface Task

setSuspended

public void setSuspended(boolean suspendedState)
Sets the property suspended.

Parameters:
suspendedState -

setType

public void setType(java.lang.String arg0)
Sets the property type.

Specified by:
setType in interface Task
Parameters:
arg0 - The type of the task instance.
See Also:
Task.setType(java.lang.String)

isTypeUpdateable

public boolean isTypeUpdateable()
Signals whether the type property can be changed for the kind and current state of the object.

Specified by:
isTypeUpdateable in interface Task

supportsAutomaticClaim

public boolean supportsAutomaticClaim()
Returns the property supportsAutomaticClaim.

Specified by:
supportsAutomaticClaim in interface Task
See Also:
Task.supportsAutomaticClaim()

supportsDelegation

public boolean supportsDelegation()
Returns the property supportsDelegation.

Specified by:
supportsDelegation in interface Task
See Also:
Task.supportsDelegation()

supportsSubTasks

public boolean supportsSubTasks()
Returns the property supportsSubTasks.

Specified by:
supportsSubTasks in interface Task
See Also:
Task.supportsSubTasks()

supportsFollowOnTasks

public boolean supportsFollowOnTasks()
Returns the property supportsFollowOnTasks.

Specified by:
supportsFollowOnTasks in interface Task
See Also:
Task.supportsFollowOnTasks()

supportsClaimIfSuspended

public boolean supportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended.

Specified by:
supportsClaimIfSuspended in interface Task
See Also:
Task.supportsClaimIfSuspended()

isSupportsAutomaticClaim

public boolean isSupportsAutomaticClaim()
Returns the property supportsAutomaticClaim.

Returns:
supportsAutomaticClaim
See Also:
Task.supportsAutomaticClaim()

isSupportsDelegation

public boolean isSupportsDelegation()
Returns the property supportsDelegation.

Returns:
supportsDelegation
See Also:
Task.supportsDelegation()

isSupportsSubTasks

public boolean isSupportsSubTasks()
Returns the property supportsSubTasks.

Returns:
supportsSubTasks
See Also:
Task.supportsSubTasks()

isSupportsFollowOnTasks

public boolean isSupportsFollowOnTasks()
Returns the property supportsFollowOnTasks.

Returns:
supportsFollowOnTasks
See Also:
Task.supportsFollowOnTasks()

isSupportsClaimIfSuspended

public boolean isSupportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended.

Returns:
supportsClaimIfSuspended
See Also:
Task.supportsClaimIfSuspended()

isSupportsClaimIfSuspendedUpdateable

public boolean isSupportsClaimIfSuspendedUpdateable()
Signals whether the supports claim suspended property can be changed for the kind and current state of the object.

Specified by:
isSupportsClaimIfSuspendedUpdateable in interface Task

getPositionInHierarchy

public int getPositionInHierarchy()
Returns the property positionInHierarchy.

Specified by:
getPositionInHierarchy in interface Task
See Also:
Task.getPositionInHierarchy()

getApplicationName

public java.lang.String getApplicationName()
Description copied from interface: Task
Returns the name of the application the task is part of.

Specified by:
getApplicationName in interface Task

setApplicationName

public void setApplicationName(java.lang.String newApplicationName)

getHTMConnection

protected HTMConnection getHTMConnection()
Returns:
Returns the connection.

setHTMConnection

protected void setHTMConnection(HTMConnection connection)
Parameters:
connection - The connection to set.

setOriginal

protected void setOriginal(Task task)
Parameters:
task - ???

IBM WebSphere Application ServerTM
Release 7