|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.LoadWorkflow
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.
Nested Class Summary | |
private static class |
LoadWorkflow.Queue
|
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 |
private static final String RESOURCE
private static final String DEFINER_CLIENT_RESOURCE
private static final String BLANK
private static final String LIST_DELIMITER
private static final String FOLDER_SEPARATOR
private static String WORKFLOW_FOLDER
private static boolean VERBOSE
private static Vector validTasks
private static int xCoordinate
private static int yCoordinate
private static String uniqueId
private static String name
private static String description
private static WfTemplateCategory category
private static String instructions
private static String iconName
private static long duration
private static long processDuration
private static long startDelay
private static long startProcessDelay
private static boolean notifyBeforeDeadline
private static long timeToDeadline
private static boolean notifyAfterDeadline
private static long timePastDeadline
private static Role responsibleRole
private static WfRouterType routerType
private static UserEventVector routingEvents
private static String autoRoutingExpression
private static String task
private static boolean sendNotification
private static TeamTemplateReference localTeam
private static String variableTeam
private static boolean completionRequired
private static WfCompletionType completionPolicyType
private static int completionPolicyValue
private static boolean signingRequired
private static String host
private static String serviceName
private static String methodName
private static String methodReturn
private static final String CONTAINER_QUEUE
private static final String TEMPLATE_OBJECT_QUEUE
private static final String BLOCK_TEMPLATE_QUEUE
private static final String CURRENT_PROCESS_TEMPLATE
private static final String CURRENT_ASSIGNED_ACTIVITY
private static final String CURRENT_ADHOC_ACTIVITY
private static final String CURRENT_PROXY_TEMPLATE
private static final String CURRENT_TIMER_TEMPLATE
private static final String CURRENT_INTERNAL_METHOD_TEMPLATE
private static final String CURRENT_EXTERNAL_METHOD_TEMPLATE
private static final String CURRENT_APPL_ROBOT_TEMPLATE
private static final String CURRENT_EXPR_ROBOT_TEMPLATE
private static final String CURRENT_SYNCH_ROBOT_TEMPLATE
private static final String CURRENT_URL_ROBOT_TEMPLATE
private static final String CURRENT_NODE_TEMPLATE_LINK
private static final String CURRENT_NOTIFICATION_ACTIVITY
Constructor Detail |
public LoadWorkflow()
Method Detail |
public static boolean createProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
.
The WfProcessTemplateEditor
class is re-used from the workflow definer client
to aid in creating WfProcessTemplate
s. It provides some default initialiazation
and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfProcessTemplateEditor
public static boolean createProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef context_ref) throws WTException
WTException
public static boolean saveProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
TransactionContainer
,
BatchContainer
,
wt.workflow.definer.WfDefinerSerivce.saveProcessTemplate
public static boolean saveProcessTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef container) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- command line arguments that can be substituted into the load data.returnObjects
- object(s) created by this method used bycontainer
- the context in which to save this template
wt.load.StandardLoadService
for user feedback messages.
WTException
TransactionContainer
,
BatchContainer
,
wt.workflow.definer.WfDefinerSerivce.saveProcessTemplate
public static boolean createAssignedActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfAssignedActivityTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfAssignedActivityTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfAssignedActivityTemplateEditor
public static boolean saveAssignedActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createAdHocActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfAdHocActivityTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfAdHocActivityTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfAdHocActivityTemplateEditor
public static boolean saveAdHocActivityTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfProxyTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfProxyTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfProxyTemplateEditor
public static boolean createProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects, WTContainerRef container) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfProxyTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfProxyTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- command line arguments that can be substituted into the load data.container
- the context in which to create the templatereturnObjects
- object(s) created by this method used by
wt.load.StandardLoadService
for user feedback messages.
WTException
WfProxyTemplateEditor
public static boolean saveProxyTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createBlockTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfBlockTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfBlockTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfBlockTemplateEditor
public static boolean saveBlockTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createExternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfExternalMethodTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfExternalMethodTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfExternalMethodTemplateEditor
public static boolean saveExternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createInternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfInternalMethodTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfInternalMethodTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfInternalMethodTemplateEditor
public static boolean saveInternalMethodTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createApplRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfApplRobotTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfApplRobotTemplate
s. It provides some default
initialization and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfApplRobotTemplateEditor
public static boolean saveApplRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createExprRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfExprRobotTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfExprRobotTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfExprRobotTemplateEditor
public static boolean saveExprRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createSynchRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfSynchRobotTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfSynchRobotTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfSynchRobotTemplateEditor
public static boolean saveSynchRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createURLRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfURLRobotTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfURLRobotTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
wt.clients.workflow.definer.WfURLRobotTemplateEditor
public static boolean saveURLRobotTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createTimerTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfTimerTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfTimerTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfTimerTemplateEditor
public static boolean saveTimerTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean createNodeTemplateLink(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
NodeTemplateLinkEditor
class is re-used from the workflow definer client
to aid in creating NodeTemplateLink
s.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
NodeTemplateLinkEditor
public static boolean createConnectorTemplate(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
The WfConnectorTemplateEditor
class is re-used from the workflow definer
client to aid in creating WfConnectorTemplate
s. It provides some default
initialiazation and contains BatchContainer
support.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfConnectorTemplateEditor
public static boolean saveNodeTemplateLink(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
NodeTemplateLinkEditor
public static boolean addEventActionPair(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addPrincipalAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addRoleAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addActorAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addProjectAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addTeamAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addVariableAssignee(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addOverdueNotificationRole(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addVariable(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addTransition(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addExpression(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addOverdueAction(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addExceptionAction(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addSignature(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
public static boolean addEnvironment(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
private static boolean getWfNodeTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static boolean getWfTemplateObjectAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static boolean getWfAssignedActivityTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static boolean getWfRobotActivityTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static boolean getWfInvokedMethodTemplateAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static boolean getAssigneeAttributes(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
WTException
private static WfNodeTemplate setWfNodeTemplateAttributes(WfNodeTemplate aWfNodeTemplate, WfContainerTemplateEditor containerEditor) throws WTException
WTException
private static WfTemplateObject setWfTemplateObjectAttributes(WfTemplateObject wfTemplateObject, WfContainerTemplateEditor containerEditor) throws WTException
WTException
private static WfAssignedActivityTemplate setWfAssignedActivityTemplateAttributes(WfAssignedActivityTemplate wfAssignedActivityTemplate, WfContainerTemplateEditor containerEditor) throws WTException
WTException
private static WfRobotActivityTemplate setWfRobotActivityTemplateAttributes(WfRobotActivityTemplate wfRobotActivityTemplate, WfContainerTemplateEditor containerEditor) throws WTException
WTException
private static WfInvokedMethodTemplate setWfInvokedMethodTemplateAttributes(WfInvokedMethodTemplate wfInvokedMethodTemplate, WfContainerTemplateEditor containerEditor) throws WTException
WTException
private static WfAssignee setWfAssigneeAttributes(WfAssignee assignee) throws WTException
WTException
private static String getString(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static long getLong(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static int getInteger(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static boolean getBoolean(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, boolean defaultValue) throws IllegalArgumentException
IllegalArgumentException
private static WfTemplateCategory getCategory(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfTransition getTransition(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static Role getRole(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static ActorRole getActorRole(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static TeamReference getTeamReference(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException, WTException
IllegalArgumentException
WTException
private static TeamTemplateReference getTeamTemplateReference(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException, WTException
IllegalArgumentException
WTException
private static WfCompletionType getCompletionType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfOverdueActionType getOverdueAction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfConnectorType getConnectorType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfConnectorFunction getConnectorFunction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfExceptionActionType getExceptionAction(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfSynchType getSynchType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static Folder getFolder(String folderLocation, Hashtable attributes, Hashtable cmdLineArgs, int required, WTContainerRef context_ref) throws WTException
WTException
private static String getFolderPath(WTContainer context, String folder_name) throws WTException
WTException
private static UserEventVector getUserEvents(String name, Hashtable attributes, Hashtable cmdLineArgs, int required) throws IllegalArgumentException
IllegalArgumentException
private static WfRouterType getRouterType(String name, Hashtable attributes, Hashtable cmdLineArgs, int required, UserEventVector routingEvents, String routingExpr)
private static PermissionSet getPermissionSet(String name, Hashtable attributes, Hashtable cmdLineArgs, int required)
private static WfExpression createExpression(String exprBody, WfNodeTemplate node) throws WTException
WTException
private static Object deriveDefaultVariableValue(String defaultValue, String type) throws WTException
WTException
private static String replaceSpecialCharacters(String string)
private static String unmangleCharacters(String string, char search, char replace)
private static HashMap constructDisplayNameMap(String string)
private static Object getNextInQueue(String queueName) throws WTException
WTException
private static String deriveConnectorSubType(String type)
private static Object[] deriveEventActionPair(String strEvent, String strAction, WfNodeTemplate sourceNode, WfNodeTemplate destNode) throws WTException
WTException
public static boolean createNotification(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
saveProcessTemplate
which persists the parent process template.
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
WfAssignedActivityTemplateEditor
public static boolean saveNotification(Hashtable attributes, Hashtable cmdLineArgs, Vector returnObjects) throws WTException
attributes
- name/value pairs of attributescmdLineArgs
- 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.
WTException
private static Class loadClass(String a_classname) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |