|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.task.clientmodel.bean.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 property adHoc. |
static java.lang.String |
APPLICATIONDEFAULTSID_PROPERTY
Use the property name to determine labels and converters for the property applicationDefaultsID. |
static java.lang.String |
APPLICATIONNAME_PROPERTY
Use the property name to determine labels and converters for the property applicationName. |
static java.lang.String |
BUSINESSRELEVANT_PROPERTY
Use the property name to determine labels and converters for the property businessRelevant. |
static java.lang.String |
CALENDARNAME_PROPERTY
Use the property name to determine labels and converters for the property calendarName. |
static java.lang.String |
CONTAINMENTCONTEXTID_PROPERTY
Use the property name to determine labels and converters for the property containmentContextID. |
static java.lang.String |
CONTEXTAUTHORIZATIONOFOWNER_PROPERTY
Use the property name to determine labels and converters for the property contextAuthorizationOfOwner. |
static java.lang.String |
COPYRIGHT
(C) Copyright IBM Corporation 2005. |
static java.lang.String |
DESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the property description. |
static java.lang.String |
DISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the property displayName. |
static java.lang.String |
DURATIONUNTILDELETED_PROPERTY
Use the property name to determine labels and converters for the property durationUntilDeleted. |
static java.lang.String |
DURATIONUNTILDUE_PROPERTY
Use the property name to determine labels and converters for the property durationUntilDue. |
static java.lang.String |
DURATIONUNTILEXPIRES_PROPERTY
Use the property name to determine labels and converters for the property durationUntilExpires. |
static java.lang.String |
ESCALATIONTEMPLATEIDS_PROPERTY
Use the property name to determine labels and converters for the property escalationTemplateIDs. |
static java.lang.String |
EVENTHANDLERNAME_PROPERTY
Use the property name to determine labels and converters for the property eventHandlerName. |
static java.lang.String |
ID_PROPERTY
Use the property name to determine labels and converters for the property ID. |
static java.lang.String |
JNDINAMEOFCALENDAR_PROPERTY
Use the property name to determine labels and converters for the property JNDINameOfCalendar. |
static java.lang.String |
JNDINAMEOFSTAFFPLUGINPROVIDER_PROPERTY
Use the property name to determine labels and converters for the property JNDINameOfStaffPluginProvider. |
static java.lang.String |
KIND_PROPERTY
Use the property name to determine labels and converters for the property kind. |
static java.lang.String |
NAME_PROPERTY
Use the property name to determine labels and converters for the property name. |
static java.lang.String |
NAMESPACE_PROPERTY
Use the property name to determine labels and converters for the property namespace. |
static java.lang.String |
PRIORITY_PROPERTY
Use the property name to determine labels and converters for the property priority. |
static java.lang.String |
STATE_PROPERTY
Use the property name to determine labels and converters for the property state. |
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 |
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 property type. |
static java.lang.String |
VALIDFROMTIME_PROPERTY
Use the property name to determine labels and converters for the property validFromTime. |
Fields inherited from interface com.ibm.task.api.TaskTemplate |
---|
AUTH_NONE, AUTH_READER, KIND_ADMINISTRATIVE, KIND_HUMAN, KIND_ORIGINATING, KIND_PARTICIPATING, STATE_STARTED, STATE_STOPPED |
Constructor Summary | |
---|---|
TaskTemplateBean(com.ibm.task.api.TaskTemplate data,
HTMConnection htmConnection)
Constructs a new TaskTemplate object. |
Method Summary | |
---|---|
com.ibm.task.api.ACOID |
getApplicationDefaultsID()
Returns the property pplicationDefaultsID . |
java.lang.String |
getApplicationName()
Returns the property applicationName . |
java.lang.String |
getCalendarName()
Returns the property calendarName . |
com.ibm.bpe.api.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. |
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 . |
com.ibm.task.api.TKTID |
getID()
Returns the property ID . |
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 . |
int |
getState()
Returns the property state . |
java.lang.String |
getType()
Returns the property type . |
java.util.Calendar |
getValidFromTime()
Returns the property validFromTime . |
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 |
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 |
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
public static final java.lang.String APPLICATIONNAME_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 PRIORITY_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 STATE_PROPERTY
Constructor Detail |
public TaskTemplateBean(com.ibm.task.api.TaskTemplate data, HTMConnection htmConnection)
TaskTemplate
object.
data
- 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 com.ibm.task.api.ACOID getApplicationDefaultsID()
pplicationDefaultsID
.
getApplicationDefaultsID
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getApplicationDefaultsID()
public java.lang.String getApplicationName()
applicationName
.
getApplicationName
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getApplicationName()
public java.lang.String getCalendarName()
calendarName
.
getCalendarName
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getCalendarName()
public com.ibm.bpe.api.OID getContainmentContextID()
containmentContextID
.
getContainmentContextID
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getContainmentContextID()
public int getContextAuthorizationOfOwner()
contextAuthorizationOfOwner
.
getContextAuthorizationOfOwner
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getContextAuthorizationOfOwner()
public java.lang.String getDescription(java.util.Locale locale)
description
.
getDescription
in interface com.ibm.task.api.TaskTemplate
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 com.ibm.task.api.TaskTemplate
TaskTemplate.getDisplayName(Locale arg0)
public com.ibm.bpc.clientcore.util.LocalisedString getDisplayName()
public java.lang.String getDurationUntilDeleted()
durationUntilDeleted
.
getDurationUntilDeleted
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getDurationUntilDeleted()
public java.lang.String getDurationUntilDue()
durationUntilDue
.
getDurationUntilDue
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getDurationUntilDue()
public java.lang.String getDurationUntilExpires()
durationUntilExpires
.
getDurationUntilExpires
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getDurationUntilExpires()
public java.lang.String getEventHandlerName()
eventHandlerName
.
getEventHandlerName
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getEventHandlerName()
public com.ibm.task.api.TKTID getID()
ID
.
getID
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getID()
public java.lang.String getJNDINameOfCalendar()
JNDINameOfCalendar
.
getJNDINameOfCalendar
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getJNDINameOfCalendar()
public java.lang.String getJNDINameOfStaffPluginProvider()
JNDINameOfStaffPluginProvider
.
getJNDINameOfStaffPluginProvider
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getJNDINameOfStaffPluginProvider()
public int getKind()
kind
.
getKind
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getKind()
public java.util.List getLocalesOfDescriptions()
localesOfDescriptions
.
getLocalesOfDescriptions
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getLocalesOfDescriptions()
public java.util.List getLocalesOfDisplayNames()
localesOfDisplayNames
.
getLocalesOfDisplayNames
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getLocalesOfDisplayNames()
public java.lang.String getName()
name
.
getName
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getName()
public java.lang.String getNamespace()
namespace
.
getNamespace
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getNamespace()
public java.lang.Integer getPriority()
priority
.
getPriority
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getPriority()
public int getState()
state
.
getState
in interface com.ibm.task.api.TaskTemplate
public java.lang.String getType()
type
.
getType
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getType()
public java.util.Calendar getValidFromTime()
validFromTime
.
getValidFromTime
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.getValidFromTime()
public boolean isAdHoc()
adHoc
.
isAdHoc
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.isAdHoc()
public boolean isBusinessRelevant()
businessRelevant
.
isBusinessRelevant
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.isBusinessRelevant()
public boolean supportsAutomaticClaim()
supportsAutomaticClaim
.
supportsAutomaticClaim
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.supportsAutomaticClaim()
public boolean supportsClaimIfSuspended()
supportsClaimIfSuspended
.
supportsClaimIfSuspended
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.supportsClaimIfSuspended()
public boolean supportsDelegation()
supportsDelegation
.
supportsDelegation
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.supportsDelegation()
public boolean supportsSubTasks()
supportsSubTasks
.
supportsSubTasks
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.supportsSubTasks()
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 isInline()
inline
.
isInline
in interface com.ibm.task.api.TaskTemplate
TaskTemplate.isInline()
public MessageWrapper getInputMessageWrapper() throws ClientException
ClientException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |