com.ptc.refimpl.co.computedvalues
Class PersonalFolderComputedValue

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

public class PersonalFolderComputedValue
extends Object
implements CoModelTaskComputedValue, CoFunction_Model_Param


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

Supported API: false
private  String compute_dca_object_ref(CoTaskData taskData)
           
 String computePersonalFolderPath()
           
 List computeValues(CoConfigFeature taskParameter, CoConfigFeature modelDoerConfig, CoSimpleModelHandlerData execData)
          This method finds the personal cabinet of the user and adds it to the array list.
static Object getTaskParameter(CoTaskData taskData, String parameter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersonalFolderComputedValue

public PersonalFolderComputedValue()
Method Detail

computeValues

public List computeValues(CoConfigFeature taskParameter,
                          CoConfigFeature modelDoerConfig,
                          CoSimpleModelHandlerData execData)
                   throws WTException
This method finds the personal cabinet of the user and adds it to the array list. It is called by the framework.

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

computePersonalFolderPath

public String computePersonalFolderPath()
                                 throws WTException
Throws:
WTException

compute_dca_object_ref

private String compute_dca_object_ref(CoTaskData taskData)
                               throws WTException
Throws:
WTException

getTaskParameter

public static Object getTaskParameter(CoTaskData taskData,
                                      String parameter)
                               throws WTException
Throws:
WTException