|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.pdm.PDMStateContainerHelper
Define SimplePDMState for a collection of Workable objects from container. All information is retrieved from DB upon first call of a query method. In case of an exception upon a retrieval, first called method throws it, but all subsequent calls of this methods will just return empty values.
Field Summary | |
protected static Log |
log
|
protected WTSet |
newObjs
|
protected WTKeyedMap |
targetFolders
|
protected WTCollection |
workables
|
Constructor Summary | |
PDMStateContainerHelper(WTCollection workables)
Construct helper for a given set of PDM documents. |
Method Summary | |
protected WTSet |
getNew()
Retrieve new objects from a collection of Workables. |
SimplePdmState |
getPDMState(Workable obj)
Returns the simple PDM state of a workable object |
Folder |
getTargetFolder(Workable obj)
Returns target folder for a new object. |
protected WTKeyedMap |
getTargetFolders()
Returns target folders for a set of Workable objects. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected WTCollection workables
protected WTSet newObjs
protected WTKeyedMap targetFolders
protected static Log log
Constructor Detail |
public PDMStateContainerHelper(WTCollection workables)
workables
- WTCollection
IllegalArgumentException
- if any of the parameters is invalidMethod Detail |
public SimplePdmState getPDMState(Workable obj) throws WTException
obj
- Workable
WTException
public Folder getTargetFolder(Workable obj) throws WTException
obj
- Workable
WTException
protected WTSet getNew() throws WTException
WTException
protected WTKeyedMap getTargetFolders() throws WTException
WTException
EPMWorkspaceManager.getTargetLocation()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |