|
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.bpe.clientmodel.bean.ProcessTemplateBean
public class ProcessTemplateBean
Accesses the properties of the original ProcessTemplateData
object
and adds metadata for national language support and converters.
A ProcessTemplateBean
object can be instantiated from a ProcessTemplateData
object.
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.
ProcessTemplateData
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
APPLICATIONNAME_PROPERTY
Use the property name to determine labels and converters for the applicationName property. |
static java.lang.String |
AUTO_DELETION_MODE
Use the property name to determine labels and converters for the autoDeletionMode property. |
static java.lang.String |
AUTODELETE_PROPERTY
Use the property name to determine labels and converters for the autoDelete property. |
static java.lang.String |
AUTONOMY_PROPERTY
Use the property name to determine labels and converters for the autonomy property. |
static java.lang.String |
AVAILABLEACTIONS_PROPERTY
Use the property name to determine labels and converters for the availableActions property. |
static java.lang.String |
COMPENSATIONDEFINED_PROPERTY
Use the property name to determine labels and converters for the compensationDefined property. |
static java.lang.String |
CONTINUEONERROR_PROPERTY
Use the property name to determine labels and converters for the continueOnError property. |
static java.lang.String |
COPYRIGHT
(C) Copyright IBM Corporation 2005, 2007. |
static java.lang.String |
CREATIONTIME_PROPERTY
Use the property name to determine labels and converters for the creationTime 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 |
DOCUMENTATION_PROPERTY
Use the property name to determine labels and converters for the documentation property. |
static java.lang.String |
EXECUTIONMODE_PROPERTY
Use the property name to determine labels and converters for the executionMode property. |
static java.lang.String |
ID_PROPERTY
Use the property name to determine labels and converters for the ID property. |
static java.lang.String |
INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the inputMessageTypeName property. |
static java.lang.String |
INPUTMESSAGETYPETYPESYSTEM_PROPERTY
Deprecated. |
static java.lang.String |
LASTMODIFICATIONTIME_PROPERTY
Use the property name to determine labels and converters for the lastModificationTime property. |
static java.lang.String |
NAME_PROPERTY
Use the property name to determine labels and converters for the name property. |
static java.lang.String |
OUTPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the outputMessageTypeName property. |
static java.lang.String |
OUTPUTMESSAGETYPETYPESYSTEM_PROPERTY
Deprecated. |
static java.lang.String |
PROCESSADMINSTRATORS_PROPERTY
Deprecated. |
static java.lang.String |
SCHEMAVERSION_PROPERTY
Use the property name to determine labels and converters for the schemaVersion property. |
static java.lang.String |
STATE_PROPERTY
Use the property name to determine labels and converters for the state property. |
static java.lang.String |
TARGETNAMESPACE_PROPERTY
Use the property name to determine labels and converters for the targetNamespace property. |
static java.lang.String |
VALIDFROMTIME_PROPERTY
Use the property name to determine labels and converters for the validFromTime property. |
static java.lang.String |
VERSION_PROPERTY
Use the property name to determine labels and converters for the version property. |
Fields inherited from interface com.ibm.bpe.api.ProcessTemplateData |
---|
AUTO_DELETE_NO, AUTO_DELETE_ON_SUCCESSFUL_COMPLETION, AUTO_DELETE_YES, AUTONOMY_CHILD, AUTONOMY_NOT_APPLICABLE, AUTONOMY_PEER, EXECUTION_MODE_LONG_RUNNING, EXECUTION_MODE_MICROFLOW, KIND_BLOCK, KIND_PROCESS, SCHEMA_5_1, SCHEMA_5_1_1, SCHEMA_6_0, SCHEMA_6_0_2, SCHEMA_6_1, SCHEMA_6_1_2, SCHEMA_6_2, SCHEMA_7_0, STATE_STARTED, STATE_STOPPED |
Constructor Summary | |
---|---|
ProcessTemplateBean(ProcessTemplateData data,
BFMConnection bfmConnection)
Constructs a new ProcessTemplateBean from an original
ProcessTemplateData object. |
Method Summary | |
---|---|
java.util.List |
getActivityServiceTemplates()
Returns the list of starting activities for the process template. |
TKTID |
getAdminTaskTemplateID()
Returns the property adminTaskTemplateID . |
java.lang.String |
getApplicationName()
Returns the property applicationName . |
boolean |
getAutoDelete()
Deprecated. |
int |
getAutoDeletionMode()
Returns the property autoDeletionMode . |
int |
getAutonomy()
Returns the property autonomy . |
int[] |
getAvailableActions()
Returns the property availableActions . |
static SimpleConverter |
getConverter(java.lang.String propertyName)
Returns the default converter for a given property. |
java.util.Calendar |
getCreationTime()
Returns the property creationTime . |
java.lang.String |
getDescription()
Returns the property description . |
java.lang.String |
getDisplayName()
Returns the property displayName . |
java.lang.String |
getDocumentation()
Returns the property documentation . |
int |
getExecutionMode()
Returns the property executionMode . |
PTID |
getID()
Returns the property ID . |
java.lang.String |
getInputMessageTypeName()
Returns the property inputMessageTypeName . |
java.lang.String |
getInputMessageTypeTypeSystemName()
Deprecated. |
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.lang.String |
getName()
Returns the property name . |
java.lang.String |
getOutputMessageTypeName()
Returns the property outputMessageTypeName . |
java.lang.String |
getOutputMessageTypeTypeSystemName()
Deprecated. |
StaffResultSet |
getProcessAdministrators()
Deprecated. |
int |
getSchemaVersion()
Returns the property schemaVersion . |
int |
getState()
Returns the property state . |
java.lang.String |
getTargetNamespace()
Returns the property targetNamespace . |
java.util.Calendar |
getValidFromTime()
Returns the property validFromTime . |
java.lang.String |
getVersion()
Returns the property version . |
boolean |
isBusinessRelevant()
Returns the businessRelevant property. |
boolean |
isCompensationDefined()
Returns the compensationDefined property. |
boolean |
isContinueOnError()
Returns the continueOnError property. |
static boolean |
isValid(java.lang.String propertyName)
Checks if the property is valid. |
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 APPLICATIONNAME_PROPERTY
applicationName
property.
public static final java.lang.String AUTODELETE_PROPERTY
autoDelete
property.
public static final java.lang.String AUTONOMY_PROPERTY
autonomy
property.
public static final java.lang.String AVAILABLEACTIONS_PROPERTY
availableActions
property.
public static final java.lang.String COMPENSATIONDEFINED_PROPERTY
compensationDefined
property.
public static final java.lang.String CONTINUEONERROR_PROPERTY
continueOnError
property.
public static final java.lang.String CREATIONTIME_PROPERTY
creationTime
property.
public static final java.lang.String DESCRIPTION_PROPERTY
description
property.
public static final java.lang.String DISPLAYNAME_PROPERTY
displayName
property.
public static final java.lang.String DOCUMENTATION_PROPERTY
documentation
property.
public static final java.lang.String EXECUTIONMODE_PROPERTY
executionMode
property.
public static final java.lang.String ID_PROPERTY
ID
property.
public static final java.lang.String INPUTMESSAGETYPENAME_PROPERTY
inputMessageTypeName
property.
public static final java.lang.String INPUTMESSAGETYPETYPESYSTEM_PROPERTY
inputMessageTypeTypeSystem
property.
public static final java.lang.String LASTMODIFICATIONTIME_PROPERTY
lastModificationTime
property.
public static final java.lang.String NAME_PROPERTY
name
property.
public static final java.lang.String OUTPUTMESSAGETYPENAME_PROPERTY
outputMessageTypeName
property.
public static final java.lang.String OUTPUTMESSAGETYPETYPESYSTEM_PROPERTY
outputMessageTypeTypeSystem
property.
public static final java.lang.String PROCESSADMINSTRATORS_PROPERTY
processAdministrators
property.
public static final java.lang.String SCHEMAVERSION_PROPERTY
schemaVersion
property.
public static final java.lang.String STATE_PROPERTY
state
property.
public static final java.lang.String VALIDFROMTIME_PROPERTY
validFromTime
property.
public static final java.lang.String VERSION_PROPERTY
version
property.
public static final java.lang.String AUTO_DELETION_MODE
autoDeletionMode
property.
public static final java.lang.String TARGETNAMESPACE_PROPERTY
targetNamespace
property.
Constructor Detail |
---|
public ProcessTemplateBean(ProcessTemplateData data, BFMConnection bfmConnection)
ProcessTemplateBean
from an original
ProcessTemplateData
object.
data
- The original data object.bfmConnection
- The connection to the BusinessFlowManagerService 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 java.lang.String getApplicationName()
applicationName
.
getApplicationName
in interface ProcessTemplateData
ProcessTemplateData.getApplicationName()
public boolean getAutoDelete()
autoDelete
.
getAutoDelete
in interface ProcessTemplateData
ProcessTemplateData.getAutoDelete()
public int getAutoDeletionMode()
autoDeletionMode
.
getAutoDeletionMode
in interface ProcessTemplateData
ProcessTemplateData.getAutoDeletionMode()
public int getAutonomy()
autonomy
.
getAutonomy
in interface ProcessTemplateData
ProcessTemplateData.getAutonomy()
public int[] getAvailableActions()
availableActions
.
getAvailableActions
in interface ProcessTemplateData
ProcessTemplateData.getAvailableActions()
public java.util.Calendar getCreationTime()
creationTime
.
getCreationTime
in interface ProcessTemplateData
ProcessTemplateData.getCreationTime()
public java.lang.String getDescription()
description
.
getDescription
in interface ProcessTemplateData
ProcessTemplateData.getDescription()
public java.lang.String getDisplayName()
displayName
.
getDisplayName
in interface ProcessTemplateData
ProcessTemplateData.getDisplayName()
public java.lang.String getDocumentation()
documentation
.
getDocumentation
in interface ProcessTemplateData
ProcessTemplateData.getDocumentation()
public int getExecutionMode()
executionMode
.
getExecutionMode
in interface ProcessTemplateData
ProcessTemplateData.getExecutionMode()
public PTID getID()
ID
.
getID
in interface ProcessTemplateData
ProcessTemplateData.getID()
public java.lang.String getInputMessageTypeName()
inputMessageTypeName
.
getInputMessageTypeName
in interface ProcessTemplateData
ProcessTemplateData.getInputMessageTypeName()
public java.lang.String getInputMessageTypeTypeSystemName()
inputMessageTypeTypeSystemName
.
getInputMessageTypeTypeSystemName
in interface ProcessTemplateData
ProcessTemplateData.getInputMessageTypeTypeSystemName()
public java.util.Calendar getLastModificationTime()
lastModificationTime
.
getLastModificationTime
in interface ProcessTemplateData
ProcessTemplateData.getLastModificationTime()
public java.lang.String getName()
name
.
getName
in interface ProcessTemplateData
ProcessTemplateData.getName()
public java.lang.String getOutputMessageTypeName()
outputMessageTypeName
.
getOutputMessageTypeName
in interface ProcessTemplateData
ProcessTemplateData.getOutputMessageTypeName()
public java.lang.String getOutputMessageTypeTypeSystemName()
outputMessageTypeTypeSystemName
.
getOutputMessageTypeTypeSystemName
in interface ProcessTemplateData
ProcessTemplateData.getOutputMessageTypeTypeSystemName()
public StaffResultSet getProcessAdministrators() throws WorkItemManagerException, InvalidLengthException
processAdministrators
.
getProcessAdministrators
in interface ProcessTemplateData
WorkItemManagerException
InvalidLengthException
ProcessTemplateData.getProcessAdministrators()
public int getSchemaVersion()
schemaVersion
.
getSchemaVersion
in interface ProcessTemplateData
ProcessTemplateData.getSchemaVersion()
public int getState()
state
.
getState
in interface ProcessTemplateData
ProcessTemplateData.getState()
public java.lang.String getTargetNamespace()
targetNamespace
.
getTargetNamespace
in interface ProcessTemplateData
ProcessTemplateData.getTargetNamespace()
public java.util.Calendar getValidFromTime()
validFromTime
.
getValidFromTime
in interface ProcessTemplateData
ProcessTemplateData.getValidFromTime()
public java.lang.String getVersion()
version
.
getVersion
in interface ProcessTemplateData
ProcessTemplateData.getVersion()
public TKTID getAdminTaskTemplateID()
adminTaskTemplateID
.
getAdminTaskTemplateID
in interface ProcessTemplateData
ProcessTemplateData.getAdminTaskTemplateID()
public boolean isBusinessRelevant()
businessRelevant
property.
isBusinessRelevant
in interface ProcessTemplateData
ProcessTemplateData.isBusinessRelevant()
public boolean isCompensationDefined()
compensationDefined
property.
isCompensationDefined
in interface ProcessTemplateData
ProcessTemplateData.isCompensationDefined()
public boolean isContinueOnError()
continueOnError
property.
isContinueOnError
in interface ProcessTemplateData
ProcessTemplateData.isContinueOnError()
public java.util.List getActivityServiceTemplates() throws ClientException
ActivityServiceTemplateBean
objects.
ClientException
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |