|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.wcm.apps.server.util.EProcessMultilingualUtil
Constructor Summary | |
EProcessMultilingualUtil(com.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider eProcessDataProvider,
java.util.Locale locale)
|
Method Summary | |
java.lang.Object |
doCreateWorkflowTranslated(java.lang.String workflowIdentifier,
java.lang.String subject,
java.lang.String attachmentId)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's doCreateWorkflow method. |
java.lang.String[] |
fetchMapNamesTranslated(java.lang.String queueName,
java.lang.String wobNum,
boolean refresh)
|
java.lang.String[] |
fetchUserQueueNamesTranslated(boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's fetchQueueNames method. |
org.w3c.dom.Document |
getDocumentFormTemplateAttachmentsXML(com.filenet.wcm.toolkit.server.util.WcmEProcessUtil eProcessUtil,
java.lang.String attachmentName)
Get the list of document form template attachment items for the specified attachment name. |
java.lang.Object |
getLaunchedWorkflowsTranslated(boolean containsMilestones,
boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getLaunchedWorkflows method. |
java.lang.String |
getLocalzedSubjectValue()
|
java.lang.Object |
getMilestonesTranslated(int workSpaceId,
int workClassId,
java.lang.String workflowNumber,
int level,
boolean lastOnly,
boolean reachedOnly)
|
java.lang.Object |
getMilestonesTranslated(java.lang.String queueName,
java.lang.String wobNum,
int level,
boolean lastOnly,
boolean reachedOnly,
boolean refresh)
|
java.lang.Object |
getPublicQueuesTranslated(boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getPublicQueues method. |
java.lang.String |
getQueueAuthoredName(java.lang.String queueName)
|
java.lang.Object |
getQueueElementsTranslated(java.lang.String queueName,
java.lang.String queueType,
int maxCount,
java.lang.String[] dataFields,
boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getQueueElements method. |
java.lang.Object |
getQueueElementsTranslated(java.lang.String queueName,
java.lang.String queueType,
java.lang.String indexName,
java.lang.String filter,
java.lang.Object[] substitutionVars,
int maxCount,
java.lang.String[] dataFields,
boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getQueueElements method. |
java.lang.Object |
getQueueElementsTranslated(java.lang.String queueName,
java.lang.String queueType,
java.lang.String indexName,
java.lang.String filter,
java.lang.Object[] substitutionVars,
int maxCount,
java.lang.String[] dataFields,
boolean refresh,
java.lang.String stepName,
java.lang.String operator)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getQueueElements method. |
filenet.vw.api.VWExposedFieldDefinition[] |
getQueueFieldDefinitionsTranslated(java.lang.String inboxName)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getQueueFieldDefinitions method. |
java.lang.String |
getQueueLocalizeddName(java.lang.String authoredQueueName)
|
java.lang.String |
getStepElementMapNameTranslated(java.lang.String queueName,
java.lang.String wobNum)
|
java.lang.Object |
getStepElementTranslated(boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getStepElement method. |
java.lang.Object |
getStepElementTranslated(java.lang.String queueName,
java.lang.String wobNum,
boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getPublicQueues method. |
java.lang.Object |
getStepElementTranslated(java.lang.String queueName,
java.lang.String wobNum,
boolean refresh,
boolean lockItem)
|
java.lang.Object |
getStepHistoryTranslated(java.lang.String queueName,
java.lang.String wobNum,
java.lang.String mapName,
boolean refresh)
|
java.lang.Object |
getStepProcessorInfoTranslated(boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getStepProcessorInfo method. |
java.lang.Object |
getUserQueuesTranslated(boolean refresh)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that translated data is returned from the call to the data provider's getUserQueues method. |
boolean |
setParameterValues(org.w3c.dom.Document xmlDoc,
java.lang.String paramName,
java.lang.String[] values)
|
boolean |
setSelectedResponseTranslated(org.w3c.dom.Document xmlDoc,
java.lang.String response)
Set selected response in XML document. |
void |
setStepElementAttachmentsTranslated(boolean doSave)
Set the modified attachment information into the StepElement parameters and save to the server. |
void |
setStepElementGeneralInfoTranslated(int processorType)
Sets step element general info on workflow server. |
void |
setStepElementParametersTranslated(java.lang.String paramType)
Set step element parameter values on workflow server |
void |
setTranslatedStepElementAttachments(org.w3c.dom.Document stepAttachmentsXML,
boolean doSave)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that a reverse lookup is performed within the call to the data provider's setStepElementAttachments method. |
void |
setTranslatedStepElementGeneralInfo(int processorType)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that a reverse lookup is performed within the call to the data provider's setStepElementGeneralInfo method. |
void |
setTranslatedStepElementParameters(java.lang.String paramType)
Sets the operating locale of the VWSession object within the eProcessDataProvider member variable to ensure that a reverse lookup is performed within the call to the data provider's setStepElementParameters method. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public EProcessMultilingualUtil(com.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider eProcessDataProvider, java.util.Locale locale)
Method Detail |
public filenet.vw.api.VWExposedFieldDefinition[] getQueueFieldDefinitionsTranslated(java.lang.String inboxName) throws java.lang.Exception
inboxName
- - the name of the queue from which to retrieve the VWQueueFieldDefinition objects.
java.lang.Exception
public java.lang.Object getStepProcessorInfoTranslated(boolean refresh) throws java.lang.Exception
refresh
- - boolean argument specifying whether to retrieve fresh data (true) or attempt to use cached data (false)
java.lang.Exception
public java.lang.Object getQueueElementsTranslated(java.lang.String queueName, java.lang.String queueType, java.lang.String indexName, java.lang.String filter, java.lang.Object[] substitutionVars, int maxCount, java.lang.String[] dataFields, boolean refresh) throws java.lang.Exception
queueName
- String holding the queue name to retrive elements from.queueType
- String holding the queue type, User or Process.indexName
- String holding the index names used for sorting the query result.filter
- String Containins a SQL statement that specifies a filter conditions(used with values input to
the substitutionVars parameter).substitutionVars
- An array of objects that contain the values to substitute for the variable names
to the right of the colons in the SQL statement you passed to the filter parameter.maxCount
- Int holding how many elements must be retrieved into the element cache.dataFields
- String array holding the list of data fields to be returned as part of the queue element data.refresh
- Boolean flag that specifies the data retrival location.
java.lang.Exception
public java.lang.Object getQueueElementsTranslated(java.lang.String queueName, java.lang.String queueType, java.lang.String indexName, java.lang.String filter, java.lang.Object[] substitutionVars, int maxCount, java.lang.String[] dataFields, boolean refresh, java.lang.String stepName, java.lang.String operator) throws java.lang.Exception
queueName
- String holding the queue name to retrive elements from.queueType
- String holding the queue type, User or Process.indexName
- String holding the index names used for sorting the query result.filter
- String Containins a SQL statement that specifies a filter conditions(used with values input to
the substitutionVars parameter).substitutionVars
- An array of objects that contain the values to substitute for the variable names
to the right of the colons in the SQL statement you passed to the filter parameter.maxCount
- Int holding how many elements must be retrieved into the element cache.dataFields
- String array holding the list of data fields to be returned as part of the queue element data.refresh
- Boolean flag that specifies the data retrival location.stepName
- String holding the name of the step on which to apply a filteroperator
- String holding the operator used by the stepName filter
java.lang.Exception
public java.lang.Object getQueueElementsTranslated(java.lang.String queueName, java.lang.String queueType, int maxCount, java.lang.String[] dataFields, boolean refresh) throws java.lang.Exception
queueName
- String holding the queue name to retrive elements from.queueType
- String holding the queue type, User or Process.maxCount
- Int holding how many elements must be retrieved into the element cache.dataFields
- String array holding the list of data fields to be returned as part of the queue element data.refresh
- Boolean flag that specifies the data retrival location.
java.lang.Exception
public java.lang.Object getLaunchedWorkflowsTranslated(boolean containsMilestones, boolean refresh) throws java.lang.Exception
containsMilestones
- True to get workflows containing milestones; False to get workflows with or without milestones.refresh
- True to retrieve launched workflow XML from API; otherwise, fetch the in-memory copy.
java.lang.Exception
public java.lang.String[] fetchUserQueueNamesTranslated(boolean refresh) throws java.lang.Exception
refresh
- - boolean argument where true means to retrieve a fresh copy and false means attempt to retrieve cached data.
java.lang.Exception
public java.lang.Object getUserQueuesTranslated(boolean refresh) throws java.lang.Exception
refresh
- - boolean argument where true means to retrieve a fresh copy and false means attempt to retrieve cached data.
java.lang.Exception
public java.lang.Object getPublicQueuesTranslated(boolean refresh) throws java.lang.Exception
refresh
- - boolean argument where true means to retrieve a fresh copy and false means attempt to retrieve cached data.
java.lang.Exception
public java.lang.Object getStepElementTranslated(java.lang.String queueName, java.lang.String wobNum, boolean refresh) throws java.lang.Exception
queueName
- Queue NamewobNum
- Workflow object numberrefresh
- True to retrieve step element XML from VWStepElement; otherwise, fetch the in-memory copy
java.lang.Exception
public java.lang.Object doCreateWorkflowTranslated(java.lang.String workflowIdentifier, java.lang.String subject, java.lang.String attachmentId) throws java.lang.Exception
workflowIdentifier
- Visual WorkFlo version stringsubject
- Workflow subject from linkerattachmentId
- Main workflow attachment
java.lang.Exception
public void setTranslatedStepElementGeneralInfo(int processorType) throws java.lang.Exception
processorType
- int the type of processor LAUNCH_PROCESSOR or STEP_PROCESSOR
java.lang.Exception
public void setTranslatedStepElementParameters(java.lang.String paramType) throws java.lang.Exception
paramType
- Specifies what type (alltypes, boolean, int, float, string, time, attachment, participant) of parameters to save
java.lang.Exception
public void setTranslatedStepElementAttachments(org.w3c.dom.Document stepAttachmentsXML, boolean doSave) throws java.lang.Exception
stepAttachmentsXML
- Document object holding the attachments information as XMLdoSave
- Boolean value indicates whether VWStepElement doSave method should be called. True only when in the Step Processor.
java.lang.Exception
public java.lang.Object getStepElementTranslated(boolean refresh) throws java.lang.Exception
refresh
- - boolean argument where true means to retrieve a fresh copy and false means attempt to retrieve cached data.
java.lang.Exception
public java.lang.String getLocalzedSubjectValue() throws java.lang.Exception
java.lang.Exception
public java.lang.Object getMilestonesTranslated(java.lang.String queueName, java.lang.String wobNum, int level, boolean lastOnly, boolean reachedOnly, boolean refresh) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getMilestonesTranslated(int workSpaceId, int workClassId, java.lang.String workflowNumber, int level, boolean lastOnly, boolean reachedOnly) throws java.lang.Exception
java.lang.Exception
public java.lang.String getStepElementMapNameTranslated(java.lang.String queueName, java.lang.String wobNum) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getStepElementTranslated(java.lang.String queueName, java.lang.String wobNum, boolean refresh, boolean lockItem) throws java.lang.Exception
java.lang.Exception
public java.lang.String[] fetchMapNamesTranslated(java.lang.String queueName, java.lang.String wobNum, boolean refresh) throws java.lang.Exception
java.lang.Exception
public java.lang.Object getStepHistoryTranslated(java.lang.String queueName, java.lang.String wobNum, java.lang.String mapName, boolean refresh) throws java.lang.Exception
java.lang.Exception
public boolean setParameterValues(org.w3c.dom.Document xmlDoc, java.lang.String paramName, java.lang.String[] values) throws java.lang.Exception
java.lang.Exception
public boolean setSelectedResponseTranslated(org.w3c.dom.Document xmlDoc, java.lang.String response) throws java.lang.Exception
xmlDoc
- Document objectresponse
- Selected response.
java.lang.Exception
- If there are problems retrieving data.public java.lang.String getQueueLocalizeddName(java.lang.String authoredQueueName) throws java.lang.Exception
java.lang.Exception
public void setStepElementAttachmentsTranslated(boolean doSave) throws java.lang.Exception
doSave
- Boolean value indicates whether VWStepElement doSave method should be called. True only when in the Step Processor.
java.lang.Exception
- If there are problems retrieving data.public void setStepElementGeneralInfoTranslated(int processorType) throws java.lang.Exception
processorType
- int the type of processor LAUNCH_PROCESSOR or STEP_PROCESSOR
java.lang.Exception
- If there are problems retrieving data.public void setStepElementParametersTranslated(java.lang.String paramType) throws java.lang.Exception
paramType
- Specifies what type (alltypes, boolean, int, float, string, time, attachment, participant) of parameters to save
java.lang.Exception
- If there are problems retrieving data.public java.lang.String getQueueAuthoredName(java.lang.String queueName) throws java.lang.Exception
java.lang.Exception
public org.w3c.dom.Document getDocumentFormTemplateAttachmentsXML(com.filenet.wcm.toolkit.server.util.WcmEProcessUtil eProcessUtil, java.lang.String attachmentName) throws java.lang.Exception
attachmentName
- The Attachment name.
java.lang.Exception
- Thrown when there are errors.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |