com.filenet.wcm.toolkit.server.dp

Class WcmEProcessDataProvider

  1. java.lang.Object
  2. extended bycom.filenet.wcm.toolkit.server.base.WcmDpContainer
  3. extended bycom.filenet.wcm.toolkit.server.base.WcmModule
  4. extended bycom.filenet.wcm.toolkit.server.base.WcmDpModule
  5. extended bycom.filenet.wcm.toolkit.server.dp.WcmEProcessDataProvider
All implemented interfaces:
WcmDpModuleInterface, WcmModuleInterface

  1. public class WcmEProcessDataProvider
  2. extends WcmDpModule
Handles data provided from the eProcess Java API.

Field Summary

Modifier and Type Field and Description
  1. static
  2. int
ENTRY_PROCESSOR
Defines the launch step processor mode for the entry template workflow .
  1. static
  2. int
GROUPS
Defines the participant retrieval behavior for only groups.
  1. static
  2. int
LAUNCH_PROCESSOR
Defines the launch step processor mode.
  1. static
  2. java.lang.String
NO_DATE_VALUE
Defines a long constant being used for generating an empty date value.
  1. static
  2. int
QUEUE_INFORMATION
Defines the queue information mode.
  1. static
  2. java.lang.String
QUEUE_TYPE_CENTRIC
Defines the queue type user centric.
  1. static
  2. java.lang.String
QUEUE_TYPE_PROCESS
Defines the queue type process.
  1. static
  2. java.lang.String
QUEUE_TYPE_SYSTEM
Defines the queue type system
  1. static
  2. int
SEARCH_TYPE_CONTAINS
Defines the user or group search type contains.
  1. static
  2. int
SEARCH_TYPE_CUSTOM
Defines the user or group search type custom.
  1. static
  2. int
SEARCH_TYPE_PREFIX_MATCH
Defines the user or group search type prefix match.
  1. static
  2. int
SEARCH_TYPE_SUFFIX_MATCH
Defines the user or group search type suffix match.
  1. static
  2. int
SORT_TYPE_ASCENDING
Defines the user or group sort type ascending.
  1. static
  2. int
SORT_TYPE_DESCENDING
Defines the user or group sort type descending.
  1. static
  2. int
SORT_TYPE_NONE
Defines the user or group sort type none.
  1. static
  2. java.lang.String
STATE_CLEAN
Defines clean state specified for data field
  1. static
  2. java.lang.String
STATE_MARKED_REMOVE
Defines marked removed state specified for data field
  1. static
  2. java.lang.String
STATE_MODIFIED
Defines modified state specified for data field
  1. static
  2. java.lang.String
STATE_NONE
Defines no state specified for data field
  1. static
  2. java.lang.String
STATE_NOT_VALID
Defines not valid (and modified) state specified for data field
  1. static
  2. int
STEP_PROCESSOR
Defines the step processor mode.
  1. static
  2. java.lang.String
SYSTEMMAP_MALFUNCTION
Defines the Malfunction system map name contained in the workflow definition.
  1. static
  2. java.lang.String
SYSTEMMAP_QUEUE_ASSERTION
Defines the QueueAssertionViolation system map name contained in the workflow definition.
  1. static
  2. java.lang.String
SYSTEMMAP_RECOVERY
Defines the Recovery system map name contained in the workflow definition.
  1. static
  2. java.lang.String
SYSTEMMAP_TERMINATE
Defines the Terminate system map name contained in the workflow definition.
  1. static
  2. java.lang.String
SYSTEMMAP_TRACKER
Defines the Tracker system map name contained in the workflow definition.
  1. static
  2. java.lang.String
SYSTEMMAP_WORKFLOW
Defines the Workflow system map name contained in the workflow definition.
  1. static
  2. java.lang.String
TIME_MASK_CANONICAL
Defines the time mask used for date data fields
  1. static
  2. java.lang.String
TYPE
Defines the data provider type
  1. static
  2. int
USERS
Defines the participant retrieval behavior for only users.
  1. static
  2. int
USERSGROUPS
Defines the participant retrieval behavior for users and groups together.
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmDpModule
cache
Fields inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
locale, NAME_DELIMITER

Constructor Summary

Constructor and Description
WcmEProcessDataProvider()

Method Summary

Modifier and Type Method and Description
  1. void
addAttachmentToArray(java.lang.String name,java.lang.String objectStore,java.lang.String objectId,java.lang.String verSerId,java.lang.String type)
Adds an attachment to the VWAttachments array.
  1. boolean
addParameterValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName,java.lang.String[] values)
Append parameter values in XML document.
  1. boolean
addWorkflowGroupValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName,ParticipantRef[] values)
Append workflow group parameter values in XML document.
  1. void
cleanup()
  1. void
clearStepElementState()
Clear the data in the step element state class currently used by the data provider.
  1. void
createAttachmentArray()
Creates a array list to hold the attachment list for a particular StepElement parameter.
  1. org.w3c.dom.Element
createChildElement(org.w3c.dom.Document rootDocument,org.w3c.dom.Element parentElement,java.lang.String tagName)
Create a child element
  1. org.w3c.dom.Element
createChildElement(org.w3c.dom.Document rootDocument,org.w3c.dom.Element parentElement,java.lang.String tagName,java.lang.String value)
Create a child element with a value
  1. void
deleteParameterValue(org.w3c.dom.Document xmlDoc,java.lang.String paramName,int index)
Deletes parameter value specified by index.
  1. void
deleteParameterValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName,java.lang.String[] values)
Deletes parameter values from XML document.
  1. java.lang.Object
doCreateWorkflow(java.lang.String workflowIdentifier,java.lang.String subject,java.lang.String attachmentId)
Launch a workflow from the currently transferred workflow definition.
  1. boolean
doEvaluateExpression(java.lang.String subscriptionName,java.lang.String expression,java.lang.String objectStoreId,java.lang.String objectId,java.lang.String verSerId,int objectType)
Deprecated. Use the doEvaluateSubscriptionExpression method to evaluate expressions.
  1. boolean
doEvaluateSubscriptionExpression(java.lang.String subscriptionName,java.lang.String workflowExpression,java.lang.String eventExpression,java.lang.String objectStoreId,java.lang.String objectId,int objectType)
Evaluates the expression of the workflow subscription.
  1. void
domToString(org.w3c.dom.Document document)
Convert DOM tree to string.
  1. void
doStepElementAbort()
Unlocks a work item associated with this step without updating the fields on the work item.
  1. void
doStepElementDispatch()
Completes this step by moving to the next workflow step.
  1. void
doStepElementMoveToInbox()
Moves work item to the current user inbox.
  1. void
doStepElementReassign(java.lang.String participant,boolean delegateFlag)
Changes the participant responsible for processing the current step.
  1. void
doStepElementReassign(java.lang.String domainId,java.lang.String participant,boolean delegateFlag)
Changes the participant responsible for processing the current step.
  1. void
doStepElementReturn()
Returns the work item to the queue from which a user originally reassigned or delegated the work item.
  1. void
doStepElementSave(boolean unlock)
Saves the work item associated with this step element.
  1. java.lang.String[]
fetchMapNames(java.lang.String queueName,java.lang.String wobNum,boolean refresh)
Fetches map names for current step element.
  1. java.lang.String[]
fetchParticipants(int includeType,boolean refresh)
Fetches user and group names.
  1. filenet.vw.api.VWSecurityDomain[]
fetchSecurityDomains()
Fetches for the security domain list.
  1. java.lang.String[]
fetchUserQueueNames(boolean refresh)
Fetches user queue names
  1. java.lang.String[]
fetchWorkflowNames(boolean refresh)
Fetches work class names of transfered workflows.
  1. protected static
  2. java.lang.String
fieldDateToUTCString(java.util.Date theDate)
Get a Date in a String formatted as a UTC ISO String.
  1. protected static
  2. java.lang.String
fieldModeToString(int modeType)
Returns a string which is the ascii representation of the fields mode type
  1. protected static
  2. java.lang.String
fieldTypeToString(int fieldType)
Returns a string which is the ascii representation of the field type.
  1. filenet.vw.api.VWSecurityList
findGroups(java.lang.String searchPattern,int searchType,int sortType,int maxBufferSize)
Deprecated.
  1. filenet.vw.api.VWParticipantList
findGroups(java.lang.String domainId,java.lang.String searchPattern,int searchType,int sortType,int maxBufferSize)
Finds groups.
  1. static
  2. java.lang.String
findNodeAttNameByAttName(org.w3c.dom.NodeList childList,java.lang.String nameToFind)
  1. static
  2. java.lang.String
findNodeAttNameValueByAttName(org.w3c.dom.NodeList childList,java.lang.String nameToFind)
  1. filenet.vw.api.VWSecurityList
findUsers(java.lang.String searchPattern,int searchType,int sortType,int maxBufferSize)
Deprecated.
  1. filenet.vw.api.VWParticipantList
findUsers(java.lang.String domainId,java.lang.String searchPattern,int searchType,int sortType,int maxBufferSize)
Finds users.
  1. java.lang.String
getAttNameByAttName(org.w3c.dom.Document xmlDoc,java.lang.String NametoFind,java.lang.String path)
  1. java.lang.String
getAttNameValueByAttName(org.w3c.dom.Document xmlDoc,java.lang.String NametoFind,java.lang.String path)
  1. java.lang.Object
getClassProperty(java.lang.String key)
Get a key-value in the data store.
  1. java.lang.String
getDefaultSecurityDomain()
Returns the name of the Default Security Domain.
  1. java.lang.String[]
getFieldValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName)
  1. int
getIsolatedRegion()
Gets the isolated region number for the current session.
  1. java.lang.Object
getLaunchedWorkflows(int maxQueryCount,boolean showStepNameColumn,boolean containsMilestones,boolean refresh)
Get the user-launched workflows by performing a "RosterQuery" against the PE.
  1. int
getLaunchedWorkflowsCount()
Retrieves the total count of items in the Launched Workflows query.
  1. java.lang.Object
getLaunchedWorkflowsEx(boolean containsMilestones,boolean refresh)
Get the user-launched workflows.
  1. java.lang.Object
getLaunchProcessorInfo(boolean refresh)
Retrieves a collection of Launch Processor Info as XML.
  1. java.lang.Object
getLaunchProcessorInfo(java.lang.String workflowVersion,java.lang.String objectStoreId,java.lang.String objectStoreName,java.lang.String objectId,java.lang.String verSerId,boolean refresh)
Retrieves the Launch Processor Info as XML.
  1. java.lang.Object
getMilestones(int workSpaceId,int workClassId,java.lang.String workflowNumber,int level,boolean lastOnly,boolean reachedOnly)
Retrieves the Milestones as XML.
  1. java.lang.Object
getMilestones(java.lang.String queueName,java.lang.String wobNum,int level,boolean lastOnly,boolean reachedOnly,boolean refresh)
Retrieves the Milestones as XML.
  1. java.lang.Object
getMilestonesFromRoster(java.lang.String queueName,java.lang.String wobNum,int level,boolean lastOnly,boolean reachedOnly,boolean refresh)
  1. org.w3c.dom.Node
getParameterNode(org.w3c.dom.Document xmlDoc,java.lang.String paramName)
Get step element parameter node from XML document.
  1. org.w3c.dom.Node
getParameterNodeByAuthoredName(org.w3c.dom.Document xmlDoc,java.lang.String paramAuthoredName)
Get step element parameter node from XML document.
  1. java.util.ArrayList
getParametersList(org.w3c.dom.Document xmlDoc)
Get step element parameters list from XML document.
  1. java.lang.String
getParameterState(org.w3c.dom.Document xmlDoc,java.lang.String paramName)
Get parameter state value.
  1. java.lang.String[]
getParameterValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName)
Get parameter values from XML document.
  1. java.lang.String[]
getParameterValues(org.w3c.dom.Node parameter)
Get parameter values from Parameter Node.
  1. java.lang.String[]
getParameterValuesByAuthoredName(org.w3c.dom.Document xmlDoc,java.lang.String paramAuthoredName)
Get parameter values from XML document.
  1. java.lang.String
getParameterValueState(org.w3c.dom.Document xmlDoc,java.lang.String paramName,int index)
Get the parameter's status from the Value element.
  1. ParticipantRef[]
getParticipants(org.w3c.dom.Document xmlDoc,java.lang.String paramName)
Get the participant parameter values from XML document.
  1. java.lang.Object
getParticipants(int includeType,boolean refresh)
Gets participants XML document object.
  1. java.awt.Dimension
getProcessAdministratorDimension()
Get the Height/Width settings stored on the Process Engine for the Process Administrator applet.
  1. java.awt.Dimension
getProcessConfigurationConsoleDimension()
Get the Height/Width settings stored on the Process Engine for the Process Configuration Console applet.
  1. java.awt.Dimension
getProcessDesignerDimension()
Get the Height/Width settings stored on the Process Engine for the Process Designer applet.
  1. java.lang.Object
getProcessorTemplates(int type,boolean refresh)
Retrieve the specified processor types from the process api and xml.
  1. java.awt.Dimension
getProcessSimulationConsoleDimension()
Get the Height/Width settings stored on the Process Engine for the Process Simulation Console applet.
  1. java.awt.Dimension
getProcessSimulationDesignerDimension()
Get the Height/Width settings stored on the Process Engine for the Process Simulation Designer applet.
  1. java.lang.Object
getPublicQueues(boolean refresh)
Retrieves a collection of Public Queues as XML.
  1. java.lang.String
getQueueAuthoredName(java.lang.String queueName)
Gets the authored name for the queue.
  1. java.lang.Object
getQueueElements(java.lang.String queueName,java.lang.String queueType,int maxCount,java.lang.String[] dataFields,boolean refresh)
Retrieves a collection of Queue Elements as XML.
  1. java.lang.Object
getQueueElements(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)
Retrieves a collection of Queue Elements as XML.
  1. java.lang.Object
getQueueElements(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)
Retrieves a collection of Queue Elements as XML.
  1. int
getQueueElementsCount()
Retrieves the total count of items in the current queue query.
  1. filenet.vw.api.VWExposedFieldDefinition[]
getQueueFieldDefinitions(java.lang.String queueName)
Retrieves the FieldDefinitions associated with a given queue.
  1. java.lang.String
getQueueLocalizedName(java.lang.String authoredQueueName)
Gets the localized name for the specified queue.
  1. java.lang.String
getQueueNameFromRosterElementInternal(filenet.vw.api.VWRosterElement vwRosterElement)
  1. java.lang.Object
getRosterElement(java.lang.String queueName,java.lang.String wobNum,boolean refresh,boolean lockItem)
  1. java.util.ArrayList
getRosterFieldsList(org.w3c.dom.Document xmlDoc)
  1. java.lang.Object
getStepElement(boolean refresh)
Gets the step element XML document object.
  1. java.lang.Object
getStepElement(java.lang.String queueName,java.lang.String wobNum,boolean refresh)
Gets the step element XML document object.
  1. java.lang.Object
getStepElement(java.lang.String queueName,java.lang.String wobNum,boolean refresh,boolean lockItem)
Gets the step element XML document object.
  1. java.lang.String
getStepElementAttribute(org.w3c.dom.Document xmlDoc,java.lang.String attributeName)
Get the step element attribute value from XML document.
  1. java.lang.String
getStepElementMapName(java.lang.String queueName,java.lang.String wobNum)
Get the step elements current map name.
  1. org.w3c.dom.Node
getStepElementNode(org.w3c.dom.Document xmlDoc)
Get the XML step element node from the XML document.
  1. WcmStepElementState
getStepElementState()
Get the step element state class instance currently being used by the data provider.
  1. java.lang.Object
getStepHistory(java.lang.String queueName,java.lang.String wobNum,java.lang.String mapName,boolean refresh)
Gets the step element history information.
  1. java.lang.String
getStepNameFromRosterElementInternal(filenet.vw.api.VWRosterElement vwRosterElement)
  1. java.lang.Object
getStepProcessorInfo(boolean refresh)
Retrieves a collection of Step Processor Info as XML.
  1. java.awt.Dimension
getTaskTrackerDimension()
Get the Height/Width settings stored on the Process Engine for the Task Tracker applet.
  1. int
getTotalQueueElementsCount(java.lang.String queueName)
Retrieves the actual number of items in the specified queue query This is value is fetched each time and is not affected by any current filtering that might be taking place with the queue that's stored in the KEY_QUEUE_QUERY class variable.
  1. java.lang.Object
getUserQueues(boolean refresh)
Retrieves a collection of User Queues as XML.
  1. java.lang.String[]
getValuesByAttName(org.w3c.dom.Document xmlDoc,java.lang.String attName,java.lang.String nameToFind,java.lang.String path)
Get parameter values from XML document.
  1. void
getVWDataFieldXML(filenet.vw.api.VWDataField dataField,org.w3c.dom.Document queryRoot,org.w3c.dom.Element fields)
Appends a description of this object's properties, formatted as an XML string, to the specified input buffer.
  1. void
getVWDataFieldXML(filenet.vw.api.VWDataField dataField,java.lang.StringBuffer theBuffer)
Appends a description of this object's properties, formatted as an XML string, to the specified input buffer.
  1. filenet.vw.api.VWQueue
getVWQueue(java.lang.String name)
Get the queue by name.
  1. java.util.Locale
getVWSessionServerLocale()
Gets the Locale of the PE Server
  1. java.util.Locale[]
getVWSessionSupportedLocales()
Retrieves the locales that the PE Server supports for multilingual application funstionality
  1. filenet.vw.api.VWUserInfo
getVWUserInfo()
Gets the currently logged-on user's info from the PE server
  1. java.lang.String
getWobNumber(java.lang.String workflowNumber)
Retrieve the work object number from the the running workflow number.
  1. java.lang.String
getWorkflowDefinition(java.lang.String objectStoreName,java.lang.String objectId,boolean refresh)
Get the specified workflow definition and cach it locally in the data provider.
  1. filenet.vw.api.VWWorkflowDefinition
getWorkflowDefinitionFromProcessEngine(java.lang.String vwVersion,boolean refresh)
Get the specified workflow definition and cach it locally in the data provider.
  1. void
initialize()
  1. void
persist()
  1. java.lang.String
removeInvalidXMLCharacters(java.lang.String inXML)
  1. void
resetClassProperties(boolean clearQueueData)
Reset data provider class properties.
  1. void
resetClassProperties(boolean clearQueueData,boolean clearStepData)
Reset data provider class properties.
  1. void
setAttNameByAttValue(org.w3c.dom.Document xmlDoc,java.lang.String elementTagName,java.lang.String attName,java.lang.String attValue)
  1. void
setClassProperty(java.lang.String key,java.lang.Object value)
Set a key-value in the data store.
  1. void
setParameterState(org.w3c.dom.Document xmlDoc,java.lang.String paramName,java.lang.String state)
Set parameter state status.
  1. boolean
setParameterValues(org.w3c.dom.Document xmlDoc,org.w3c.dom.Node parameter,java.lang.String paramName,java.lang.String[] values)
Set parameter values in XML document.
  1. boolean
setParameterValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName,java.lang.String[] values)
Set parameter values in XML document.
  1. void
setParameterValueState(org.w3c.dom.Document xmlDoc,java.lang.String paramName,int index,java.lang.String state)
Set parameter state status.
  1. boolean
setParameterValuesUsingAuthoredName(org.w3c.dom.Document xmlDoc,java.lang.String paramAuthoredName,java.lang.String[] values)
Set parameter values in XML document.
  1. boolean
setSelectedResponse(org.w3c.dom.Document xmlDoc,java.lang.String response)
Set selected response in XML document.
  1. void
setStepElementAttachments(boolean doSave)
Set the modified attachment information into the StepElement parameters and save to the server.
  1. void
setStepElementAttachments(org.w3c.dom.Document stepAttachmentsXML,boolean doSave)
Set the modified attachment information into the StepElement parameters and save to the server.
  1. void
setStepElementGeneralInfo(int processorType)
Sets step element general info on workflow server.
  1. void
setStepElementParameter(org.w3c.dom.Document xmlDoc,org.w3c.dom.Element theParameter)
Set step element parameter value on workflow server.
  1. void
setStepElementParameter(org.w3c.dom.Document xmlDoc,java.lang.String parameterName)
Set step element parameter value on workflow server.
  1. void
setStepElementParameterByAuthoredName(org.w3c.dom.Document xmlDoc,java.lang.String authoredParameterName)
Set step element parameter value on workflow server.
  1. void
setStepElementParameters(java.lang.String paramType)
Set step element parameter values on workflow server
  1. void
setVWSessionLocale(java.util.Locale locale)
Sets the client locale setting within the VWSession
  1. boolean
setWorkflowGroupValues(org.w3c.dom.Document xmlDoc,java.lang.String paramName,ParticipantRef[] values)
Set the workflow group parameter values in XML document.
  1. java.lang.String
transferWorkflowDefinition(java.lang.String workflowName,java.lang.String objectStoreName,java.lang.String objectId,java.lang.String verSerId)
Transfer the existing workflow definition to the workflow server.
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpModule
type
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmModule
addChild, addChild, addChild, debugTrace, getClassProperty, getClassPropertyKeys, getConfiguration, getController, getDataStore, getModuleProperty, getModuleProperty, getModuleProperty, getModuleProperty, getModulePropertyKeys, getName, getParent, getWindowProperty, getWindowProperty, queryDataProvider, setClassProperty, setController, setModuleProperty, setModuleProperty, setName, setParent, setPortletParent, setWindowProperty
Methods inherited from class com.filenet.wcm.toolkit.server.base.WcmDpContainer
addDataProvider, addDataProvider
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.filenet.wcm.toolkit.server.base.WcmModuleInterface
addDataProvider, getDataStore, getModuleProperty, getName, getParent, queryDataProvider, setController, setModuleProperty, setName, setParent

Field Detail

TYPE

  1. public static final java.lang.String TYPE
Defines the data provider type
See Also:

STEP_PROCESSOR

  1. public static final int STEP_PROCESSOR
Defines the step processor mode.
See Also:

LAUNCH_PROCESSOR

  1. public static final int LAUNCH_PROCESSOR
Defines the launch step processor mode.
See Also:

QUEUE_INFORMATION

  1. public static final int QUEUE_INFORMATION
Defines the queue information mode.
See Also:

ENTRY_PROCESSOR

  1. public static final int ENTRY_PROCESSOR
Defines the launch step processor mode for the entry template workflow .
See Also:

QUEUE_TYPE_PROCESS

  1. public static final java.lang.String QUEUE_TYPE_PROCESS
Defines the queue type process.

QUEUE_TYPE_CENTRIC

  1. public static final java.lang.String QUEUE_TYPE_CENTRIC
Defines the queue type user centric.

QUEUE_TYPE_SYSTEM

  1. public static final java.lang.String QUEUE_TYPE_SYSTEM
Defines the queue type system

TIME_MASK_CANONICAL

  1. public static final java.lang.String TIME_MASK_CANONICAL
Defines the time mask used for date data fields
See Also:

USERS

  1. public static final int USERS
Defines the participant retrieval behavior for only users.
See Also:

GROUPS

  1. public static final int GROUPS
Defines the participant retrieval behavior for only groups.
See Also:

USERSGROUPS

  1. public static final int USERSGROUPS
Defines the participant retrieval behavior for users and groups together.
See Also:

STATE_NONE

  1. public static final java.lang.String STATE_NONE
Defines no state specified for data field
See Also:

STATE_CLEAN

  1. public static final java.lang.String STATE_CLEAN
Defines clean state specified for data field
See Also:

STATE_MODIFIED

  1. public static final java.lang.String STATE_MODIFIED
Defines modified state specified for data field
See Also:

STATE_NOT_VALID

  1. public static final java.lang.String STATE_NOT_VALID
Defines not valid (and modified) state specified for data field
See Also:

STATE_MARKED_REMOVE

  1. public static final java.lang.String STATE_MARKED_REMOVE
Defines marked removed state specified for data field
See Also:

SYSTEMMAP_WORKFLOW

  1. public static final java.lang.String SYSTEMMAP_WORKFLOW
Defines the Workflow system map name contained in the workflow definition.
See Also:

SYSTEMMAP_TERMINATE

  1. public static final java.lang.String SYSTEMMAP_TERMINATE
Defines the Terminate system map name contained in the workflow definition.
See Also:

SYSTEMMAP_MALFUNCTION

  1. public static final java.lang.String SYSTEMMAP_MALFUNCTION
Defines the Malfunction system map name contained in the workflow definition.
See Also:

SYSTEMMAP_QUEUE_ASSERTION

  1. public static final java.lang.String SYSTEMMAP_QUEUE_ASSERTION
Defines the QueueAssertionViolation system map name contained in the workflow definition.
See Also:

SYSTEMMAP_RECOVERY

  1. public static final java.lang.String SYSTEMMAP_RECOVERY
Defines the Recovery system map name contained in the workflow definition.
See Also:

SYSTEMMAP_TRACKER

  1. public static final java.lang.String SYSTEMMAP_TRACKER
Defines the Tracker system map name contained in the workflow definition.
See Also:

SEARCH_TYPE_CUSTOM

  1. public static final int SEARCH_TYPE_CUSTOM
Defines the user or group search type custom.
See Also:

SEARCH_TYPE_PREFIX_MATCH

  1. public static final int SEARCH_TYPE_PREFIX_MATCH
Defines the user or group search type prefix match.
See Also:

SEARCH_TYPE_SUFFIX_MATCH

  1. public static final int SEARCH_TYPE_SUFFIX_MATCH
Defines the user or group search type suffix match.
See Also:

SEARCH_TYPE_CONTAINS

  1. public static final int SEARCH_TYPE_CONTAINS
Defines the user or group search type contains.
See Also:

SORT_TYPE_NONE

  1. public static final int SORT_TYPE_NONE
Defines the user or group sort type none.
See Also:

SORT_TYPE_ASCENDING

  1. public static final int SORT_TYPE_ASCENDING
Defines the user or group sort type ascending.
See Also:

SORT_TYPE_DESCENDING

  1. public static final int SORT_TYPE_DESCENDING
Defines the user or group sort type descending.
See Also:

NO_DATE_VALUE

  1. public static final java.lang.String NO_DATE_VALUE
Defines a long constant being used for generating an empty date value.
See Also:

Constructor Detail

WcmEProcessDataProvider

  1. public WcmEProcessDataProvider( )

Method Detail

initialize

  1. public void initialize()
  2. throws java.lang.Exception
Description copied from class: WcmModule
Called by WcmController when the module is registered, and has access to the data store. Do "constructor" types of things here.
Specified by:
Overrides:
Throws:
java.lang.Exception

getStepElementState

  1. public WcmStepElementState getStepElementState( )
  2. throws java.lang.Exception
Get the step element state class instance currently being used by the data provider.
Returns:
WcmStepElementState the cached step element state class
Throws:
java.lang.Exception - if there were errors retrieving data

clearStepElementState

  1. public void clearStepElementState( )
  2. throws java.lang.Exception
Clear the data in the step element state class currently used by the data provider.
Throws:
java.lang.Exception - if there were errors retrieving data

persist

  1. public void persist()
  2. throws java.lang.Exception
Description copied from class: WcmModule
Called by WcmController before cleanup(), when it's about to go to another Java™Server Pages (JSP) page. This is intended for future use.
Specified by:
Overrides:
persist in class WcmModule
Throws:
java.lang.Exception

cleanup

  1. public void cleanup()
  2. throws java.lang.Exception
Description copied from class: WcmModule
Called by WcmController after persist(), when it's about to go to another JSP page. The module should null out any module properties that it can re-construct later to minimize memory consumption.
Specified by:
Overrides:
cleanup in class WcmModule
Throws:
java.lang.Exception

setClassProperty

  1. public void setClassProperty(java.lang.String key,
  2. java.lang.Object value)
  3. throws java.lang.Exception
Set a key-value in the data store. The key that you pass here is internally scoped to the class. These are shared between all instances of a module class.
Overrides:
Parameters:
key - The key name to use.
value - The value to set. null is valid, and clears the key.
Throws:
java.lang.Exception - If there are problems retrieving data.
See Also:

getClassProperty

  1. public java.lang.Object getClassProperty( java.lang.String key)
  2. throws java.lang.Exception
Get a key-value in the data store. The key that you get here is internally scoped to the class. These are shared between all instances of a module class.
Overrides:
Parameters:
key - The key name to use.
Returns:
The value associated with the key, or null.
Throws:
java.lang.Exception - If there are problems retrieving data.

resetClassProperties

  1. public void resetClassProperties( boolean clearQueueData)
  2. throws java.lang.Exception
Reset data provider class properties.
Parameters:
clearQueueData - boolean, True specifies that the Queue Element list data being held in the class properties is also cleared. False clears only the Step Element data.
Throws:
java.lang.Exception - If there are problems retrieving data.

resetClassProperties

  1. public void resetClassProperties( boolean clearQueueData,
  2. boolean clearStepData)
  3. throws java.lang.Exception
Reset data provider class properties.
Parameters:
clearQueueData - boolean, True specifies that the Queue Element list data being held in the class properties is also cleared. False does not clear Queue data.
clearStepData - boolean, True specifies that the Step data being held in the class properties is also cleared. False does not clear Step data.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementAbort

  1. public void doStepElementAbort( )
  2. throws java.lang.Exception
Unlocks a work item associated with this step without updating the fields on the work item.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementDispatch

  1. public void doStepElementDispatch( )
  2. throws java.lang.Exception
Completes this step by moving to the next workflow step. Saves changes made in the workflow at this step.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementReassign

  1. public void doStepElementReassign( java.lang.String participant,
  2. boolean delegateFlag)
  3. throws java.lang.Exception
Changes the participant responsible for processing the current step.
Parameters:
participant - The name of the new participant being assigned to process the step.
delegateFlag - Specify true if you delegate the assignment and plan to review the completed assignment; otherwise specify false.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementReassign

  1. public void doStepElementReassign( java.lang.String domainId,
  2. java.lang.String participant,
  3. boolean delegateFlag)
  4. throws java.lang.Exception
Changes the participant responsible for processing the current step.
Parameters:
domainId - String the domain id of the participant
participant - The name of the new participant being assigned to process the step.
delegateFlag - Specify true if you delegate the assignment and plan to review the completed assignment; otherwise specify false.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementSave

  1. public void doStepElementSave(boolean unlock)
  2. throws java.lang.Exception
Saves the work item associated with this step element.
Parameters:
unlock - Specify true to save and unlock the work item; specify false to maintain the current lock and save the work item.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementReturn

  1. public void doStepElementReturn( )
  2. throws java.lang.Exception
Returns the work item to the queue from which a user originally reassigned or delegated the work item.
Throws:
java.lang.Exception - If there are problems retrieving data.

doStepElementMoveToInbox

  1. public void doStepElementMoveToInbox( )
  2. throws java.lang.Exception
Moves work item to the current user inbox.
Throws:
java.lang.Exception - If there are problems retrieving data.

doCreateWorkflow

  1. public java.lang.Object doCreateWorkflow( java.lang.String workflowIdentifier,
  2. java.lang.String subject,
  3. java.lang.String attachmentId)
  4. throws java.lang.Exception
Launch a workflow from the currently transferred workflow definition. The system assumes that the first step in the definition is a launch step.
Parameters:
workflowIdentifier - Visual WorkFlo version string
subject - Workflow subject from linker
attachmentId - Main workflow attachment
Returns:
XML document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getUserQueues

  1. public java.lang.Object getUserQueues( boolean refresh)
  2. throws java.lang.Exception
Retrieves a collection of User Queues as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
refresh - Boolean flag that specifies the data retrival location.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retreving collection data.

fetchUserQueueNames

  1. public java.lang.String[] fetchUserQueueNames( boolean refresh)
  2. throws java.lang.Exception
Fetches user queue names
Parameters:
refresh - True to retrieve map names from VWSession; otherwise, fetch the in-memory copy
Returns:
string array of user queue names
Throws:
java.lang.Exception - If there are problems retrieving data.

getVWQueue

  1. public filenet.vw.api.VWQueue getVWQueue( java.lang.String name)
  2. throws java.lang.Exception
Get the queue by name.
Parameters:
name -
Returns:
The VWQueue.
Throws:
java.lang.Exception

getPublicQueues

  1. public java.lang.Object getPublicQueues( boolean refresh)
  2. throws java.lang.Exception
Retrieves a collection of Public Queues as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
refresh - Boolean flag that specifies the data retrival location.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retreving collection data.

getQueueElements

  1. public java.lang.Object getQueueElements( java.lang.String queueName,
  2. java.lang.String queueType,
  3. int maxCount,
  4. java.lang.String[] dataFields,
  5. boolean refresh)
  6. throws java.lang.Exception
Retrieves a collection of Queue Elements as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
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.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retreving collection data.

getQueueElements

  1. public java.lang.Object getQueueElements( java.lang.String queueName,
  2. java.lang.String queueType,
  3. java.lang.String indexName,
  4. java.lang.String filter,
  5. java.lang.Object[] substitutionVars,
  6. int maxCount,
  7. java.lang.String[] dataFields,
  8. boolean refresh)
  9. throws java.lang.Exception
Retrieves a collection of Queue Elements as XML. User can specify filter parameters (basically SQL statements) to retrieve a filtered list of items from the Process Engine.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
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.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retreving collection data.

getQueueElements

  1. public java.lang.Object getQueueElements( java.lang.String queueName,
  2. java.lang.String queueType,
  3. java.lang.String indexName,
  4. java.lang.String filter,
  5. java.lang.Object[] substitutionVars,
  6. int maxCount,
  7. java.lang.String[] dataFields,
  8. boolean refresh,
  9. java.lang.String stepName,
  10. java.lang.String operator)
  11. throws java.lang.Exception
Retrieves a collection of Queue Elements as XML. User can specify filter parameters (basically SQL statements) to retrieve a filtered list of items from the Process Engine. Or, in the case of filtering on a stepName, the user may pass in a stepName and an operator as arguments. If either stepName or operator args are null then the filter is ignored.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
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 filter
operator - String holding the operator used by the stepName filter
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retreving collection data.

getQueueElementsCount

  1. public int getQueueElementsCount( )
  2. throws java.lang.Exception
Retrieves the total count of items in the current queue query. The getQueueElements() method must be called first to instantiate a VWQueueQuery object. The getQueueElementsCount() method will return -1 if the vwQueueQuery has not been instantiated.
Returns:
int holding the total count of the Queue elements.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getTotalQueueElementsCount

  1. public int getTotalQueueElementsCount( java.lang.String queueName)
  2. throws java.lang.Exception
Retrieves the actual number of items in the specified queue query This is value is fetched each time and is not affected by any current filtering that might be taking place with the queue that's stored in the KEY_QUEUE_QUERY class variable.
Parameters:
queueName - String the name of the queue from which to retrieve an element count
Returns:
int count of queue elements
Throws:
java.lang.Exception

getQueueFieldDefinitions

  1. public filenet.vw.api.VWExposedFieldDefinition[] getQueueFieldDefinitions( java.lang.String queueName)
  2. throws java.lang.Exception
Retrieves the FieldDefinitions associated with a given queue.
Parameters:
queueName - String containing the name of the queue from which to retrieve fields.
Returns:
Array of VWExposedFieldDefinition objects.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

setVWSessionLocale

  1. public void setVWSessionLocale( java.util.Locale locale)
  2. throws java.lang.Exception
Sets the client locale setting within the VWSession
Parameters:
locale - - a Locale object, typically the locale set in the user's browser.
Throws:
java.lang.Exception - - Exception object returned if there is a problem setting the VW Session locale

getQueueAuthoredName

  1. public java.lang.String getQueueAuthoredName( java.lang.String queueName)
  2. throws java.lang.Exception
Gets the authored name for the queue.
Parameters:
queueName -
Returns:
The queue authored name.
Throws:
java.lang.Exception

getQueueLocalizedName

  1. public java.lang.String getQueueLocalizedName( java.lang.String authoredQueueName)
  2. throws java.lang.Exception
Gets the localized name for the specified queue.
Parameters:
authoredQueueName -
Returns:
The queue localized name.
Throws:
java.lang.Exception

getVWSessionSupportedLocales

  1. public java.util.Locale[] getVWSessionSupportedLocales( )
  2. throws java.lang.Exception
Retrieves the locales that the PE Server supports for multilingual application funstionality
Returns:
- an array of Locale objects representing the locales that the PE supports for multlingual application functionality
Throws:
java.lang.Exception - - Exception object returned if there is a problem retrieving the supported locales

getVWSessionServerLocale

  1. public java.util.Locale getVWSessionServerLocale( )
  2. throws java.lang.Exception
Gets the Locale of the PE Server
Returns:
- a Locale object representing the PE server's locale
Throws:
java.lang.Exception - - Exception object returned if there is a problem retreiving the PE server locale

getVWUserInfo

  1. public filenet.vw.api.VWUserInfo getVWUserInfo( )
  2. throws java.lang.Exception
Gets the currently logged-on user's info from the PE server
Returns:
- a VWUserInfo object containing the logged-on user's info from the PE server
Throws:
java.lang.Exception

getStepProcessorInfo

  1. public java.lang.Object getStepProcessorInfo( boolean refresh)
  2. throws java.lang.Exception
Retrieves a collection of Step Processor Info as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
refresh - Boolean flag that specifies the data retrieval location.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getLaunchProcessorInfo

  1. public java.lang.Object getLaunchProcessorInfo( boolean refresh)
  2. throws java.lang.Exception
Retrieves a collection of Launch Processor Info as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
refresh - Boolean flag that specifies the data retrieval location.
Returns:
Object holding the XML string containing the collection information.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getLaunchProcessorInfo

  1. public java.lang.Object getLaunchProcessorInfo( java.lang.String workflowVersion,
  2. java.lang.String objectStoreId,
  3. java.lang.String objectStoreName,
  4. java.lang.String objectId,
  5. java.lang.String verSerId,
  6. boolean refresh)
  7. throws java.lang.Exception
Retrieves the Launch Processor Info as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
workflowVersion - String holding workflow compiled version of the workflow definition.
objectStoreId - ObjectStore Id for the Workflow Definition
objectStoreName - ObjectStore Name for the Workflow Definition
objectId - Document Id for the Workflow Definition
verSerId - Version Series Id for the Workflow Definition
refresh - Boolean flag that specifies the data retrieval location.
Returns:
Object holding the XML string containing the information.
Throws:
java.lang.Exception - If there are problems retrieving the data.

transferWorkflowDefinition

  1. public java.lang.String transferWorkflowDefinition( java.lang.String workflowName,
  2. java.lang.String objectStoreName,
  3. java.lang.String objectId,
  4. java.lang.String verSerId)
  5. throws java.lang.Exception
Transfer the existing workflow definition to the workflow server. THe workflow definition must have been previously retrieved from the getWorkflowDefinition method.
Parameters:
workflowName - String holding new workflow name, maybe null
objectStoreName - ObjectStore Name for the Workflow Definition
objectId - Document Id for the Workflow Definition
verSerId - Version Series Id for the Workflow Definition
Returns:
String the Workflow Version
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getWorkflowDefinition

  1. public java.lang.String getWorkflowDefinition( java.lang.String objectStoreName,
  2. java.lang.String objectId,
  3. boolean refresh)
  4. throws java.lang.Exception
Get the specified workflow definition and cach it locally in the data provider. The Workflow Definition can be transfered later by calling the transferWorkflowDefinition method.
Parameters:
objectStoreName - ObjectStore Name for the Workflow Definition
objectId - Document Id for the Workflow Definition
refresh - True to retrieve class names from VWSession; otherwise, fetch the in-memory copy
Returns:
String the name of the Workflow definition
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getWorkflowDefinitionFromProcessEngine

  1. public filenet.vw.api.VWWorkflowDefinition getWorkflowDefinitionFromProcessEngine( java.lang.String vwVersion,
  2. boolean refresh)
  3. throws java.lang.Exception
Get the specified workflow definition and cach it locally in the data provider.
Parameters:
vwVersion - Process Engine identifier for the Workflow Definition
refresh - True to retrieve class names from VWSession; otherwise, fetch the in-memory copy
Returns:
VWWorkflowDefinition Workflow definition object as retrieved from the Process Engine
Throws:
java.lang.Exception - If there are problems retrieving data.

fetchWorkflowNames

  1. public java.lang.String[] fetchWorkflowNames( boolean refresh)
  2. throws java.lang.Exception
Fetches work class names of transfered workflows.
Parameters:
refresh - True to retrieve class names from VWSession; otherwise, fetch the in-memory copy
Returns:
string array of workflow names
Throws:
java.lang.Exception - If there are problems retrieving data.

doEvaluateExpression

  1. public boolean doEvaluateExpression( java.lang.String subscriptionName,
  2. java.lang.String expression,
  3. java.lang.String objectStoreId,
  4. java.lang.String objectId,
  5. java.lang.String verSerId,
  6. int objectType)
  7. throws java.lang.Exception
Deprecated. Use the doEvaluateSubscriptionExpression method to evaluate expressions.
Evaluates the expression of the workflow subscription. Currently, handles only Document or Folder objects.
Parameters:
subscriptionName - String name of the subscription.
expression - String expression.
objectStoreId - ObjectStore Id for the source document.
objectId - Document Id for the source document.
verSerId - Version Series Id for the source document.
objectType - Integer holding the object type.
Returns:
boolean True if the expression evaluates to true.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

doEvaluateSubscriptionExpression

  1. public boolean doEvaluateSubscriptionExpression( java.lang.String subscriptionName,
  2. java.lang.String workflowExpression,
  3. java.lang.String eventExpression,
  4. java.lang.String objectStoreId,
  5. java.lang.String objectId,
  6. int objectType)
  7. throws java.lang.Exception
Evaluates the expression of the workflow subscription. Currently, handles only Document or Folder objects.
Parameters:
subscriptionName - String name of the subscription.
workflowExpression - String The workflow filtering expression.
eventExpression - String The event filtering expression.
objectStoreId - ObjectStore Id for the source document.
objectId - Document Id for the source document.
objectType - Integer holding the object type.
Returns:
boolean True if the expression evaluates to true.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getIsolatedRegion

  1. public int getIsolatedRegion()
  2. throws java.lang.Exception
Gets the isolated region number for the current session.
Returns:
int The isolated region number for the current session.
Throws:
java.lang.Exception - If there are problems retrieving the data.

getMilestones

  1. public java.lang.Object getMilestones( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. int level,
  4. boolean lastOnly,
  5. boolean reachedOnly,
  6. boolean refresh)
  7. throws java.lang.Exception
Retrieves the Milestones as XML.

The refresh parameter works as follows: True causes the data to be retrieved from the application server; False causes the data to be retrieved from the web server cache.

Parameters:
queueName - Queue Name.
wobNum - Workflow object number.
level - int holding the milestone level you wish to retrieve.
lastOnly - True limits fetches to the milestone objects with the latest timestamp; False does not eliminate milestone objects on the basis of timestamp.
reachedOnly - True limits fetches to the reached milestone objects; False does not limit fetches to the reached milestone objects.
refresh - Boolean flag that specifies the data retrieval location.
Returns:
Object holding the XML string containing collection information.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getMilestonesFromRoster

  1. public java.lang.Object getMilestonesFromRoster( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. int level,
  4. boolean lastOnly,
  5. boolean reachedOnly,
  6. boolean refresh)
  7. throws java.lang.Exception
Throws:
java.lang.Exception

getMilestones

  1. public java.lang.Object getMilestones( int workSpaceId,
  2. int workClassId,
  3. java.lang.String workflowNumber,
  4. int level,
  5. boolean lastOnly,
  6. boolean reachedOnly)
  7. throws java.lang.Exception
Retrieves the Milestones as XML.
Parameters:
workSpaceId - Work space Id
workClassId - Work class Id
workflowNumber - Workflow number
level - Milestone level to retrieve
lastOnly - True limits fetches to the milestone objects with the latest timestamp; False does not eliminate milestone objects on the basis of timestamp.
reachedOnly - True limits fetches to the reached milestone objects; False does not limit fetches to the reached milestone objects.
Returns:
Object holding the XML string containing collection information.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getStepElement

  1. public java.lang.Object getStepElement( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. boolean refresh,
  4. boolean lockItem)
  5. throws java.lang.Exception
Gets the step element XML document object.
Parameters:
queueName - Queue Name
wobNum - Workflow object number
refresh - True to retrieve step element XML from VWStepElement; otherwise, fetch the in-memory copy
lockItem - True, to lock Work Item, False to leav item unlocked
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getRosterElement

  1. public java.lang.Object getRosterElement( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. boolean refresh,
  4. boolean lockItem)
  5. throws java.lang.Exception
Throws:
java.lang.Exception

getStepNameFromRosterElementInternal

  1. public java.lang.String getStepNameFromRosterElementInternal( filenet.vw.api.VWRosterElement vwRosterElement)
  2. throws java.lang.Exception
Throws:
java.lang.Exception

getQueueNameFromRosterElementInternal

  1. public java.lang.String getQueueNameFromRosterElementInternal( filenet.vw.api.VWRosterElement vwRosterElement)
  2. throws java.lang.Exception
Throws:
java.lang.Exception

getStepElement

  1. public java.lang.Object getStepElement( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. boolean refresh)
  4. throws java.lang.Exception
Gets the step element XML document object.
Parameters:
queueName - Queue Name
wobNum - Workflow object number
refresh - True to retrieve step element XML from VWStepElement; otherwise, fetch the in-memory copy
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getStepElement

  1. public java.lang.Object getStepElement( boolean refresh)
  2. throws java.lang.Exception
Gets the step element XML document object.
Parameters:
refresh - True to retrieve step element XML from VWStepElement; otherwise, fetch the in-memory copy.
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getStepHistory

  1. public java.lang.Object getStepHistory( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. java.lang.String mapName,
  4. boolean refresh)
  5. throws java.lang.Exception
Gets the step element history information. This is really the consolidated comments data.
Parameters:
queueName - Queue Name.
wobNum - Workflow object number.
mapName - Instruction sheet name to use when retrieving step history.
refresh - True to retrieve step history XML; otherwise, fetch the in-memory copy
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getLaunchedWorkflowsEx

  1. public java.lang.Object getLaunchedWorkflowsEx( boolean containsMilestones,
  2. boolean refresh)
  3. throws java.lang.Exception
Get the user-launched workflows. This is the old implementation that does a roster qury for Work Objects.
Parameters:
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.
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getLaunchedWorkflows

  1. public java.lang.Object getLaunchedWorkflows( int maxQueryCount,
  2. boolean showStepNameColumn,
  3. boolean containsMilestones,
  4. boolean refresh)
  5. throws java.lang.Exception
Get the user-launched workflows by performing a "RosterQuery" against the PE.
Parameters:
maxQueryCount - int specifying the maximum number of items to bring back from the query.
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.
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

getLaunchedWorkflowsCount

  1. public int getLaunchedWorkflowsCount( )
  2. throws java.lang.Exception
Retrieves the total count of items in the Launched Workflows query. This query has a maximum limit.
Returns:
int holding the total count of the Launched Workflow elements.
Throws:
java.lang.Exception - If there are problems retrieving collection data.

getStepElementMapName

  1. public java.lang.String getStepElementMapName( java.lang.String queueName,
  2. java.lang.String wobNum)
  3. throws java.lang.Exception
Get the step elements current map name.
Parameters:
queueName - Queue name
wobNum - Work Object Number
Returns:
String current map name
Throws:
java.lang.Exception - If there are problems retrieving data.

fetchMapNames

  1. public java.lang.String[] fetchMapNames( java.lang.String queueName,
  2. java.lang.String wobNum,
  3. boolean refresh)
  4. throws java.lang.Exception
Fetches map names for current step element.
Parameters:
queueName - Queue Name.
wobNum - Workflow object number.
refresh - True to retrieve map names from VWSession; otherwise, fetch the in-memory copy
Returns:
string array of map names
Throws:
java.lang.Exception - If there are problems retrieving data.

fetchSecurityDomains

  1. public filenet.vw.api.VWSecurityDomain[] fetchSecurityDomains( )
  2. throws java.lang.Exception
Fetches for the security domain list.
Returns:
VWSecurityDomain A list of security domains.
Throws:
java.lang.Exception - If there are problems retrieving data.

fetchParticipants

  1. public java.lang.String[] fetchParticipants( int includeType,
  2. boolean refresh)
  3. throws java.lang.Exception
Fetches user and group names.
Parameters:
includeType - int to indicate what type of items to return in the list 0 - users 1 - groups 2 - users and groups
refresh - True to retrieve participants from VWSession; otherwise, fetch the in-memory copy
Returns:
string array of user names
Throws:
java.lang.Exception - If there are problems retrieving data.

findGroups

  1. public filenet.vw.api.VWSecurityList findGroups( java.lang.String searchPattern,
  2. int searchType,
  3. int sortType,
  4. int maxBufferSize)
  5. throws java.lang.Exception
Deprecated.
Finds groups.
Parameters:
searchPattern - String pattern to query for groups.
searchType - int The criteria to search by.
sortType - int The sort type (none, ascending or descending).
maxBufferSize - int The maximum number of users objects to return in the result collection
Returns:
VWSecurityList A list of users or groups.
Throws:
java.lang.Exception - If there are problems retrieving data.

findGroups

  1. public filenet.vw.api.VWParticipantList findGroups( java.lang.String domainId,
  2. java.lang.String searchPattern,
  3. int searchType,
  4. int sortType,
  5. int maxBufferSize)
  6. throws java.lang.Exception
Finds groups.
Parameters:
domainId - Stirng The domainId.
searchPattern - String pattern to query for groups.
searchType - int The criteria to search by.
sortType - int The sort type (none, ascending or descending).
maxBufferSize - int The maximum number of users objects to return in the result collection
Returns:
VWSecurityList A list of users or groups.
Throws:
java.lang.Exception - If there are problems retrieving data.

findUsers

  1. public filenet.vw.api.VWSecurityList findUsers( java.lang.String searchPattern,
  2. int searchType,
  3. int sortType,
  4. int maxBufferSize)
  5. throws java.lang.Exception
Deprecated.
Finds users.
Parameters:
searchPattern - String pattern to query for users.
searchType - int The criteria to search by.
sortType - int The sort type (none, ascending or descending).
maxBufferSize - int The maximum number of users objects to return in the result collectio
Returns:
VWSecurityList A list of users or groups.
Throws:
java.lang.Exception - If there are problems retrieving data.

findUsers

  1. public filenet.vw.api.VWParticipantList findUsers( java.lang.String domainId,
  2. java.lang.String searchPattern,
  3. int searchType,
  4. int sortType,
  5. int maxBufferSize)
  6. throws java.lang.Exception
Finds users.
Parameters:
domainId - Stirng The domainId.
searchPattern - String pattern to query for users.
searchType - int The criteria to search by.
sortType - int The sort type (none, ascending or descending).
maxBufferSize - int The maximum number of users objects to return in the result collectio
Returns:
VWSecurityList A list of users or groups.
Throws:
java.lang.Exception - If there are problems retrieving data.

getDefaultSecurityDomain

  1. public java.lang.String getDefaultSecurityDomain( )
  2. throws java.lang.Exception
Returns the name of the Default Security Domain.
Throws:
java.lang.Exception

getParticipants

  1. public java.lang.Object getParticipants( int includeType,
  2. boolean refresh)
  3. throws java.lang.Exception
