com.ptc.windchill.uwgm.proesrv.action
Class CheckinAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
com.ptc.windchill.uwgm.proesrv.action.CheckinAction
- public class CheckinAction
- extends UwgmWorkspaceAction
Checkin Action implementation
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmAction |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
CheckinAction
public CheckinAction(RequestContext context,
EPMWorkspace epmWorkspace)
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)