|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.proesrv.action.UwgmAction
com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction
com.ptc.windchill.uwgm.proesrv.action.GhostResolutionAction
Ghost Resolution Action implementation
Field Summary | |
private List |
conflicts
|
private WTCollection |
deleted
|
private int |
DEP_T_DUMMY
|
private int |
DEP_T_INST_DUMMY
|
private GhostResolutionOption |
ghostResolutionOption
|
private WTCollection |
ignorabled
|
private WTCollection |
input
|
private Class[] |
linkCl
|
private static Log |
log
logging |
private Map |
tainted
|
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmWorkspaceAction |
|
Fields inherited from class com.ptc.windchill.uwgm.proesrv.action.UwgmAction |
|
Constructor Summary | |
GhostResolutionAction(RequestContext context,
EPMWorkspace epmWorkspace)
|
Method Summary | |
private void |
addLink(Map ghostLinks,
EPMDependencyLink link,
Map ghosts,
Set undeleted)
|
private void |
deleteOptionalLinks(ArrayList links,
HashSet taintedParents,
WTHashSet deletedLinks,
boolean ignoreInternal)
|
protected void |
executeAction()
executeAction |
List |
getConflicts()
return found conflicts |
WTCollection |
getDeletedCandidates()
return the collection of ghosts which are the candidates for delete action |
private WTCollection |
getGhostParentDependencyLinks(Map ghosts)
|
private Map |
getGhosts()
|
EPMDocument |
getRefreshedCandidate(Persistable obj)
return refreshed candidate of tainted object |
boolean |
isIgnorable(Persistable obj)
return true if checkin should ignore this object |
boolean |
isTainted(Persistable obj)
return true if object was tainted: setMissingDependents(true) saved |
boolean |
needRefresh()
return true if a caller should refresh the input collection of objects before check in |
void |
setGhostResolutionOption(GhostResolutionOption ghostResolutionOption)
set GhostResolutionOption |
void |
setInput(WTCollection input)
set checkin input for ghost resolving |
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 |
private WTCollection input
private WTCollection deleted
private WTCollection ignorabled
private GhostResolutionOption ghostResolutionOption
private List conflicts
private Map tainted
private final Class[] linkCl
private final int DEP_T_DUMMY
private final int DEP_T_INST_DUMMY
private static Log log
Constructor Detail |
public GhostResolutionAction(RequestContext context, EPMWorkspace epmWorkspace)
Method Detail |
public void setGhostResolutionOption(GhostResolutionOption ghostResolutionOption)
public void setInput(WTCollection input)
input
- WTCollectionpublic List getConflicts()
public boolean needRefresh()
public boolean isIgnorable(Persistable obj)
obj
- Persistable
public boolean isTainted(Persistable obj)
obj
- Persistable
public EPMDocument getRefreshedCandidate(Persistable obj)
obj
- Persistable
public WTCollection getDeletedCandidates()
protected void executeAction() throws UwgmConflictException, UwgmErrorException
executeAction
in class UwgmAction
UwgmConflictException
UwgmErrorException
private Map getGhosts() throws WTException
WTException
private WTCollection getGhostParentDependencyLinks(Map ghosts) throws WTException, WTPropertyVetoException
WTException
WTPropertyVetoException
private void addLink(Map ghostLinks, EPMDependencyLink link, Map ghosts, Set undeleted)
private void deleteOptionalLinks(ArrayList links, HashSet taintedParents, WTHashSet deletedLinks, boolean ignoreInternal)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |