com.ibm.bpe.clientmodel.bean
Class ActivityServiceTemplateBean
- java.lang.Object
com.ibm.bpe.clientmodel.bean.ActivityServiceTemplateBean
All implemented interfaces:
ActivityServiceTemplateData, java.io.Serializable
- public class ActivityServiceTemplateBean
- extends java.lang.Object
- implements ActivityServiceTemplateData
Accesses the properties of the original ActivityServiceTemplateData
object
and adds metadata for national language support and converters.
An ActivityServiceTemplateBean
object can be instantiated from an ActivityServiceTemplateData
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. As converters
are optional, the return value might be null.
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
ACTIVITYDESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the "activity description" property.
|
|
ACTIVITYDISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity display name" property.
|
|
ACTIVITYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity name" property.
|
|
AVAILABLEACTIONS_PROPERTY
Use the property name to determine labels and converters for the "available actions" property.
|
|
COPYRIGHT
(C) Copyright IBM Corporation 2004, 2008.
|
|
INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the "input message type name" property.
|
|
INPUTMESSAGETYPETYPESYSTEMNAME_PROPERTY
Deprecated.
|
|
OPERATIONNAME_PROPERTY
Use the property name to determine labels and converters for the "operation name" property.
|
|
PARTNERLINKNAME_PROPERTY
Use the property name to determine labels and converters for the "partner link name" property.
|
|
PORTTYPENAME_PROPERTY
Use the property name to determine labels and converters for the "port type" property.
|
|
PORTTYPENAMESPACE_PROPERTY
Use the property name to determine labels and converters for the "port type namespace" property.
|
|
PROCESSTEMPLATEID_PROPERTY
Use the property name to determine labels and converters for the "process template ID" property.
|
|
SERVICETEMPLATEID_PROPERTY
Use the property name to determine labels and converters for the "service template ID" property.
|
Constructor Summary
Constructor and Description |
---|
ActivityServiceTemplateBean(ActivityServiceTemplateData activityTemplate,BFMConnection bfmConnection)
Constructs a new
ActivityServiceTemplateBean from an original ActivityServiceTemplateData object.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getActivityDescription()
Returns the
activityDescription property.
|
|
getActivityDisplayName()
Returns the
activityDisplayName property.
|
|
getActivityName()
Returns the
activityName property.
|
getActivityTemplateID()
Returns the
activityTemplateID property.
|
|
|
getAvailableActions()
Returns the
availableActions property.
|
|
getConverter(java.lang.String propertyName)
Returns the default converter for a given property.
|
getID()
Returns the
ID property.
|
|
|
getInputMessageTypeName()
Returns the
inputMessageTypeName property.
|
|
getInputMessageTypeTypeSystemName()
Deprecated.
|
getInputMessageWrapper()
Retrieves the input message.
|
|
|
getLabel(java.lang.String propertyName)
Returns the resource bundle key for a property.
|
|
getLabel(java.lang.String propertyName,java.util.Locale locale)
Returns the label of a property from the resource bundle.
|
|
getOperationName()
Returns the
operationName property.
|
|
getPartnerLinkName()
Returns the
partnerLinkName property.
|
|
getPortTypeName()
Returns the
portTypeName property.
|
|
getPortTypeNamespace()
Returns the
portTypeNamespace property.
|
getProcessTemplate()
Returns a
ProcessTemplateBean object for the associated ProcessTemplateData object.
|
|
getProcessTemplateID()
Returns the
processTemplateID property.
|
|
|
getProcessTemplateName()
Returns the
processTemplateName property.
|
getServiceTemplateID()
Returns the
serviceTemplateID property.
|
|
getTaskTemplateID()
Returns the
taskTemplateID property.
|
|
|
isTwoWayOperation()
Returns the
twoWayOperation property.
|
|
isValid(java.lang.String propertyName)
Checks that the property is valid.
|
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, 2008.
See Also:
ACTIVITYDESCRIPTION_PROPERTY
- public static final java.lang.String ACTIVITYDESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the "activity description" property.
See Also:
ACTIVITYDISPLAYNAME_PROPERTY
- public static final java.lang.String ACTIVITYDISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity display name" property.
See Also:
ACTIVITYNAME_PROPERTY
- public static final java.lang.String ACTIVITYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity name" property.
See Also:
AVAILABLEACTIONS_PROPERTY
- public static final java.lang.String AVAILABLEACTIONS_PROPERTY
Use the property name to determine labels and converters for the "available actions" property.
See Also:
INPUTMESSAGETYPENAME_PROPERTY
- public static final java.lang.String INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the "input message type name" property.
See Also:
INPUTMESSAGETYPETYPESYSTEMNAME_PROPERTY
- public static final java.lang.String INPUTMESSAGETYPETYPESYSTEMNAME_PROPERTY
Deprecated.
Use the property name to determine labels and converters for the "input message type system name" property.
See Also:
OPERATIONNAME_PROPERTY
- public static final java.lang.String OPERATIONNAME_PROPERTY
Use the property name to determine labels and converters for the "operation name" property.
See Also:
PARTNERLINKNAME_PROPERTY
- public static final java.lang.String PARTNERLINKNAME_PROPERTY
Use the property name to determine labels and converters for the "partner link name" property.
See Also:
PORTTYPENAME_PROPERTY
- public static final java.lang.String PORTTYPENAME_PROPERTY
Use the property name to determine labels and converters for the "port type" property.
See Also:
PORTTYPENAMESPACE_PROPERTY
- public static final java.lang.String PORTTYPENAMESPACE_PROPERTY
Use the property name to determine labels and converters for the "port type namespace" property.
See Also:
PROCESSTEMPLATEID_PROPERTY
- public static final java.lang.String PROCESSTEMPLATEID_PROPERTY
Use the property name to determine labels and converters for the "process template ID" property.
See Also:
SERVICETEMPLATEID_PROPERTY
- public static final java.lang.String SERVICETEMPLATEID_PROPERTY
Use the property name to determine labels and converters for the "service template ID" property.
See Also:
Constructor Detail
ActivityServiceTemplateBean
- public ActivityServiceTemplateBean( ActivityServiceTemplateData activityTemplate,
- BFMConnection bfmConnection)
Constructs a new
ActivityServiceTemplateBean
from an original
ActivityServiceTemplateData
object.
Parameters:
activityTemplate
- The original data object. bfmConnection
- The connection to the BusinessFlowManagerService API. Method Detail
getConverter
- public static SimpleConverter getConverter( java.lang.String propertyName)
Returns the default converter for a given property.
Parameters:
propertyName
- The name of 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 of 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 of 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 that the property is valid.
Parameters:
propertyName
- The name of the property to be checked. Returns:
True if
propertyName
is a known property for an object of this
class. getActivityDescription
- public java.lang.String getActivityDescription( )
Returns the
activityDescription
property.
Specified by:
getActivityDescription
in interface ActivityServiceTemplateData
getActivityDisplayName
- public java.lang.String getActivityDisplayName( )
Returns the
activityDisplayName
property.
Specified by:
getActivityDisplayName
in interface ActivityServiceTemplateData
getActivityName
- public java.lang.String getActivityName( )
Returns the
activityName
property.
Specified by:
getActivityName
in interface ActivityServiceTemplateData
getActivityTemplateID
- public ATID getActivityTemplateID( )
Returns the
activityTemplateID
property.
Specified by:
getActivityTemplateID
in interface ActivityServiceTemplateData
getAvailableActions
- public int[] getAvailableActions( )
Returns the
availableActions
property.
Specified by:
getAvailableActions
in interface ActivityServiceTemplateData
getID
- public OID getID()
Returns the
ID
property.
Addition to the interface to guarantee that this object has an identifier.
Returns:
The service template's ID is used as the identifier for this object.
getInputMessageTypeName
- public java.lang.String getInputMessageTypeName( )
Returns the
inputMessageTypeName
property.
Specified by:
getInputMessageTypeName
in interface ActivityServiceTemplateData
getInputMessageTypeTypeSystemName
- public java.lang.String getInputMessageTypeTypeSystemName( )
Deprecated.
Returns the
inputMessageTypeTypeSystemName
property.
Specified by:
getOperationName
- public java.lang.String getOperationName( )
Returns the
operationName
property.
Specified by:
getOperationName
in interface ActivityServiceTemplateData
getPartnerLinkName
- public java.lang.String getPartnerLinkName( )
Returns the
partnerLinkName
property.
Specified by:
getPartnerLinkName
in interface ActivityServiceTemplateData
getPortTypeName
- public java.lang.String getPortTypeName( )
Returns the
portTypeName
property.
Specified by:
getPortTypeName
in interface ActivityServiceTemplateData
getPortTypeNamespace
- public java.lang.String getPortTypeNamespace( )
Returns the
portTypeNamespace
property.
Specified by:
getPortTypeNamespace
in interface ActivityServiceTemplateData
getProcessTemplateID
- public PTID getProcessTemplateID( )
Returns the
processTemplateID
property.
Specified by:
getProcessTemplateID
in interface ActivityServiceTemplateData
getTaskTemplateID
- public TKTID getTaskTemplateID( )
Returns the
taskTemplateID
property.
Specified by:
getTaskTemplateID
in interface ActivityServiceTemplateData
getProcessTemplateName
- public java.lang.String getProcessTemplateName( )
Returns the
processTemplateName
property.
Specified by:
getProcessTemplateName
in interface ActivityServiceTemplateData
getServiceTemplateID
- public VTID getServiceTemplateID( )
Returns the
serviceTemplateID
property.
Specified by:
getServiceTemplateID
in interface ActivityServiceTemplateData
isTwoWayOperation
- public boolean isTwoWayOperation( )
Returns the
twoWayOperation
property.
Specified by:
isTwoWayOperation
in interface ActivityServiceTemplateData
getProcessTemplate
- public ProcessTemplateBean getProcessTemplate( )
- throws ClientException
Returns a
ProcessTemplateBean
object for the associated ProcessTemplateData
object.
getInputMessageWrapper
- public MessageWrapper getInputMessageWrapper( )
- throws ClientException
Retrieves the input message.
If Web client settings are available, the context root and the URL are retrieved.