com.ptc.refimpl.co.computedvalues
Class PersonalFolderWhereComputedValue

java.lang.Object
  extended bycom.ptc.refimpl.co.computedvalues.PersonalFolderWhereComputedValue
All Implemented Interfaces:
CoComputedValue, CoFunction_Model_Param, CoModelTaskComputedValue

public class PersonalFolderWhereComputedValue
extends Object
implements CoModelTaskComputedValue, CoFunction_Model_Param


Constructor Summary
PersonalFolderWhereComputedValue()
           
 
Method Summary
 void addInputParameters(CoTaskData taskData, CoConfigFeature parameterConfig, CoModelHandlerData execData)
          

Supported API: false
private  String computeCabinetName()
           
 List computeValues(CoConfigFeature taskParameter, CoConfigFeature modelDoerConfig, CoSimpleModelHandlerData execData)
          This method is an example of constructing a where clause.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonalFolderWhereComputedValue

public PersonalFolderWhereComputedValue()
Method Detail

computeValues

public List computeValues(CoConfigFeature taskParameter,
                          CoConfigFeature modelDoerConfig,
                          CoSimpleModelHandlerData execData)
                   throws WTException
This method is an example of constructing a where clause. This particular example simply instructs the system to construct a where clause to find the personal cabinet of the user.

Specified by:
computeValues in interface CoModelTaskComputedValue
Parameters:
taskParameter - This is the value of the name attribute in the <TaskParameter> tag. This should not be returned to the framework.
modelDoerConfig - The CoConfigFeature of the <ModelDoer> tag. You may call CoConfigFeature.getParent repeatedly to get the entire XML context that this tag lives in.
execData - See the Documentation for the rich set of information available to you in this data structure.
Returns:
List
Throws:
WTException

addInputParameters

public void addInputParameters(CoTaskData taskData,
                               CoConfigFeature parameterConfig,
                               CoModelHandlerData execData)
                        throws WTException
Description copied from interface: CoFunction_Model_Param


Supported API: false

Specified by:
addInputParameters in interface CoFunction_Model_Param
Parameters:
taskData -
parameterConfig -
execData -
Throws:
WTException

computeCabinetName

private String computeCabinetName()
                           throws WTException
Throws:
WTException