IBM FileNet P8, Version 5.2.1            

OperationsHelper

This helper class provides methods to get operation definitions (VWOperationDefinition objects) and print operation definition information.

For more information, see the comments in the sample source . The samples are supplied in the Developer samples section of the IBM® FileNet® P8 Platform publication library.

See also Running the API Samples.

Methods

General descriptions of the OperationsHelper methods follow:

OperationsHelper()

The OperationsHelper constructor initializes local variables to point to its VWSession and sample Logger class objects arguments.

getOperationDefinition()

Retrieves the definition of an operation. VWQueue.fetchQueueDefinition is used to get the VWQueueDefinition object that holds the definition of the specified queue (argument to fetchQueueDefinition), then VWQueueDefinition.getOperation is used to get the VWOperationDefinition object.

printOperationDetails()

Logs VWOperationDefinition object information by using VWOperationDefinition.getName and VWOperationDefinition.getDescription to pass the operation definition information to the sample Logger.log, and prints the VWOperationDefinition parameter information by using the local printOperationParameters method.

printOperationParameters()

Logs the parameter information of the VWOperationDefinition object that is specified as the argument (by using VWOperationDefinition.getParameterDefinitions to get the array of VWParameterDefinition objects.) VWParameterDefinition.getName, VWParameterDefinition.getDataType, and VWParameterDefinition.getValue are used to pass the parameter information to the sample Logger.log to log this information.



Last updated: October 2015
operationshelper.htm

© Copyright IBM Corporation 2015.