com.ptc.core.foundation.content.client
Class CoAttachmentsListPickerAddOkActionDoer

java.lang.Object
  extended by com.ptc.core.ca.co.client.picker.CoPickerOkActionDoer
      extended by com.ptc.core.ca.co.client.picker.CoObjectListPickerOkActionDoer
          extended by com.ptc.core.foundation.content.client.CoAttachmentsListPickerAddOkActionDoer
All Implemented Interfaces:
CoActionDoer, CoDoer

public class CoAttachmentsListPickerAddOkActionDoer
extends CoObjectListPickerOkActionDoer

The doer responsible for the addition to the existing list of instances in the target instance holder of a list created from picked elements.

Supported API: true

Extendable: true


Method Summary
 void execute(CoActionHandlerData execData)
          Adds to the existing list of instances in the target instance holder a list created from picked elements.
protected  ArrayList getPickedInstanceList(CoAttachmentsListPickerOkActionHandlerData execData)
          Returns a list of newly created CoInstance> objects that wrap I*E elements of picked elements.
 
Methods inherited from class com.ptc.core.ca.co.client.picker.CoObjectListPickerOkActionDoer
getPickedInstanceList
 
Methods inherited from class com.ptc.core.ca.co.client.picker.CoPickerOkActionDoer
canExecute, isRelevant
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

execute

public void execute(CoActionHandlerData execData)
             throws WTException
Adds to the existing list of instances in the target instance holder a list created from picked elements.

Supported API: true

Parameters:
execData -
Throws:
WTException

getPickedInstanceList

protected ArrayList getPickedInstanceList(CoAttachmentsListPickerOkActionHandlerData execData)
                                   throws WTException
Returns a list of newly created CoInstance> objects that wrap I*E elements of picked elements.

Supported API: true

Parameters:
execData -
Returns:
ArrayList
Throws:
WTException