Gets participants XML document object.
Parameters:
includeType - int to indicate what type of items to return in the list 0 - users 1 - groups 2 - users and groups
refresh - True to retrieve participants from VWSession; otherwise, fetch the in-memory copy
Returns:
document object
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementGeneralInfo

  1. public void setStepElementGeneralInfo( int processorType)
  2. throws java.lang.Exception
Sets step element general info on workflow server.
Parameters:
processorType - int the type of processor LAUNCH_PROCESSOR or STEP_PROCESSOR
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementParameters

  1. public void setStepElementParameters( java.lang.String paramType)
  2. throws java.lang.Exception
Set step element parameter values on workflow server
Parameters:
paramType - Specifies what type (alltypes, boolean, int, float, string, time, attachment, participant) of parameters to save
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementParameter

  1. public void setStepElementParameter( org.w3c.dom.Document xmlDoc,
  2. java.lang.String parameterName)
  3. throws java.lang.Exception
Set step element parameter value on workflow server.
Parameters:
xmlDoc - Step element XML document object.
parameterName - A string containing the parameter name.
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementParameterByAuthoredName

  1. public void setStepElementParameterByAuthoredName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String authoredParameterName)
  3. throws java.lang.Exception
Set step element parameter value on workflow server.
Parameters:
xmlDoc - Step element XML document object.
authoredParameterName - A string containing the authored (non-localized) parameter name.
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementParameter

  1. public void setStepElementParameter( org.w3c.dom.Document xmlDoc,
  2. org.w3c.dom.Element theParameter)
  3. throws java.lang.Exception
Set step element parameter value on workflow server.
Parameters:
xmlDoc - Step element XML document object.
theParameter - The parameter element node.
Throws:
java.lang.Exception - If there are problems retrieving data.

getStepElementNode

  1. public org.w3c.dom.Node getStepElementNode( org.w3c.dom.Document xmlDoc)
  2. throws java.lang.Exception
Get the XML step element node from the XML document.
Parameters:
xmlDoc - document object
Returns:
step element node
Throws:
java.lang.Exception - If there are problems retrieving data.

getStepElementAttribute

  1. public java.lang.String getStepElementAttribute( org.w3c.dom.Document xmlDoc,
  2. java.lang.String attributeName)
  3. throws java.lang.Exception
Get the step element attribute value from XML document.
Parameters:
xmlDoc - Document object
attributeName - Attribute name
Returns:
Attribute value
Throws:
java.lang.Exception - If there are problems retrieving data.

getParameterNode

  1. public org.w3c.dom.Node getParameterNode( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName)
  3. throws java.lang.Exception
Get step element parameter node from XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
Returns:
Parameter node.
Throws:
java.lang.Exception - If there are problems retrieving data.

getParameterNodeByAuthoredName

  1. public org.w3c.dom.Node getParameterNodeByAuthoredName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramAuthoredName)
  3. throws java.lang.Exception
Get step element parameter node from XML document.
Parameters:
xmlDoc - Document object.
paramAuthoredName - Parameter authored name.
Returns:
Parameter node.
Throws:
java.lang.Exception - If there are problems retrieving data.

getParametersList

  1. public java.util.ArrayList getParametersList( org.w3c.dom.Document xmlDoc)
  2. throws java.lang.Exception
Get step element parameters list from XML document. ArrayList will hold parameter Nodes.
Parameters:
xmlDoc - Document object.
Returns:
ArrayList holding parameter nodes.
Throws:
java.lang.Exception - If there are problems retrieving data.

getRosterFieldsList

  1. public java.util.ArrayList getRosterFieldsList( org.w3c.dom.Document xmlDoc)
  2. throws java.lang.Exception
Throws:
java.lang.Exception

getParameterValues

  1. public java.lang.String[] getParameterValues( org.w3c.dom.Node parameter)
  2. throws java.lang.Exception
Get parameter values from Parameter Node.
Parameters:
parameter - Node holding Parameter.
Returns:
String[] String array holding the parameter values.
Throws:
java.lang.Exception - If there are problems retrieving data.

getParameterValues

  1. public java.lang.String[] getParameterValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName)
  3. throws java.lang.Exception
Get parameter values from XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
Returns:
String[] String array holding the parameter values.
Throws:
java.lang.Exception - If there are problems retrieving data.

getFieldValues

  1. public java.lang.String[] getFieldValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName)
  3. throws java.lang.Exception
Throws:
java.lang.Exception

getParameterValuesByAuthoredName

  1. public java.lang.String[] getParameterValuesByAuthoredName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramAuthoredName)
  3. throws java.lang.Exception
Get parameter values from XML document.
Parameters:
xmlDoc - Document object.
paramAuthoredName - Parameter Authored Name.
Returns:
String[] String array holding the parameter values.
Throws:
java.lang.Exception - If there are problems retrieving data.

getValuesByAttName

  1. public java.lang.String[] getValuesByAttName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String attName,
  3. java.lang.String nameToFind,
  4. java.lang.String path)
  5. throws java.lang.Exception
Get parameter values from XML document.
Parameters:
xmlDoc - Document object.
attName - attribute Name.
nameToFind - the attribute's value such as "F_Subject".
path - the place to find the values with the path such as "RosterElement/Fields/Field".
Returns:
String[] String array holding the parameter values.
Throws:
java.lang.Exception - If there are problems retrieving data.

setAttNameByAttValue

  1. public void setAttNameByAttValue( org.w3c.dom.Document xmlDoc,
  2. java.lang.String elementTagName,
  3. java.lang.String attName,
  4. java.lang.String attValue)
  5. throws java.lang.Exception
Throws:
java.lang.Exception

getAttNameByAttName

  1. public java.lang.String getAttNameByAttName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String NametoFind,
  3. java.lang.String path)
  4. throws java.lang.Exception
Throws:
java.lang.Exception

findNodeAttNameByAttName

  1. public static java.lang.String findNodeAttNameByAttName( org.w3c.dom.NodeList childList,
  2. java.lang.String nameToFind)
  3. throws java.lang.Exception
Throws:
java.lang.Exception

getAttNameValueByAttName

  1. public java.lang.String getAttNameValueByAttName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String NametoFind,
  3. java.lang.String path)
  4. throws java.lang.Exception
Throws:
java.lang.Exception

findNodeAttNameValueByAttName

  1. public static java.lang.String findNodeAttNameValueByAttName( org.w3c.dom.NodeList childList,
  2. java.lang.String nameToFind)
  3. throws java.lang.Exception
Throws:
java.lang.Exception

getParticipants

  1. public ParticipantRef[] getParticipants( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName)
  3. throws java.lang.Exception
Get the participant parameter values from XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
Returns:
ParticipantRef[] ParticipantRef array holding the participant data
Throws:
java.lang.Exception - If there are problems retrieving data.

addParameterValues

  1. public boolean addParameterValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. java.lang.String[] values)
  4. throws java.lang.Exception
Append parameter values in XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
values - Parameter values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

addWorkflowGroupValues

  1. public boolean addWorkflowGroupValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. ParticipantRef[] values)
  4. throws java.lang.Exception
Append workflow group parameter values in XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
values - Parameter values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

setParameterValues

  1. public boolean setParameterValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. java.lang.String[] values)
  4. throws java.lang.Exception
Set parameter values in XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
values - Parameter value array. If the array is null or empty, removes all values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

setParameterValuesUsingAuthoredName

  1. public boolean setParameterValuesUsingAuthoredName( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramAuthoredName,
  3. java.lang.String[] values)
  4. throws java.lang.Exception
Set parameter values in XML document.
Parameters:
xmlDoc - Document object.
paramAuthoredName - Parameter's authored name.
values - Parameter value array. If the array is null or empty, removes all values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

setParameterValues

  1. public boolean setParameterValues( org.w3c.dom.Document xmlDoc,
  2. org.w3c.dom.Node parameter,
  3. java.lang.String paramName,
  4. java.lang.String[] values)
  5. throws java.lang.Exception
Set parameter values in XML document.
Parameters:
xmlDoc - Document object.
parameter - Node holding Parameter.
paramName - Parameter name.
values - Parameter value array. If the array is null or empty, removes all values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

setWorkflowGroupValues

  1. public boolean setWorkflowGroupValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. ParticipantRef[] values)
  4. throws java.lang.Exception
Set the workflow group parameter values in XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
values - Parameter value array. If the array is null or empty, removes all values.
Returns:
boolean Whether the parameter value has actually changed (different than previous value).
Throws:
java.lang.Exception - If there are problems retrieving data.

deleteParameterValues

  1. public void deleteParameterValues( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. java.lang.String[] values)
  4. throws java.lang.Exception
Deletes parameter values from XML document.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
values - Parameter value array.
Throws:
java.lang.Exception - If there are problems retrieving data.

deleteParameterValue

  1. public void deleteParameterValue( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. int index)
  4. throws java.lang.Exception
Deletes parameter value specified by index.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
index - Array index (0 based).
Throws:
java.lang.Exception - If there are problems retrieving data.

getParameterValueState

  1. public java.lang.String getParameterValueState( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. int index)
  4. throws java.lang.Exception
Get the parameter's status from the Value element.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
index - Array index
Returns:
String State
Throws:
java.lang.Exception - If there are problems retrieving data.

setParameterValueState

  1. public void setParameterValueState( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. int index,
  4. java.lang.String state)
  5. throws java.lang.Exception
Set parameter state status. The state information is actually stored as an attribute on the Value element.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
index - Array index.
state - String holding the state value to set.
Throws:
java.lang.Exception - If there are problems retrieving data.

setParameterState

  1. public void setParameterState(org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName,
  3. java.lang.String state)
  4. throws java.lang.Exception
Set parameter state status.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
state - String holding the value to be set.
Throws:
java.lang.Exception - If there are problems retrieving data.

getParameterState

  1. public java.lang.String getParameterState( org.w3c.dom.Document xmlDoc,
  2. java.lang.String paramName)
  3. throws java.lang.Exception
Get parameter state value.
Parameters:
xmlDoc - Document object.
paramName - Parameter name.
Returns:
String holding the state value.
Throws:
java.lang.Exception - If there are problems retrieving data.

setSelectedResponse

  1. public boolean setSelectedResponse( org.w3c.dom.Document xmlDoc,
  2. java.lang.String response)
  3. throws java.lang.Exception
Set selected response in XML document.
Parameters:
xmlDoc - Document object
response - Selected response.
Returns:
boolean Whether the response has been changed (True = yes; current response is different that previous setting)
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementAttachments

  1. public void setStepElementAttachments( boolean doSave)
  2. throws java.lang.Exception
Set the modified attachment information into the StepElement parameters and save to the server.
Parameters:
doSave - Boolean value indicates whether VWStepElement doSave method should be called. True only when in the Step Processor.
Throws:
java.lang.Exception - If there are problems retrieving data.

setStepElementAttachments

  1. public void setStepElementAttachments( org.w3c.dom.Document stepAttachmentsXML,
  2. boolean doSave)
  3. throws java.lang.Exception
Set the modified attachment information into the StepElement parameters and save to the server. This method operates on a single blob of XML that holds all the attachments (and attachment items). This XML structure is used for the single expandable listview rendition of attachments.
Parameters:
stepAttachmentsXML - Document object holding the attachments information as XML
doSave - Boolean value indicates whether VWStepElement doSave method should be called. True only when in the Step Processor.
Throws:
java.lang.Exception - If there are problems retrieving data.

createAttachmentArray

  1. public void createAttachmentArray( )
  2. throws java.lang.Exception
Creates a array list to hold the attachment list for a particular StepElement parameter.
Throws:
java.lang.Exception - If there are problems.

addAttachmentToArray

  1. public void addAttachmentToArray( java.lang.String name,
  2. java.lang.String objectStore,
  3. java.lang.String objectId,
  4. java.lang.String verSerId,
  5. java.lang.String type)
  6. throws java.lang.Exception
Adds an attachment to the VWAttachments array. This is basically a call back method used when setStepElementAttachments is called to accumulate the attachment lists as a VWAttachments collection. This list of VWAttachments will be added to a particular VWParameter before being saved to the server.
Parameters:
name - String name of attachment item.
objectStore - String name of objectstore.
objectId - String id of specific object version.
verSerId - String version series id.
type - String type of attachment item.
Throws:
java.lang.Exception - If there are problems retrieving data.

getWobNumber

  1. public java.lang.String getWobNumber( java.lang.String workflowNumber)
  2. throws java.lang.Exception
Retrieve the work object number from the the running workflow number.
Parameters:
workflowNumber - String the running workflow number
Throws:
java.lang.Exception - If there are problems retrieving data.

domToString

  1. public void domToString(org.w3c.dom.Document document)
  2. throws java.lang.Exception
Convert DOM tree to string. Used for debugging
Parameters:
document - Document object
Throws:
java.lang.Exception - If there are problems retrieving data.

removeInvalidXMLCharacters

  1. public java.lang.String removeInvalidXMLCharacters( java.lang.String inXML)

getVWDataFieldXML

  1. public void getVWDataFieldXML(filenet.vw.api.VWDataField dataField,
  2. java.lang.StringBuffer theBuffer)
  3. throws java.lang.Exception
Appends a description of this object's properties, formatted as an XML string, to the specified input buffer.

This description includes Name, Type, IsSystemField Flag, Mode, IsArray Flag, and either field values or string representations of attachments.

Warning: This general list of properties currently contained in the appended string is subject to change without notice.

Parameters:
theBuffer - A string buffer that this method will append with XML content.
Throws:
java.lang.Exception

getVWDataFieldXML

  1. public void getVWDataFieldXML(filenet.vw.api.VWDataField dataField,
  2. org.w3c.dom.Document queryRoot,
  3. org.w3c.dom.Element fields)
  4. throws java.lang.Exception
Appends a description of this object's properties, formatted as an XML string, to the specified input buffer.

This description includes Name, Type, IsSystemField Flag, Mode, IsArray Flag, and either field values or string representations of attachments.

Warning: This general list of properties currently contained in the appended string is subject to change without notice.

Parameters:
fields - Node holding the current fields element to add information to.
Throws:
java.lang.Exception

createChildElement

  1. public org.w3c.dom.Element createChildElement( org.w3c.dom.Document rootDocument,
  2. org.w3c.dom.Element parentElement,
  3. java.lang.String tagName)
Create a child element
Parameters:
rootDocument - Document holding the root of the dom tree
parentElement - Element the parent of the new child
tagName - String the tag name for the new child
Returns:
The child Element that was created

createChildElement

  1. public org.w3c.dom.Element createChildElement( org.w3c.dom.Document rootDocument,
  2. org.w3c.dom.Element parentElement,
  3. java.lang.String tagName,
  4. java.lang.String value)
Create a child element with a value
Parameters:
rootDocument - Document holding the root of the dom tree
parentElement - the parent of the new child
tagName - String the tag name for the new child
value - String the value to put into the child Element
Returns:
The child Element that was created

getProcessDesignerDimension

  1. public java.awt.Dimension getProcessDesignerDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Process Designer applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

getProcessSimulationConsoleDimension

  1. public java.awt.Dimension getProcessSimulationConsoleDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Process Simulation Console applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

getProcessSimulationDesignerDimension

  1. public java.awt.Dimension getProcessSimulationDesignerDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Process Simulation Designer applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

getProcessAdministratorDimension

  1. public java.awt.Dimension getProcessAdministratorDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Process Administrator applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

getProcessConfigurationConsoleDimension

  1. public java.awt.Dimension getProcessConfigurationConsoleDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Process Configuration Console applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

getTaskTrackerDimension

  1. public java.awt.Dimension getTaskTrackerDimension( )
  2. throws java.lang.Exception
Get the Height/Width settings stored on the Process Engine for the Task Tracker applet.
Returns:
Dimension object containing height/width properties
Throws:
java.lang.Exception

fieldDateToUTCString

  1. protected static java.lang.String fieldDateToUTCString( java.util.Date theDate)
Get a Date in a String formatted as a UTC ISO String. This allows us to have a consistent date strings that don't depend on the locale of the machine generating the XML. Default format string is "yyyyMMdd'T'HHmmss'Z'" (a.k.a UTC ISO condensed format).
Returns:
The date as a UTC ISO string. If theDate is null, or theDate's time value is -2000000000000 ( a flag value indicating "no time value"), this function will return an empty string.

fieldTypeToString

  1. protected static java.lang.String fieldTypeToString( int fieldType)
  2. throws java.lang.Exception
Returns a string which is the ascii representation of the field type. Used for converting a field type into a string for generating XML.
Parameters:
fieldType - an int representing a valid field type.
Throws:
java.lang.Exception - if the fieldType value is not a valid field type.

fieldModeToString

  1. protected static java.lang.String fieldModeToString( int modeType)
  2. throws java.lang.Exception
Returns a string which is the ascii representation of the fields mode type
Throws:
java.lang.Exception

getProcessorTemplates

  1. public java.lang.Object getProcessorTemplates( int type,
  2. boolean refresh)
  3. throws java.lang.Exception
Retrieve the specified processor types from the process api and xml.
Parameters:
type - int specifies the type or processors to return
refresh - boolean flag that specifies the data retrieval location.
Returns:
Object org.w3c.dom.Document holding the XML in EProcess Engine tag format.
Throws:
java.lang.Exception