|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.bpe.clientmodel.bean.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 may be null because converters
are optional.
ProcessTemplateData
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
APPLICATIONNAME_PROPERTY
Use the property name to determine labels and converters for the property applicationName . |
static java.lang.String |
AUTODELETE_PROPERTY
Use the property name to determine labels and converters for the property autoDelete. |
static java.lang.String |
AUTONOMY_PROPERTY
Use the property name to determine labels and converters for the property autonomy. |
static java.lang.String |
AVAILABLEACTIONS_PROPERTY
Use the property name to determine labels and converters for the property availableActions. |
static java.lang.String |
COMPENSATIONDEFINED_PROPERTY
Use the property name to determine labels and converters for the property compensationDefined. |
static java.lang.String |
COPYRIGHT
(C) Copyright IBM Corporation 2005. |
static java.lang.String |
CREATIONTIME_PROPERTY
Use the property name to determine labels and converters for the property creationTime. |
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 |
DOCUMENTATION_PROPERTY
Use the property name to determine labels and converters for the property documentation. |
static java.lang.String |
EXECUTIONMODE_PROPERTY
Use the property name to determine labels and converters for the property execution mode. |
static java.lang.String |
ID_PROPERTY
Use the property name to determine labels and converters for the property ID. |
static java.lang.String |
INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the property inputMessageTypeName. |
static java.lang.String |
INPUTMESSAGETYPETYPESYSTEM_PROPERTY
Use the property name to determine labels and converters for the property inputMessageTypeTypeSystem. |
static java.lang.String |
LASTMODIFICATIONTIME_PROPERTY
Use the property name to determine labels and converters for the property lastModificationTime. |
static java.lang.String |
NAME_PROPERTY
Use the property name to determine labels and converters for the property name. |
static java.lang.String |
OUTPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the property outputMessageTypeName. |
static java.lang.String |
OUTPUTMESSAGETYPETYPESYSTEM_PROPERTY
Use the property name to determine labels and converters for the property outputMessageTypeTypeSystem. |
static java.lang.String |
PROCESSADMINSTRATORS_PROPERTY
Use the property name to determine labels and converters for the property processAdministrators. |
static java.lang.String |
SCHEMAVERSION_PROPERTY
Use the property name to determine labels and converters for the property schemaVersion. |
static java.lang.String |
STATE_PROPERTY
Use the property name to determine labels and converters for the property state. |
static java.lang.String |
VALIDFROMTIME_PROPERTY
Use the property name to determine labels and converters for the property validFromTime. |
static java.lang.String |
VERSION_PROPERTY
Use the property name to determine labels and converters for the property version. |
Fields inherited from interface com.ibm.bpe.api.ProcessTemplateData |
---|
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, STATE_STARTED, STATE_STOPPED |
Constructor Summary | |
---|---|
ProcessTemplateBean(com.ibm.bpe.api.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. |
java.lang.String |
getApplicationName()
Returns the property applicationName . |
boolean |
getAutoDelete()
Returns the property autoDelete . |
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 . |
com.ibm.bpe.api.PTID |
getID()
Returns the property ID . |
java.lang.String |
getInputMessageTypeName()
Returns the property inputMessageTypeName . |
java.lang.String |
getInputMessageTypeTypeSystemName()
Returns the property inputMessageTypeTypeSystemName . |
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()
Returns the property outputMessageTypeTypeSystemName . |
com.ibm.bpe.api.StaffResultSet |
getProcessAdministrators()
Returns the property processAdministrators . |
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 property businessRelevant . |
boolean |
isCompensationDefined()
Returns the property compensationDefined . |
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
public static final java.lang.String AUTODELETE_PROPERTY
public static final java.lang.String AUTONOMY_PROPERTY
public static final java.lang.String AVAILABLEACTIONS_PROPERTY
public static final java.lang.String COMPENSATIONDEFINED_PROPERTY
public static final java.lang.String CREATIONTIME_PROPERTY
public static final java.lang.String DESCRIPTION_PROPERTY
public static final java.lang.String DISPLAYNAME_PROPERTY
public static final java.lang.String DOCUMENTATION_PROPERTY
public static final java.lang.String EXECUTIONMODE_PROPERTY
public static final java.lang.String ID_PROPERTY
public static final java.lang.String INPUTMESSAGETYPENAME_PROPERTY
public static final java.lang.String INPUTMESSAGETYPETYPESYSTEM_PROPERTY
public static final java.lang.String LASTMODIFICATIONTIME_PROPERTY
public static final java.lang.String NAME_PROPERTY
public static final java.lang.String OUTPUTMESSAGETYPENAME_PROPERTY
public static final java.lang.String OUTPUTMESSAGETYPETYPESYSTEM_PROPERTY
public static final java.lang.String PROCESSADMINSTRATORS_PROPERTY
public static final java.lang.String SCHEMAVERSION_PROPERTY
public static final java.lang.String STATE_PROPERTY
public static final java.lang.String VALIDFROMTIME_PROPERTY
public static final java.lang.String VERSION_PROPERTY
Constructor Detail |
public ProcessTemplateBean(com.ibm.bpe.api.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 com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getApplicationName()
public boolean getAutoDelete()
autoDelete
.
getAutoDelete
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getAutoDelete()
public int getAutonomy()
autonomy
.
getAutonomy
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getAutonomy()
public int[] getAvailableActions()
availableActions
.
getAvailableActions
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getAvailableActions()
public java.util.Calendar getCreationTime()
creationTime
.
getCreationTime
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getCreationTime()
public java.lang.String getDescription()
description
.
getDescription
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getDescription()
public java.lang.String getDisplayName()
displayName
.
getDisplayName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getDisplayName()
public java.lang.String getDocumentation()
documentation
.
getDocumentation
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getDocumentation()
public int getExecutionMode()
executionMode
.
getExecutionMode
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getExecutionMode()
public com.ibm.bpe.api.PTID getID()
ID
.
getID
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getID()
public java.lang.String getInputMessageTypeName()
inputMessageTypeName
.
getInputMessageTypeName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getInputMessageTypeName()
public java.lang.String getInputMessageTypeTypeSystemName()
inputMessageTypeTypeSystemName
.
getInputMessageTypeTypeSystemName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getInputMessageTypeTypeSystemName()
public java.util.Calendar getLastModificationTime()
lastModificationTime
.
getLastModificationTime
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getLastModificationTime()
public java.lang.String getName()
name
.
getName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getName()
public java.lang.String getOutputMessageTypeName()
outputMessageTypeName
.
getOutputMessageTypeName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getOutputMessageTypeName()
public java.lang.String getOutputMessageTypeTypeSystemName()
outputMessageTypeTypeSystemName
.
getOutputMessageTypeTypeSystemName
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getOutputMessageTypeTypeSystemName()
public com.ibm.bpe.api.StaffResultSet getProcessAdministrators() throws com.ibm.bpe.api.WorkItemManagerException, com.ibm.bpe.api.InvalidLengthException
processAdministrators
.
getProcessAdministrators
in interface com.ibm.bpe.api.ProcessTemplateData
com.ibm.bpe.api.WorkItemManagerException
com.ibm.bpe.api.InvalidLengthException
ProcessTemplateData.getProcessAdministrators()
public int getSchemaVersion()
schemaVersion
.
getSchemaVersion
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getSchemaVersion()
public int getState()
state
.
getState
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getState()
public java.lang.String getTargetNamespace()
targetNamespace
.
getTargetNamespace
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getTargetNamespace()
public java.util.Calendar getValidFromTime()
validFromTime
.
getValidFromTime
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getValidFromTime()
public java.lang.String getVersion()
version
.
getVersion
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.getVersion()
public boolean isBusinessRelevant()
businessRelevant
.
isBusinessRelevant
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.isBusinessRelevant()
public boolean isCompensationDefined()
compensationDefined
.
isCompensationDefined
in interface com.ibm.bpe.api.ProcessTemplateData
ProcessTemplateData.isCompensationDefined()
public java.util.List getActivityServiceTemplates() throws ClientException
ActivityServiceTemplateBean
objects.
ClientException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |