|
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.TaskTemplateBean
public class TaskTemplateBean
Accesses the properties of the original TaskTemplate
object
and adds metadata for national language support and converters.
A TaskTemplateBean
object can be instantiated from
a TaskTemplate
object.
TaskTemplate
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ADHOC_PROPERTY
Use the property name to determine labels and converters for the adHoc property. |
static java.lang.String |
APPLICATIONDEFAULTSID_PROPERTY
Use the property name to determine labels and converters for the applicationDefaultsID property. |
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 |
CALENDARNAME_PROPERTY
Use the property name to determine labels and converters for the calendarName property. |
static java.lang.String |
CONTAINMENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the containmentContextID property. |
static java.lang.String |
CONTEXTAUTHORIZATIONOFOWNER_PROPERTY
Use the property name to determine labels and converters for the contextAuthorizationOfOwner property. |
static java.lang.String |
COPYRIGHT
|
static java.lang.String |
DEFINITIONNAME_PROPERTY
Use the property name to determine labels and converters for the definition name property. |
static java.lang.String |
DEFINITIONNAMESPACE_PROPERTY
Use the property name to determine labels and converters for the definition namespace 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 |
DURATIONUNTILDELETED_PROPERTY
Use the property name to determine labels and converters for the durationUntilDeleted property. |
static java.lang.String |
DURATIONUNTILDUE_PROPERTY
Use the property name to determine labels and converters for the durationUntilDue property. |
static java.lang.String |
DURATIONUNTILEXPIRES_PROPERTY
Use the property name to determine labels and converters for the durationUntilExpires property. |
static java.lang.String |
ESCALATIONTEMPLATEIDS_PROPERTY
Use the property name to determine labels and converters for the escalationTemplateIDs property. |
static java.lang.String |
EVENTHANDLERNAME_PROPERTY
Use the property name to determine labels and converters for the eventHandlerName 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 |
JNDINAMEOFCALENDAR_PROPERTY
Use the property name to determine labels and converters for the JNDINameOfCalendar property. |
static java.lang.String |
JNDINAMEOFSTAFFPLUGINPROVIDER_PROPERTY
Use the property name to determine labels and converters for the JNDINameOfStaffPluginProvider property. |
static java.lang.String |
KIND_PROPERTY
Use the property name to determine labels and converters for the kind 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 namespace property. |
static java.lang.String |
PRIORITY_DEFINITION_PROPERTY
Use the property name to determine labels and converters for the priority definition property. |
static java.lang.String |
PRIORITY_PROPERTY
Use the property name to determine labels and converters for the priority property. |
static java.lang.String |
STATE_PROPERTY
Use the property name to determine labels and converters for the property state. |
static java.lang.String |
SUBSTITUTIONPOLICY_PROPERTY
Use the property name to determine labels and converters for the property substitution policy. |
static java.lang.String |
SUPPORTSAUTOMATICCLAIM_PROPERTY
Use the property name to determine labels and converters for the property supportsAutomaticClaim. |
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 supportsClaimIfSuspended. |
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 |
TYPE_PROPERTY
Use the property name to determine labels and converters for the type property. |
static java.lang.String |
VALIDFROMTIME_PROPERTY
Use the property name to determine labels and converters for the validFromTime property. |
static java.lang.String |
WORKBASKETNAME_PROPERTY
Use the property name to determine labels and converters for the workBasketName property. |
Constructor Summary | |
---|---|
|
TaskTemplateBean(TaskTemplate data,
HTMConnection htmConnection)
Constructs a new TaskTemplate object. |
protected |
TaskTemplateBean(TKTID id,
HTMConnection htmConnection,
java.util.Locale locale)
Constructs a TaskTemplateBean from a task template id. |
Method Summary | |
---|---|
ACOID |
getApplicationDefaultsID()
Returns the applicationDefaultsID property. |
java.lang.String |
getApplicationName()
Returns the applicationName property. |
int |
getAssignmentType()
Returns the property assignmentType . |
int |
getAutoDeletionMode()
Returns the property autoDeletionMode . |
int |
getAutonomy()
Returns the property autonomy . |
java.lang.String |
getCalendarName()
Returns the property calendarName . |
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 . |
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.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 . |
TKTID |
getID()
Returns the property ID . |
int |
getInheritedAuthorization()
Returns the property inheritedAuthorization . |
MessageWrapper |
getInputMessageWrapper()
Retrieves the input message. |
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.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 . |
java.lang.Integer |
getPriority()
Returns the property priority . |
java.lang.String |
getPriorityDefinition()
Returns the property priority definition . |
int |
getState()
Returns the property state . |
int |
getSubstitutionPolicy()
Returns the property substitutionPolicy . |
java.lang.String |
getType()
Returns the property type . |
java.util.Calendar |
getValidFromTime()
Returns the property validFromTime . |
java.lang.String |
getWorkBasketName()
Returns the workBasketName property. |
boolean |
isAdHoc()
Returns the property adHoc . |
boolean |
isBusinessRelevant()
Returns the property businessRelevant . |
boolean |
isInline()
Returns the property inline . |
boolean |
isSupportsAutomaticClaim()
Returns the property supportsAutomaticClaim . |
boolean |
isSupportsClaimIfSuspended()
Returns the property supportsClaimIfSuspended . |
boolean |
isSupportsDelegation()
Returns the property supportsDelegation . |
boolean |
isSupportsFollowOnTasks()
Returns the property supportsFollowOnTasks . |
boolean |
isSupportsSubTasks()
Returns the property supportsSubTasks . |
static boolean |
isValid(java.lang.String propertyName)
Checks if the property is valid. |
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 APPLICATIONDEFAULTSID_PROPERTY
applicationDefaultsID
property.
public static final java.lang.String APPLICATIONNAME_PROPERTY
applicationName
property.
public static final java.lang.String AUTODELETIONMODE_PROPERTY
public static final java.lang.String ASSIGNMENTTYPE_PROPERTY
public static final java.lang.String INHERITEDAUTHORIZATION_PROPERTY
public static final java.lang.String CALENDARNAME_PROPERTY
public static final java.lang.String CONTAINMENTCONTEXTID_PROPERTY
public static final java.lang.String CONTEXTAUTHORIZATIONOFOWNER_PROPERTY
public static final java.lang.String DESCRIPTION_PROPERTY
public static final java.lang.String DISPLAYNAME_PROPERTY
public static final java.lang.String DURATIONUNTILDELETED_PROPERTY
public static final java.lang.String DURATIONUNTILDUE_PROPERTY
public static final java.lang.String DURATIONUNTILEXPIRES_PROPERTY
public static final java.lang.String ESCALATIONTEMPLATEIDS_PROPERTY
public static final java.lang.String EVENTHANDLERNAME_PROPERTY
public static final java.lang.String ID_PROPERTY
public static final java.lang.String JNDINAMEOFCALENDAR_PROPERTY
public static final java.lang.String JNDINAMEOFSTAFFPLUGINPROVIDER_PROPERTY
public static final java.lang.String KIND_PROPERTY
public static final java.lang.String NAME_PROPERTY
public static final java.lang.String NAMESPACE_PROPERTY
public static final java.lang.String DEFINITIONNAME_PROPERTY
public static final java.lang.String DEFINITIONNAMESPACE_PROPERTY
public static final java.lang.String PRIORITY_PROPERTY
public static final java.lang.String PRIORITY_DEFINITION_PROPERTY
public static final java.lang.String TYPE_PROPERTY
public static final java.lang.String VALIDFROMTIME_PROPERTY
public static final java.lang.String ADHOC_PROPERTY
public static final java.lang.String BUSINESSRELEVANT_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 STATE_PROPERTY
public static final java.lang.String SUBSTITUTIONPOLICY_PROPERTY
public static java.lang.String INLINE_PROPERTY
public static final java.lang.String WORKBASKETNAME_PROPERTY
workBasketName
property.
Constructor Detail |
---|
public TaskTemplateBean(TaskTemplate data, HTMConnection htmConnection)
TaskTemplate
object.
data
- The original data object.htmConnection
- The connection to the HumanTaskManagerService API.protected TaskTemplateBean(TKTID id, HTMConnection htmConnection, java.util.Locale locale)
TaskTemplateBean
from a task template id.
id
- The task template id.htmConnection
- The connection to the HumanTaskManagerService API.locale
- The locale of the locale dependant properties.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 ACOID getApplicationDefaultsID()
applicationDefaultsID
property.
getApplicationDefaultsID
in interface TaskTemplate
TaskTemplate.getApplicationDefaultsID()
public java.lang.String getApplicationName()
applicationName
property.
getApplicationName
in interface TaskTemplate
TaskTemplate.getApplicationName()
public java.lang.String getWorkBasketName()
workBasketName
property.
getWorkBasketName
in interface TaskTemplate
TaskTemplate.getWorkBasketName()
public int getAutoDeletionMode()
autoDeletionMode
.
getAutoDeletionMode
in interface TaskTemplate
TaskTemplate.getAutoDeletionMode()
public int getAssignmentType()
assignmentType
.
getAssignmentType
in interface TaskTemplate
TaskTemplate.getAssignmentType()
public int getInheritedAuthorization()
inheritedAuthorization
.
getInheritedAuthorization
in interface TaskTemplate
TaskTemplate.getInheritedAuthorization()
public java.lang.String getCalendarName()
calendarName
.
getCalendarName
in interface TaskTemplate
TaskTemplate.getCalendarName()
public OID getContainmentContextID()
containmentContextID
.
getContainmentContextID
in interface TaskTemplate
TaskTemplate.getContainmentContextID()
public int getContextAuthorizationOfOwner()
contextAuthorizationOfOwner
.
getContextAuthorizationOfOwner
in interface TaskTemplate
TaskTemplate.getContextAuthorizationOfOwner()
public java.lang.String getDescription(java.util.Locale locale)
description
.
getDescription
in interface TaskTemplate
locale
- The locale for which the description is to be provided.TaskTemplate.getDescription(Locale arg0)
public com.ibm.bpc.clientcore.util.LocalisedString getDescription()
public java.lang.String getDisplayName(java.util.Locale locale)
displayName
.
getDisplayName
in interface TaskTemplate
locale
- The locale for which the display name is to be provided.TaskTemplate.getDisplayName(Locale arg0)
public com.ibm.bpc.clientcore.util.LocalisedString getDisplayName()
public java.lang.String getDurationUntilDeleted()
durationUntilDeleted
.
getDurationUntilDeleted
in interface TaskTemplate
TaskTemplate.getDurationUntilDeleted()
public java.lang.String getDurationUntilDue()
durationUntilDue
.
getDurationUntilDue
in interface TaskTemplate
TaskTemplate.getDurationUntilDue()
public java.lang.String getDurationUntilExpires()
durationUntilExpires
.
getDurationUntilExpires
in interface TaskTemplate
TaskTemplate.getDurationUntilExpires()
public java.lang.String getEventHandlerName()
eventHandlerName
.
getEventHandlerName
in interface TaskTemplate
TaskTemplate.getEventHandlerName()
public TKTID getID()
ID
.
getID
in interface TaskTemplate
TaskTemplate.getID()
public java.lang.String getJNDINameOfCalendar()
JNDINameOfCalendar
.
getJNDINameOfCalendar
in interface TaskTemplate
TaskTemplate.getJNDINameOfCalendar()
public java.lang.String getJNDINameOfStaffPluginProvider()
JNDINameOfStaffPluginProvider
.
getJNDINameOfStaffPluginProvider
in interface TaskTemplate
TaskTemplate.getJNDINameOfStaffPluginProvider()
public int getKind()
kind
.
getKind
in interface TaskTemplate
TaskTemplate.getKind()
public java.util.List getLocalesOfDescriptions()
localesOfDescriptions
.
getLocalesOfDescriptions
in interface TaskTemplate
TaskTemplate.getLocalesOfDescriptions()
public java.util.List getLocalesOfDisplayNames()
localesOfDisplayNames
.
getLocalesOfDisplayNames
in interface TaskTemplate
TaskTemplate.getLocalesOfDisplayNames()
public java.lang.String getName()
name
.
getName
in interface TaskTemplate
TaskTemplate.getName()
public java.lang.String getNamespace()
namespace
.
getNamespace
in interface TaskTemplate
TaskTemplate.getNamespace()
public java.lang.String getDefinitionName()
definition name
.
getDefinitionName
in interface TaskTemplate
TaskTemplate.getDefinitionName()
public java.lang.String getDefinitionNamespace()
definition namespace
.
getDefinitionNamespace
in interface TaskTemplate
TaskTemplate.getDefinitionNamespace()
public java.lang.Integer getPriority()
priority
.
getPriority
in interface TaskTemplate
TaskTemplate.getPriority()
public java.lang.String getPriorityDefinition()
priority definition
.
getPriorityDefinition
in interface TaskTemplate
TaskTemplate.getPriorityDefinition()
public int getState()
state
.
getState
in interface TaskTemplate
public int getAutonomy()
autonomy
.
getAutonomy
in interface TaskTemplate
public int getSubstitutionPolicy()
substitutionPolicy
.
getSubstitutionPolicy
in interface TaskTemplate
public java.lang.String getType()
type
.
getType
in interface TaskTemplate
TaskTemplate.getType()
public java.util.Calendar getValidFromTime()
validFromTime
.
getValidFromTime
in interface TaskTemplate
TaskTemplate.getValidFromTime()
public boolean isAdHoc()
adHoc
.
isAdHoc
in interface TaskTemplate
TaskTemplate.isAdHoc()
public boolean isBusinessRelevant()
businessRelevant
.
isBusinessRelevant
in interface TaskTemplate
TaskTemplate.isBusinessRelevant()
public boolean supportsAutomaticClaim()
supportsAutomaticClaim
.
supportsAutomaticClaim
in interface TaskTemplate
TaskTemplate.supportsAutomaticClaim()
public boolean supportsClaimIfSuspended()
supportsClaimIfSuspended
.
supportsClaimIfSuspended
in interface TaskTemplate
TaskTemplate.supportsClaimIfSuspended()
public boolean supportsDelegation()
supportsDelegation
.
supportsDelegation
in interface TaskTemplate
TaskTemplate.supportsDelegation()
public boolean supportsSubTasks()
supportsSubTasks
.
supportsSubTasks
in interface TaskTemplate
TaskTemplate.supportsSubTasks()
public boolean supportsFollowOnTasks()
supportsFollowOnTasks
.
supportsFollowOnTasks
in interface TaskTemplate
TaskTemplate.supportsFollowOnTasks()
public boolean isSupportsAutomaticClaim()
supportsAutomaticClaim
.
TaskTemplate.supportsAutomaticClaim()
public boolean isSupportsClaimIfSuspended()
supportsClaimIfSuspended
.
TaskTemplate.supportsClaimIfSuspended()
public boolean isSupportsDelegation()
supportsDelegation
.
TaskTemplate.supportsDelegation()
public boolean isSupportsSubTasks()
supportsSubTasks
.
TaskTemplate.supportsSubTasks()
public boolean isSupportsFollowOnTasks()
supportsFollowOnTasks
.
TaskTemplate.supportsFollowOnTasks()
public boolean isInline()
inline
.
isInline
in interface TaskTemplate
TaskTemplate.isInline()
public MessageWrapper getInputMessageWrapper() throws ClientException
ClientException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |