com.ptc.windchill.uwgm.common.pdm
Class PartDocumentRetriever
java.lang.Object
com.ptc.windchill.uwgm.common.pdm.AbstractRetriever
com.ptc.windchill.uwgm.common.pdm.PartDocumentRetriever
- All Implemented Interfaces:
- PartDocumentFinder
- public class PartDocumentRetriever
- extends AbstractRetriever
Helper class to retrieve EPMDocuments and WTPart by PartDocumentRetriever specs
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
private WTContainer container
log
private static Log log
PartDocumentRetriever
public PartDocumentRetriever(WTContainer container)
- constructs
PartDocumentRetriever
object
full blown constructor for use to retrieve documents and parts from WS and shared folders
- Parameters:
container
-
retrievePartDocuments
protected WTKeyedMap retrievePartDocuments(RetrieverSpec.Type specType,
Collection retrieverSpecs,
Class iterCl)
throws WTException
- retrieves Persistables of given
iterCl
class specified in Collection of retrieverSpecs
- Specified by:
retrievePartDocuments
in class AbstractRetriever
- Parameters:
specType
- SpecTyperetrieverSpecs
- CollectioniterCl
- Class
- Returns:
- WTKeyedMap [Persistable, Spec]
- Throws:
WTException
retrievePartDocumentsByOID
protected WTKeyedMap retrievePartDocumentsByOID(Collection retrieverSpecs,
Class iterCl)
throws WTException
- retrieves Persistables specified in Collection of
retrieverSpecs
by OID
- Specified by:
retrievePartDocumentsByOID
in class AbstractRetriever
- Parameters:
retrieverSpecs
- CollectioniterCl
- Class
- Returns:
- WTKeyedMap [Persistable, Spec]
- Throws:
WTException
getRetrieverScope
protected Persistable getRetrieverScope()
- returns WTContainer as RetrieverScope
- Specified by:
getRetrieverScope
in class AbstractRetriever
- Returns:
- Persistable