com.ptc.windchill.uwgm.proesrv.action
Class CreatePartsAndAssociateAction

java.lang.Object
  extended bycom.ptc.windchill.uwgm.proesrv.action.UwgmAction
      extended bycom.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
          extended bycom.ptc.windchill.uwgm.proesrv.action.CreatePartsAndAssociateAction

public class CreatePartsAndAssociateAction
extends UwgmWorkspaceAction


Field Summary
private  WTValuedMap documentPartMap
           
private  WTCollection epmDocuments
           
private static Log log
          logging
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
 
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmAction
 
Constructor Summary
CreatePartsAndAssociateAction(RequestContext context, EPMWorkspace epmWorkspace)
           
 
Method Summary
protected  void executeAction()
          executes Action
 WTValuedMap getDocumentPartMap()
          returns document<->part association Map [EPMDoc, WTPart]
 void setEpmDocuments(WTCollection epmDocumentsList)
           
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
getEPMWorkspace
 
Methods inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmAction
addWarning, checkExecutionSuccess, execute, getContext, getWarnings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

epmDocuments

private WTCollection epmDocuments

documentPartMap

private WTValuedMap documentPartMap

log

private static Log log
logging

Constructor Detail

CreatePartsAndAssociateAction

public CreatePartsAndAssociateAction(RequestContext context,
                                     EPMWorkspace epmWorkspace)
Method Detail

setEpmDocuments

public void setEpmDocuments(WTCollection epmDocumentsList)

getDocumentPartMap

public WTValuedMap getDocumentPartMap()
returns document<->part association Map [EPMDoc, WTPart]

Returns:
WTValuedMap

executeAction

protected void executeAction()
                      throws UwgmConflictException,
                             UwgmErrorException
executes Action

Specified by:
executeAction in class UwgmAction
Throws:
UwgmConflictException
UwgmErrorException