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

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.CheckinAction

public class CheckinAction
extends UwgmWorkspaceAction

Checkin Action implementation


Field Summary
private  WTCollection checkedIns
           
private  boolean checkinAssociatedParts
          by default, always checkin associated WTParts
private  String checkinComment
           
private  WTValuedMap checkinInstructions
           
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
CheckinAction(RequestContext context, EPMWorkspace epmWorkspace)
           
 
Method Summary
private  int addAssociatedParts(WTValuedMap instructions)
           
 void addInstructions(WTValuedMap instructions)
           
protected  void executeAction()
          executeAction
 WTCollection getCheckedInIterations()
           
private  WTKeyedMap prepareCheckinOptions(WTValuedMap instructions)
           
private  void publishViewables(WTCollection epmDocuments)
           
 void setCheckinAssociatedParts(boolean trueOrFalse)
          sets whether to include associted WTParts for checkin or not
 void setCheckinComment(String comment)
          sets Checkin comment for all iterations
 
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

checkinAssociatedParts

private boolean checkinAssociatedParts
by default, always checkin associated WTParts


checkinInstructions

private WTValuedMap checkinInstructions

checkinComment

private String checkinComment

checkedIns

private WTCollection checkedIns

log

private static Log log
logging

Constructor Detail

CheckinAction

public CheckinAction(RequestContext context,
                     EPMWorkspace epmWorkspace)
Method Detail

setCheckinAssociatedParts

public void setCheckinAssociatedParts(boolean trueOrFalse)
sets whether to include associted WTParts for checkin or not

Parameters:
trueOrFalse - boolean

setCheckinComment

public void setCheckinComment(String comment)
sets Checkin comment for all iterations

Parameters:
comment - String

addInstructions

public void addInstructions(WTValuedMap instructions)

executeAction

protected void executeAction()
                      throws UwgmConflictException,
                             UwgmErrorException
executeAction

Specified by:
executeAction in class UwgmAction
Throws:
UwgmConflictException
UwgmErrorException

getCheckedInIterations

public WTCollection getCheckedInIterations()

addAssociatedParts

private int addAssociatedParts(WTValuedMap instructions)
                        throws WTException
Throws:
WTException

prepareCheckinOptions

private WTKeyedMap prepareCheckinOptions(WTValuedMap instructions)
                                  throws WTException
Throws:
WTException

publishViewables

private void publishViewables(WTCollection epmDocuments)