com.ibm.bpe.clientmodel.bean

Class ActivityServiceTemplateBean

  1. java.lang.Object
  2. extended bycom.ibm.bpe.clientmodel.bean.ActivityServiceTemplateBean
All implemented interfaces:
ActivityServiceTemplateData, java.io.Serializable

  1. public class ActivityServiceTemplateBean
  2. extends java.lang.Object
  3. 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:
ActivityServiceTemplateData, Serialized Form

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
ACTIVITYDESCRIPTION_PROPERTY
Use the property name to determine labels and converters for the "activity description" property.
  1. static
  2. java.lang.String
ACTIVITYDISPLAYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity display name" property.
  1. static
  2. java.lang.String
ACTIVITYNAME_PROPERTY
Use the property name to determine labels and converters for the "activity name" property.
  1. static
  2. java.lang.String
AVAILABLEACTIONS_PROPERTY
Use the property name to determine labels and converters for the "available actions" property.
  1. static
  2. java.lang.String
COPYRIGHT
(C) Copyright IBM Corporation 2004, 2008.
  1. static
  2. java.lang.String
INPUTMESSAGETYPENAME_PROPERTY
Use the property name to determine labels and converters for the "input message type name" property.
  1. static
  2. java.lang.String
INPUTMESSAGETYPETYPESYSTEMNAME_PROPERTY
Deprecated.
  1. static
  2. java.lang.String
OPERATIONNAME_PROPERTY
Use the property name to determine labels and converters for the "operation name" property.
  1. static
  2. java.lang.String
PARTNERLINKNAME_PROPERTY
Use the property name to determine labels and converters for the "partner link name" property.
  1. static
  2. java.lang.String
PORTTYPENAME_PROPERTY
Use the property name to determine labels and converters for the "port type" property.
  1. static
  2. java.lang.String
PORTTYPENAMESPACE_PROPERTY
Use the property name to determine labels and converters for the "port type namespace" property.
  1. static
  2. java.lang.String
PROCESSTEMPLATEID_PROPERTY
Use the property name to determine labels and converters for the "process template ID" property.
  1. static
  2. java.lang.String
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
  1. java.lang.String
getActivityDescription()
Returns the activityDescription property.
  1. java.lang.String
getActivityDisplayName()
Returns the activityDisplayName property.
  1. java.lang.String
getActivityName()
Returns the activityName property.
  1. ATID
getActivityTemplateID()
Returns the activityTemplateID property.
  1. int[]
getAvailableActions()
Returns the availableActions property.
  1. static
  2. SimpleConverter
getConverter(java.lang.String propertyName)
Returns the default converter for a given property.
  1. OID
getID()
Returns the ID property.
  1. java.lang.String
getInputMessageTypeName()
Returns the inputMessageTypeName property.
  1. java.lang.String
getInputMessageTypeTypeSystemName()
Deprecated.
  1. MessageWrapper
getInputMessageWrapper()
Retrieves the input message.
  1. static
  2. java.lang.String
getLabel(java.lang.String propertyName)
Returns the resource bundle key for a property.
  1. static
  2. java.lang.String
getLabel(java.lang.String propertyName,java.util.Locale locale)
Returns the label of a property from the resource bundle.
  1. java.lang.String
getOperationName()
Returns the operationName property.
  1. java.lang.String
getPartnerLinkName()
Returns the partnerLinkName property.
  1. java.lang.String
getPortTypeName()
Returns the portTypeName property.
  1. java.lang.String
getPortTypeNamespace()
Returns the portTypeNamespace property.
  1. ProcessTemplateBean
getProcessTemplate()
Returns a ProcessTemplateBean object for the associated ProcessTemplateData object.
  1. PTID
getProcessTemplateID()
Returns the processTemplateID property.
  1. java.lang.String
getProcessTemplateName()
Returns the processTemplateName property.
  1. VTID
getServiceTemplateID()
Returns the serviceTemplateID property.
  1. TKTID
getTaskTemplateID()
Returns the taskTemplateID property.
  1. boolean
isTwoWayOperation()
Returns the twoWayOperation property.
  1. static
  2. boolean
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

  1. public static final java.lang.String COPYRIGHT
(C) Copyright IBM Corporation 2004, 2008.
See Also:

ACTIVITYDESCRIPTION_PROPERTY

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. 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

  1. public ActivityServiceTemplateBean( ActivityServiceTemplateData activityTemplate,
  2. 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

  1. 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

  1. 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

  1. public static java.lang.String getLabel( java.lang.String propertyName,
  2. 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

  1. 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

  1. public java.lang.String getActivityDescription( )
Returns the activityDescription property.
Specified by:
See Also:

getActivityDisplayName

  1. public java.lang.String getActivityDisplayName( )
Returns the activityDisplayName property.
Specified by:
See Also:

getActivityName

  1. public java.lang.String getActivityName( )
Returns the activityName property.
Specified by:
See Also:

getActivityTemplateID

  1. public ATID getActivityTemplateID( )
Returns the activityTemplateID property.
Specified by:
See Also:

getAvailableActions

  1. public int[] getAvailableActions( )
Returns the availableActions property.
Specified by:
See Also:

getID

  1. 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

  1. public java.lang.String getInputMessageTypeName( )
Returns the inputMessageTypeName property.
Specified by:
See Also:

getInputMessageTypeTypeSystemName

  1. public java.lang.String getInputMessageTypeTypeSystemName( )
Deprecated.
Returns the inputMessageTypeTypeSystemName property.
Specified by:
See Also:

getOperationName

  1. public java.lang.String getOperationName( )
Returns the operationName property.
Specified by:
See Also:

getPartnerLinkName

  1. public java.lang.String getPartnerLinkName( )
Returns the partnerLinkName property.
Specified by:
See Also:

getPortTypeName

  1. public java.lang.String getPortTypeName( )
Returns the portTypeName property.
Specified by:
See Also:

getPortTypeNamespace

  1. public java.lang.String getPortTypeNamespace( )
Returns the portTypeNamespace property.
Specified by:
See Also:

getProcessTemplateID

  1. public PTID getProcessTemplateID( )
Returns the processTemplateID property.
Specified by:
See Also:

getTaskTemplateID

  1. public TKTID getTaskTemplateID( )
Returns the taskTemplateID property.
Specified by:
See Also:

getProcessTemplateName

  1. public java.lang.String getProcessTemplateName( )
Returns the processTemplateName property.
Specified by:
See Also:

getServiceTemplateID

  1. public VTID getServiceTemplateID( )
Returns the serviceTemplateID property.
Specified by:
See Also:

isTwoWayOperation

  1. public boolean isTwoWayOperation( )
Returns the twoWayOperation property.
Specified by:
See Also:

getProcessTemplate

  1. public ProcessTemplateBean getProcessTemplate( )
  2. throws ClientException
Returns a ProcessTemplateBean object for the associated ProcessTemplateData object.
Returns:
The process template.
Throws:

getInputMessageWrapper

  1. public MessageWrapper getInputMessageWrapper( )
  2. throws ClientException
Retrieves the input message. If Web client settings are available, the context root and the URL are retrieved.
Returns:
The wrapped message and Web client settings.
Throws: