wt.workflow.definer
Class LoadWorkflow

java.lang.Object
  extended bywt.workflow.definer.LoadWorkflow

public class LoadWorkflow
extends Object

Load workflows into the Windchill database. Methods in this class are defined for use by the load package inside of the map file ($wt.home/loadFiles/csvmapfile.txt). These methods were written to be called by the load package using introspection not by a user interface.

Since:
R2

Nested Class Summary
private static class LoadWorkflow.Queue
           
 
Field Summary
private static String autoRoutingExpression
           
private static String BLANK
           
private static String BLOCK_TEMPLATE_QUEUE
           
private static WfTemplateCategory category
           
private static WfCompletionType completionPolicyType
           
private static int completionPolicyValue
           
private static boolean completionRequired
           
private static String CONTAINER_QUEUE
           
private static String CURRENT_ADHOC_ACTIVITY
           
private static String CURRENT_APPL_ROBOT_TEMPLATE
           
private static String CURRENT_ASSIGNED_ACTIVITY
           
private static String CURRENT_EXPR_ROBOT_TEMPLATE
           
private static String CURRENT_EXTERNAL_METHOD_TEMPLATE
           
private static String CURRENT_INTERNAL_METHOD_TEMPLATE
           
private static String CURRENT_NODE_TEMPLATE_LINK
           
private static String CURRENT_NOTIFICATION_ACTIVITY
           
private static String CURRENT_PROCESS_TEMPLATE
           
private static String CURRENT_PROXY_TEMPLATE
           
private static String CURRENT_SYNCH_ROBOT_TEMPLATE
           
private static String CURRENT_TIMER_TEMPLATE
           
private static String CURRENT_URL_ROBOT_TEMPLATE
           
private static String DEFINER_CLIENT_RESOURCE
           
private static String description
           
private static long duration
           
private static String FOLDER_SEPARATOR
           
private static String host
           
private static String iconName
           
private static String instructions
           
private static String LIST_DELIMITER
           
private static TeamTemplateReference localTeam
           
private static String methodName
           
private static String methodReturn
           
private static String name
           
private static boolean notifyAfterDeadline
           
private static boolean notifyBeforeDeadline
           
private static long processDuration
           
private static String RESOURCE
           
private static Role responsibleRole
           
private static WfRouterType routerType
           
private static UserEventVector routingEvents
           
private static boolean sendNotification
           
private static String serviceName
           
private static boolean signingRequired
           
private static long startDelay
           
private static long startProcessDelay
           
private static String task
           
private static String TEMPLATE_OBJECT_QUEUE
           
private static long timePastDeadline
           
private static long timeToDeadline
           
private static String uniqueId
           
private static Vector validTasks
           
private static String variableTeam
           
private static boolean VERBOSE
           
private static String WORKFLOW_FOLDER
           
private static int xCoordinate
           
private static int yCoordinate
           
 
Constructor Summary
LoadWorkflow()
           
 
Method Summary
static boolean addActorAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an actor role assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate
static boolean addEnvironment(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an Environment to the current WfApplRobotTemplate
static boolean addEventActionPair(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an event/action pair to the current NodeTemplateLink
static boolean addExceptionAction(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an exception action to the current WfTemplateObject
static boolean addExpression(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an expression to the current WfTemplateObject
static boolean addOverdueAction(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add an overdue action to the current WfTemplateObject
static boolean addOverdueNotificationRole(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a OverdueNotification Role to the current WfTemplateObject
static boolean addPrincipalAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a principal assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate
static boolean addProjectAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Deprecated.  
static boolean addRoleAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add role assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate
static boolean addSignature(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a signature to the current WfExternalMethodTemplate or WfInternalMethodTemplate
static boolean addTeamAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a team assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate
static boolean addTransition(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a transition to the current WfTemplateObject
static boolean addVariable(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a variable to the current WfTemplateObject
static boolean addVariableAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Add a variable assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate
private static HashMap constructDisplayNameMap(String string)
           
static boolean createAdHocActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfAdHocActivityTemplate.
static boolean createApplRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfAppRobotTemplate.
static boolean createAssignedActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfAssignedActivityTemplate.
static boolean createBlockTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfBlockTemplate.
static boolean createConnectorTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create a WfConnectorTemplate.
private static WfExpression createExpression(String exprBody, WfNodeTemplate node)
           
static boolean createExprRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfExprRobotTemplate.
static boolean createExternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfExternalMethodTemplate.
static boolean createInternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfInternalMethodTemplate.
static boolean createNodeTemplateLink(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create a NodeTemplateLink between two WfNodeTemplate objects.
static boolean createNotification(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an notification activity.
static boolean createProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfProcessTemplate.
static boolean createProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef context_ref)
           
static boolean createProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfProxyTemplate.
static boolean createProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef container)
          Create an uninitialized WfProxyTemplate.
static boolean createSynchRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfSynchRobotTemplate.
static boolean createTimerTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfTimerTemplate.
static boolean createURLRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          Create an uninitialized WfURLRobotTemplate.
private static String deriveConnectorSubType(String type)
           
private static Object deriveDefaultVariableValue(String defaultValue, String type)
           
private static Object[] deriveEventActionPair(String strEvent, String strAction, WfNodeTemplate sourceNode, WfNodeTemplate destNode)
           
private static ActorRole getActorRole(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static boolean getAssigneeAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static boolean getBoolean(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, boolean defaultValue)
           
private static WfTemplateCategory getCategory(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfCompletionType getCompletionType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfConnectorFunction getConnectorFunction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfConnectorType getConnectorType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfExceptionActionType getExceptionAction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static Folder getFolder(String folderLocation, Hashtable attributes, Hashtable cmdLineArgs, int required, WTContainerRef context_ref)
           
private static String getFolderPath(WTContainer context, String folder_name)
           
private static int getInteger(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static long getLong(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static Object getNextInQueue(String queueName)
           
private static WfOverdueActionType getOverdueAction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static PermissionSet getPermissionSet(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static Role getRole(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfRouterType getRouterType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, UserEventVector routingEvents, String routingExpr)
           
private static String getString(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfSynchType getSynchType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static TeamReference getTeamReference(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static TeamTemplateReference getTeamTemplateReference(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static WfTransition getTransition(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static UserEventVector getUserEvents(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
           
private static boolean getWfAssignedActivityTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static boolean getWfInvokedMethodTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static boolean getWfNodeTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static boolean getWfRobotActivityTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static boolean getWfTemplateObjectAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
           
private static Class loadClass(String a_classname)
           
private static String replaceSpecialCharacters(String string)
           
static boolean saveAdHocActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfAdHocActivityTemplate.
static boolean saveApplRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfApplRobotTemplate.
static boolean saveAssignedActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfAssignedActivityTemplate.
static boolean saveBlockTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfBlockTemplate.
static boolean saveExprRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfExprRobotTemplate.
static boolean saveExternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfExternalMethodTemplate.
static boolean saveInternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfInternalMethodTemplate.
static boolean saveNodeTemplateLink(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current NodeTemplateLink.
static boolean saveNotification(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current Notification Activity.
static boolean saveProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfProcessTemplate.
static boolean saveProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef container)
          End the definition of the current WfProcessTemplate.
static boolean saveProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfProxyTemplate.
static boolean saveSynchRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfSynchRobotTemplate.
static boolean saveTimerTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfTimerTemplate.
static boolean saveURLRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects)
          End the definition of the current WfURLRobotTemplate.
private static WfAssignedActivityTemplate setWfAssignedActivityTemplateAttributes(WfAssignedActivityTemplate wfAssignedActivityTemplate, WfContainerTemplateEditor containerEditor)
           
private static WfAssignee setWfAssigneeAttributes(WfAssignee assignee)
           
private static WfInvokedMethodTemplate setWfInvokedMethodTemplateAttributes(WfInvokedMethodTemplate wfInvokedMethodTemplate, WfContainerTemplateEditor containerEditor)
           
private static WfNodeTemplate setWfNodeTemplateAttributes(WfNodeTemplate aWfNodeTemplate, WfContainerTemplateEditor containerEditor)
           
private static WfRobotActivityTemplate setWfRobotActivityTemplateAttributes(WfRobotActivityTemplate wfRobotActivityTemplate, WfContainerTemplateEditor containerEditor)
           
private static WfTemplateObject setWfTemplateObjectAttributes(WfTemplateObject wfTemplateObject, WfContainerTemplateEditor containerEditor)
           
private static String unmangleCharacters(String string, char search, char replace)
          The following algorithm is used to replace characters If the search character is preceded by a backslash '\' replace both characters with the search character.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

RESOURCE

private static final String RESOURCE
See Also:
Constant Field Values

DEFINER_CLIENT_RESOURCE

private static final String DEFINER_CLIENT_RESOURCE
See Also:
Constant Field Values

BLANK

private static final String BLANK
See Also:
Constant Field Values

LIST_DELIMITER

private static final String LIST_DELIMITER
See Also:
Constant Field Values

FOLDER_SEPARATOR

private static final String FOLDER_SEPARATOR

WORKFLOW_FOLDER

private static String WORKFLOW_FOLDER

VERBOSE

private static boolean VERBOSE

validTasks

private static Vector validTasks

xCoordinate

private static int xCoordinate

yCoordinate

private static int yCoordinate

uniqueId

private static String uniqueId

name

private static String name

description

private static String description

category

private static WfTemplateCategory category

instructions

private static String instructions

iconName

private static String iconName

duration

private static long duration

processDuration

private static long processDuration

startDelay

private static long startDelay

startProcessDelay

private static long startProcessDelay

notifyBeforeDeadline

private static boolean notifyBeforeDeadline

timeToDeadline

private static long timeToDeadline

notifyAfterDeadline

private static boolean notifyAfterDeadline

timePastDeadline

private static long timePastDeadline

responsibleRole

private static Role responsibleRole

routerType

private static WfRouterType routerType

routingEvents

private static UserEventVector routingEvents

autoRoutingExpression

private static String autoRoutingExpression

task

private static String task

sendNotification

private static boolean sendNotification

localTeam

private static TeamTemplateReference localTeam

variableTeam

private static String variableTeam

completionRequired

private static boolean completionRequired

completionPolicyType

private static WfCompletionType completionPolicyType

completionPolicyValue

private static int completionPolicyValue

signingRequired

private static boolean signingRequired

host

private static String host

serviceName

private static String serviceName

methodName

private static String methodName

methodReturn

private static String methodReturn

CONTAINER_QUEUE

private static final String CONTAINER_QUEUE
See Also:
Constant Field Values

TEMPLATE_OBJECT_QUEUE

private static final String TEMPLATE_OBJECT_QUEUE
See Also:
Constant Field Values

BLOCK_TEMPLATE_QUEUE

private static final String BLOCK_TEMPLATE_QUEUE
See Also:
Constant Field Values

CURRENT_PROCESS_TEMPLATE

private static final String CURRENT_PROCESS_TEMPLATE
See Also:
Constant Field Values

CURRENT_ASSIGNED_ACTIVITY

private static final String CURRENT_ASSIGNED_ACTIVITY
See Also:
Constant Field Values

CURRENT_ADHOC_ACTIVITY

private static final String CURRENT_ADHOC_ACTIVITY
See Also:
Constant Field Values

CURRENT_PROXY_TEMPLATE

private static final String CURRENT_PROXY_TEMPLATE
See Also:
Constant Field Values

CURRENT_TIMER_TEMPLATE

private static final String CURRENT_TIMER_TEMPLATE
See Also:
Constant Field Values

CURRENT_INTERNAL_METHOD_TEMPLATE

private static final String CURRENT_INTERNAL_METHOD_TEMPLATE
See Also:
Constant Field Values

CURRENT_EXTERNAL_METHOD_TEMPLATE

private static final String CURRENT_EXTERNAL_METHOD_TEMPLATE
See Also:
Constant Field Values

CURRENT_APPL_ROBOT_TEMPLATE

private static final String CURRENT_APPL_ROBOT_TEMPLATE
See Also:
Constant Field Values

CURRENT_EXPR_ROBOT_TEMPLATE

private static final String CURRENT_EXPR_ROBOT_TEMPLATE
See Also:
Constant Field Values

CURRENT_SYNCH_ROBOT_TEMPLATE

private static final String CURRENT_SYNCH_ROBOT_TEMPLATE
See Also:
Constant Field Values

CURRENT_URL_ROBOT_TEMPLATE

private static final String CURRENT_URL_ROBOT_TEMPLATE
See Also:
Constant Field Values

CURRENT_NODE_TEMPLATE_LINK

private static final String CURRENT_NODE_TEMPLATE_LINK
See Also:
Constant Field Values

CURRENT_NOTIFICATION_ACTIVITY

private static final String CURRENT_NOTIFICATION_ACTIVITY
See Also:
Constant Field Values
Constructor Detail

LoadWorkflow

public LoadWorkflow()
Method Detail

createProcessTemplate

public static boolean createProcessTemplate(Hashtable attributes,
                                            Hashtable cmdLineArgs,
                                            Vector returnObjects)
                                     throws WTException
Create an uninitialized WfProcessTemplate. The template is stored in the LoadService cache and later persisted by a call to saveProcessTemplate. The WfProcessTemplateEditor class is re-used from the workflow definer client to aid in creating WfProcessTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfProcessTemplateEditor

createProcessTemplate

public static boolean createProcessTemplate(Hashtable attributes,
                                            Hashtable cmdLineArgs,
                                            Vector returnObjects,
                                            WTContainerRef context_ref)
                                     throws WTException
Throws:
WTException

saveProcessTemplate

public static boolean saveProcessTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects)
                                   throws WTException
End the definition of the current WfProcessTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
TransactionContainer, BatchContainer, wt.workflow.definer.WfDefinerSerivce.saveProcessTemplate

saveProcessTemplate

public static boolean saveProcessTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects,
                                          WTContainerRef container)
                                   throws WTException
End the definition of the current WfProcessTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by
container - the context in which to save this template wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
TransactionContainer, BatchContainer, wt.workflow.definer.WfDefinerSerivce.saveProcessTemplate

createAssignedActivityTemplate

public static boolean createAssignedActivityTemplate(Hashtable attributes,
                                                     Hashtable cmdLineArgs,
                                                     Vector returnObjects)
                                              throws WTException
Create an uninitialized WfAssignedActivityTemplate. The activity template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfAssignedActivityTemplateEditor class is re-used from the workflow definer client to aid in creating WfAssignedActivityTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfAssignedActivityTemplateEditor

saveAssignedActivityTemplate

public static boolean saveAssignedActivityTemplate(Hashtable attributes,
                                                   Hashtable cmdLineArgs,
                                                   Vector returnObjects)
                                            throws WTException
End the definition of the current WfAssignedActivityTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createAdHocActivityTemplate

public static boolean createAdHocActivityTemplate(Hashtable attributes,
                                                  Hashtable cmdLineArgs,
                                                  Vector returnObjects)
                                           throws WTException
Create an uninitialized WfAdHocActivityTemplate. The activity template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfAdHocActivityTemplateEditor class is re-used from the workflow definer client to aid in creating WfAdHocActivityTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfAdHocActivityTemplateEditor

saveAdHocActivityTemplate

public static boolean saveAdHocActivityTemplate(Hashtable attributes,
                                                Hashtable cmdLineArgs,
                                                Vector returnObjects)
                                         throws WTException
End the definition of the current WfAdHocActivityTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createProxyTemplate

public static boolean createProxyTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects)
                                   throws WTException
Create an uninitialized WfProxyTemplate. The activity template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfProxyTemplateEditor class is re-used from the workflow definer client to aid in creating WfProxyTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfProxyTemplateEditor

createProxyTemplate

public static boolean createProxyTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects,
                                          WTContainerRef container)
                                   throws WTException
Create an uninitialized WfProxyTemplate. The activity template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfProxyTemplateEditor class is re-used from the workflow definer client to aid in creating WfProxyTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
container - the context in which to create the template
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfProxyTemplateEditor

saveProxyTemplate

public static boolean saveProxyTemplate(Hashtable attributes,
                                        Hashtable cmdLineArgs,
                                        Vector returnObjects)
                                 throws WTException
End the definition of the current WfProxyTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createBlockTemplate

public static boolean createBlockTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects)
                                   throws WTException
Create an uninitialized WfBlockTemplate. The block template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfBlockTemplateEditor class is re-used from the workflow definer client to aid in creating WfBlockTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfBlockTemplateEditor

saveBlockTemplate

public static boolean saveBlockTemplate(Hashtable attributes,
                                        Hashtable cmdLineArgs,
                                        Vector returnObjects)
                                 throws WTException
End the definition of the current WfBlockTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createExternalMethodTemplate

public static boolean createExternalMethodTemplate(Hashtable attributes,
                                                   Hashtable cmdLineArgs,
                                                   Vector returnObjects)
                                            throws WTException
Create an uninitialized WfExternalMethodTemplate. The external method template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfExternalMethodTemplateEditor class is re-used from the workflow definer client to aid in creating WfExternalMethodTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfExternalMethodTemplateEditor

saveExternalMethodTemplate

public static boolean saveExternalMethodTemplate(Hashtable attributes,
                                                 Hashtable cmdLineArgs,
                                                 Vector returnObjects)
                                          throws WTException
End the definition of the current WfExternalMethodTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createInternalMethodTemplate

public static boolean createInternalMethodTemplate(Hashtable attributes,
                                                   Hashtable cmdLineArgs,
                                                   Vector returnObjects)
                                            throws WTException
Create an uninitialized WfInternalMethodTemplate. The internal method template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfInternalMethodTemplateEditor class is re-used from the workflow definer client to aid in creating WfInternalMethodTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfInternalMethodTemplateEditor

saveInternalMethodTemplate

public static boolean saveInternalMethodTemplate(Hashtable attributes,
                                                 Hashtable cmdLineArgs,
                                                 Vector returnObjects)
                                          throws WTException
End the definition of the current WfInternalMethodTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createApplRobotTemplate

public static boolean createApplRobotTemplate(Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              Vector returnObjects)
                                       throws WTException
Create an uninitialized WfAppRobotTemplate. The application robot template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfApplRobotTemplateEditor class is re-used from the workflow definer client to aid in creating WfApplRobotTemplates. It provides some default initialization and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfApplRobotTemplateEditor

saveApplRobotTemplate

public static boolean saveApplRobotTemplate(Hashtable attributes,
                                            Hashtable cmdLineArgs,
                                            Vector returnObjects)
                                     throws WTException
End the definition of the current WfApplRobotTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createExprRobotTemplate

public static boolean createExprRobotTemplate(Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              Vector returnObjects)
                                       throws WTException
Create an uninitialized WfExprRobotTemplate. The internal method template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfExprRobotTemplateEditor class is re-used from the workflow definer client to aid in creating WfExprRobotTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfExprRobotTemplateEditor

saveExprRobotTemplate

public static boolean saveExprRobotTemplate(Hashtable attributes,
                                            Hashtable cmdLineArgs,
                                            Vector returnObjects)
                                     throws WTException
End the definition of the current WfExprRobotTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createSynchRobotTemplate

public static boolean createSynchRobotTemplate(Hashtable attributes,
                                               Hashtable cmdLineArgs,
                                               Vector returnObjects)
                                        throws WTException
Create an uninitialized WfSynchRobotTemplate. The synch robot template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfSynchRobotTemplateEditor class is re-used from the workflow definer client to aid in creating WfSynchRobotTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfSynchRobotTemplateEditor

saveSynchRobotTemplate

public static boolean saveSynchRobotTemplate(Hashtable attributes,
                                             Hashtable cmdLineArgs,
                                             Vector returnObjects)
                                      throws WTException
End the definition of the current WfSynchRobotTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createURLRobotTemplate

public static boolean createURLRobotTemplate(Hashtable attributes,
                                             Hashtable cmdLineArgs,
                                             Vector returnObjects)
                                      throws WTException
Create an uninitialized WfURLRobotTemplate. The url robot template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfURLRobotTemplateEditor class is re-used from the workflow definer client to aid in creating WfURLRobotTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
wt.clients.workflow.definer.WfURLRobotTemplateEditor

saveURLRobotTemplate

public static boolean saveURLRobotTemplate(Hashtable attributes,
                                           Hashtable cmdLineArgs,
                                           Vector returnObjects)
                                    throws WTException
End the definition of the current WfURLRobotTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createTimerTemplate

public static boolean createTimerTemplate(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects)
                                   throws WTException
Create an uninitialized WfTimerTemplate. The timer template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfTimerTemplateEditor class is re-used from the workflow definer client to aid in creating WfTimerTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfTimerTemplateEditor

saveTimerTemplate

public static boolean saveTimerTemplate(Hashtable attributes,
                                        Hashtable cmdLineArgs,
                                        Vector returnObjects)
                                 throws WTException
End the definition of the current WfTimerTemplate.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

createNodeTemplateLink

public static boolean createNodeTemplateLink(Hashtable attributes,
                                             Hashtable cmdLineArgs,
                                             Vector returnObjects)
                                      throws WTException
Create a NodeTemplateLink between two WfNodeTemplate objects. The NodeTemplateLinkEditor class is re-used from the workflow definer client to aid in creating NodeTemplateLinks.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
NodeTemplateLinkEditor

createConnectorTemplate

public static boolean createConnectorTemplate(Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              Vector returnObjects)
                                       throws WTException
Create a WfConnectorTemplate. The connector template is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template. The WfConnectorTemplateEditor class is re-used from the workflow definer client to aid in creating WfConnectorTemplates. It provides some default initialiazation and contains BatchContainer support.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfConnectorTemplateEditor

saveNodeTemplateLink

public static boolean saveNodeTemplateLink(Hashtable attributes,
                                           Hashtable cmdLineArgs,
                                           Vector returnObjects)
                                    throws WTException
End the definition of the current NodeTemplateLink.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
NodeTemplateLinkEditor

addEventActionPair

public static boolean addEventActionPair(Hashtable attributes,
                                         Hashtable cmdLineArgs,
                                         Vector returnObjects)
                                  throws WTException
Add an event/action pair to the current NodeTemplateLink

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addPrincipalAssignee

public static boolean addPrincipalAssignee(Hashtable attributes,
                                           Hashtable cmdLineArgs,
                                           Vector returnObjects)
                                    throws WTException
Add a principal assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addRoleAssignee

public static boolean addRoleAssignee(Hashtable attributes,
                                      Hashtable cmdLineArgs,
                                      Vector returnObjects)
                               throws WTException
Add role assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addActorAssignee

public static boolean addActorAssignee(Hashtable attributes,
                                       Hashtable cmdLineArgs,
                                       Vector returnObjects)
                                throws WTException
Add an actor role assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addProjectAssignee

public static boolean addProjectAssignee(Hashtable attributes,
                                         Hashtable cmdLineArgs,
                                         Vector returnObjects)
                                  throws WTException
Deprecated.  

Add a project assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addTeamAssignee

public static boolean addTeamAssignee(Hashtable attributes,
                                      Hashtable cmdLineArgs,
                                      Vector returnObjects)
                               throws WTException
Add a team assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addVariableAssignee

public static boolean addVariableAssignee(Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          Vector returnObjects)
                                   throws WTException
Add a variable assignee to the current WfAssignedActivityTemplate (or WfAdHocActivityTemplate) or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addOverdueNotificationRole

public static boolean addOverdueNotificationRole(Hashtable attributes,
                                                 Hashtable cmdLineArgs,
                                                 Vector returnObjects)
                                          throws WTException
Add a OverdueNotification Role to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addVariable

public static boolean addVariable(Hashtable attributes,
                                  Hashtable cmdLineArgs,
                                  Vector returnObjects)
                           throws WTException
Add a variable to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addTransition

public static boolean addTransition(Hashtable attributes,
                                    Hashtable cmdLineArgs,
                                    Vector returnObjects)
                             throws WTException
Add a transition to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addExpression

public static boolean addExpression(Hashtable attributes,
                                    Hashtable cmdLineArgs,
                                    Vector returnObjects)
                             throws WTException
Add an expression to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addOverdueAction

public static boolean addOverdueAction(Hashtable attributes,
                                       Hashtable cmdLineArgs,
                                       Vector returnObjects)
                                throws WTException
Add an overdue action to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addExceptionAction

public static boolean addExceptionAction(Hashtable attributes,
                                         Hashtable cmdLineArgs,
                                         Vector returnObjects)
                                  throws WTException
Add an exception action to the current WfTemplateObject

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addSignature

public static boolean addSignature(Hashtable attributes,
                                   Hashtable cmdLineArgs,
                                   Vector returnObjects)
                            throws WTException
Add a signature to the current WfExternalMethodTemplate or WfInternalMethodTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

addEnvironment

public static boolean addEnvironment(Hashtable attributes,
                                     Hashtable cmdLineArgs,
                                     Vector returnObjects)
                              throws WTException
Add an Environment to the current WfApplRobotTemplate

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

getWfNodeTemplateAttributes

private static boolean getWfNodeTemplateAttributes(Hashtable attributes,
                                                   Hashtable cmdLineArgs,
                                                   Vector returnObjects)
                                            throws WTException
Throws:
WTException

getWfTemplateObjectAttributes

private static boolean getWfTemplateObjectAttributes(Hashtable attributes,
                                                     Hashtable cmdLineArgs,
                                                     Vector returnObjects)
                                              throws WTException
Throws:
WTException

getWfAssignedActivityTemplateAttributes

private static boolean getWfAssignedActivityTemplateAttributes(Hashtable attributes,
                                                               Hashtable cmdLineArgs,
                                                               Vector returnObjects)
                                                        throws WTException
Throws:
WTException

getWfRobotActivityTemplateAttributes

private static boolean getWfRobotActivityTemplateAttributes(Hashtable attributes,
                                                            Hashtable cmdLineArgs,
                                                            Vector returnObjects)
                                                     throws WTException
Throws:
WTException

getWfInvokedMethodTemplateAttributes

private static boolean getWfInvokedMethodTemplateAttributes(Hashtable attributes,
                                                            Hashtable cmdLineArgs,
                                                            Vector returnObjects)
                                                     throws WTException
Throws:
WTException

getAssigneeAttributes

private static boolean getAssigneeAttributes(Hashtable attributes,
                                             Hashtable cmdLineArgs,
                                             Vector returnObjects)
                                      throws WTException
Throws:
WTException

setWfNodeTemplateAttributes

private static WfNodeTemplate setWfNodeTemplateAttributes(WfNodeTemplate aWfNodeTemplate,
                                                          WfContainerTemplateEditor containerEditor)
                                                   throws WTException
Throws:
WTException

setWfTemplateObjectAttributes

private static WfTemplateObject setWfTemplateObjectAttributes(WfTemplateObject wfTemplateObject,
                                                              WfContainerTemplateEditor containerEditor)
                                                       throws WTException
Throws:
WTException

setWfAssignedActivityTemplateAttributes

private static WfAssignedActivityTemplate setWfAssignedActivityTemplateAttributes(WfAssignedActivityTemplate wfAssignedActivityTemplate,
                                                                                  WfContainerTemplateEditor containerEditor)
                                                                           throws WTException
Throws:
WTException

setWfRobotActivityTemplateAttributes

private static WfRobotActivityTemplate setWfRobotActivityTemplateAttributes(WfRobotActivityTemplate wfRobotActivityTemplate,
                                                                            WfContainerTemplateEditor containerEditor)
                                                                     throws WTException
Throws:
WTException

setWfInvokedMethodTemplateAttributes

private static WfInvokedMethodTemplate setWfInvokedMethodTemplateAttributes(WfInvokedMethodTemplate wfInvokedMethodTemplate,
                                                                            WfContainerTemplateEditor containerEditor)
                                                                     throws WTException
Throws:
WTException

setWfAssigneeAttributes

private static WfAssignee setWfAssigneeAttributes(WfAssignee assignee)
                                           throws WTException
Throws:
WTException

getString

private static String getString(String name,
                                Hashtable attributes,
                                Hashtable cmdLineArgs,
                                int required)
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

getLong

private static long getLong(String name,
                            Hashtable attributes,
                            Hashtable cmdLineArgs,
                            int required)
                     throws IllegalArgumentException
Throws:
IllegalArgumentException

getInteger

private static int getInteger(String name,
                              Hashtable attributes,
                              Hashtable cmdLineArgs,
                              int required)
                       throws IllegalArgumentException
Throws:
IllegalArgumentException

getBoolean

private static boolean getBoolean(String name,
                                  Hashtable attributes,
                                  Hashtable cmdLineArgs,
                                  int required,
                                  boolean defaultValue)
                           throws IllegalArgumentException
Throws:
IllegalArgumentException

getCategory

private static WfTemplateCategory getCategory(String name,
                                              Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              int required)
                                       throws IllegalArgumentException
Throws:
IllegalArgumentException

getTransition

private static WfTransition getTransition(String name,
                                          Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          int required)
                                   throws IllegalArgumentException
Throws:
IllegalArgumentException

getRole

private static Role getRole(String name,
                            Hashtable attributes,
                            Hashtable cmdLineArgs,
                            int required)
                     throws IllegalArgumentException
Throws:
IllegalArgumentException

getActorRole

private static ActorRole getActorRole(String name,
                                      Hashtable attributes,
                                      Hashtable cmdLineArgs,
                                      int required)
                               throws IllegalArgumentException
Throws:
IllegalArgumentException

getTeamReference

private static TeamReference getTeamReference(String name,
                                              Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              int required)
                                       throws IllegalArgumentException,
                                              WTException
Throws:
IllegalArgumentException
WTException

getTeamTemplateReference

private static TeamTemplateReference getTeamTemplateReference(String name,
                                                              Hashtable attributes,
                                                              Hashtable cmdLineArgs,
                                                              int required)
                                                       throws IllegalArgumentException,
                                                              WTException
Throws:
IllegalArgumentException
WTException

getCompletionType

private static WfCompletionType getCompletionType(String name,
                                                  Hashtable attributes,
                                                  Hashtable cmdLineArgs,
                                                  int required)
                                           throws IllegalArgumentException
Throws:
IllegalArgumentException

getOverdueAction

private static WfOverdueActionType getOverdueAction(String name,
                                                    Hashtable attributes,
                                                    Hashtable cmdLineArgs,
                                                    int required)
                                             throws IllegalArgumentException
Throws:
IllegalArgumentException

getConnectorType

private static WfConnectorType getConnectorType(String name,
                                                Hashtable attributes,
                                                Hashtable cmdLineArgs,
                                                int required)
                                         throws IllegalArgumentException
Throws:
IllegalArgumentException

getConnectorFunction

private static WfConnectorFunction getConnectorFunction(String name,
                                                        Hashtable attributes,
                                                        Hashtable cmdLineArgs,
                                                        int required)
                                                 throws IllegalArgumentException
Throws:
IllegalArgumentException

getExceptionAction

private static WfExceptionActionType getExceptionAction(String name,
                                                        Hashtable attributes,
                                                        Hashtable cmdLineArgs,
                                                        int required)
                                                 throws IllegalArgumentException
Throws:
IllegalArgumentException

getSynchType

private static WfSynchType getSynchType(String name,
                                        Hashtable attributes,
                                        Hashtable cmdLineArgs,
                                        int required)
                                 throws IllegalArgumentException
Throws:
IllegalArgumentException

getFolder

private static Folder getFolder(String folderLocation,
                                Hashtable attributes,
                                Hashtable cmdLineArgs,
                                int required,
                                WTContainerRef context_ref)
                         throws WTException
Throws:
WTException

getFolderPath

private static String getFolderPath(WTContainer context,
                                    String folder_name)
                             throws WTException
Throws:
WTException

getUserEvents

private static UserEventVector getUserEvents(String name,
                                             Hashtable attributes,
                                             Hashtable cmdLineArgs,
                                             int required)
                                      throws IllegalArgumentException
Throws:
IllegalArgumentException

getRouterType

private static WfRouterType getRouterType(String name,
                                          Hashtable attributes,
                                          Hashtable cmdLineArgs,
                                          int required,
                                          UserEventVector routingEvents,
                                          String routingExpr)

getPermissionSet

private static PermissionSet getPermissionSet(String name,
                                              Hashtable attributes,
                                              Hashtable cmdLineArgs,
                                              int required)

createExpression

private static WfExpression createExpression(String exprBody,
                                             WfNodeTemplate node)
                                      throws WTException
Throws:
WTException

deriveDefaultVariableValue

private static Object deriveDefaultVariableValue(String defaultValue,
                                                 String type)
                                          throws WTException
Throws:
WTException

replaceSpecialCharacters

private static String replaceSpecialCharacters(String string)

unmangleCharacters

private static String unmangleCharacters(String string,
                                         char search,
                                         char replace)
The following algorithm is used to replace characters If the search character is preceded by a backslash '\' replace both characters with the search character. Otherwise replace the character only the character specified by the replace parameter.


constructDisplayNameMap

private static HashMap constructDisplayNameMap(String string)

getNextInQueue

private static Object getNextInQueue(String queueName)
                              throws WTException
Throws:
WTException

deriveConnectorSubType

private static String deriveConnectorSubType(String type)

deriveEventActionPair

private static Object[] deriveEventActionPair(String strEvent,
                                              String strAction,
                                              WfNodeTemplate sourceNode,
                                              WfNodeTemplate destNode)
                                       throws WTException
Throws:
WTException

createNotification

public static boolean createNotification(Hashtable attributes,
                                         Hashtable cmdLineArgs,
                                         Vector returnObjects)
                                  throws WTException
Create an notification activity. The notification is stored in the LoadService cache and later persisted as part of a call to saveProcessTemplate which persists the parent process template.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException
See Also:
WfAssignedActivityTemplateEditor

saveNotification

public static boolean saveNotification(Hashtable attributes,
                                       Hashtable cmdLineArgs,
                                       Vector returnObjects)
                                throws WTException
End the definition of the current Notification Activity. Effectively no additional recipients can be added after this method is called.

Parameters:
attributes - name/value pairs of attributes
cmdLineArgs - command line arguments that can be substituted into the load data.
returnObjects - object(s) created by this method used by wt.load.StandardLoadService for user feedback messages.
Throws:
WTException

loadClass

private static Class loadClass(String a_classname)
                        throws WTException
Throws:
WTException