com.ptc.windchill.uwgm.proesrv.action
Class DeleteNewObjectsAction
java.lang.Object
com.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceObjectsAction
com.ptc.windchill.uwgm.proesrv.action.DeleteNewObjectsAction
- Direct Known Subclasses:
- UndoCheckoutAction
- public class DeleteNewObjectsAction
- extends UwgmWorkspaceObjectsAction
This is an action class which deletes the new objects from workspace
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 |
newObjects
private WTCollection newObjects
checkedOutObjects
private WTCollection checkedOutObjects
checkedInObjects
private WTCollection checkedInObjects
log
private static Log log
- logging
DeleteNewObjectsAction
public DeleteNewObjectsAction(RequestContext requestContext,
EPMWorkspace workspace)
executeAction
public void executeAction()
throws UwgmConflictException,
UwgmErrorException
- This method implements the executeAction method of UwgmWorkspaceObjectsAction
- Specified by:
executeAction
in class UwgmAction
- Throws:
UwgmConflictException,
- UwgmErrorException
UwgmErrorException
UwgmConflictException
makeInstancesStandAlone
private WTCollection makeInstancesStandAlone(WTCollection allObjects)
throws WTException
- Throws:
WTException
getNewObjects
protected WTCollection getNewObjects()
- Method to get New Iterations
- Returns:
- NewIterations WTCollection
getCheckedOutObjects
protected WTCollection getCheckedOutObjects()
- Method to get CheckedOut Iterations
- Returns:
- checkedOutObjects WTCollection
getCheckedInObjects
protected WTCollection getCheckedInObjects()
- Method to get Checkedin Objects
- Returns:
- checkedInObjects WTCollection
setActionObjects
public void setActionObjects(WTCollection requestObjects)
throws WTException
- Overrides:
setActionObjects
in class UwgmWorkspaceObjectsAction
- Throws:
WTException
filterInstances
private void filterInstances(WTCollection reqObjects)
throws WTException
- Internal implementation to filter non new instances .
- Throws:
WTException
getInstances
private WTCollection getInstances(WTCollection objects)
throws WTException
- Throws:
WTException
setNewObjects
public void setNewObjects(WTCollection anewObjects)