com.ptc.windchill.uwgm.common.pdm
Class FolderPartDocumentRetriever

java.lang.Object
  extended bycom.ptc.windchill.uwgm.common.pdm.AbstractRetriever
      extended bycom.ptc.windchill.uwgm.common.pdm.FolderPartDocumentRetriever
All Implemented Interfaces:
PartDocumentFinder

public class FolderPartDocumentRetriever
extends AbstractRetriever


Field Summary
private  Folder folder
           
private static Log log
           
 
Fields inherited from class com.ptc.windchill.uwgm.common.pdm.AbstractRetriever
configSpec, workspaceContent
 
Constructor Summary
FolderPartDocumentRetriever(Folder folder)
           
 
Method Summary
private  void addFolderSearchCondition(QuerySpec qs, Class iterCl)
           
protected  Persistable getRetrieverScope()
          returns Folder as RetrieverScope
protected  WTKeyedMap retrievePartDocuments(RetrieverSpec.Type specType, Collection retrieverSpecs, Class iterCl)
          retrieves Persistables of given iterCl class specified in Collection of retrieverSpecs
protected  WTKeyedMap retrievePartDocumentsByOID(Collection retrieverSpecs, Class iterCl)
          retrieves Persistables specified in Collection of retrieverSpecs by OID
 
Methods inherited from class com.ptc.windchill.uwgm.common.pdm.AbstractRetriever
postprocessFindOfSpecs, retrieveEPMDocumentMap, retrieveEPMDocuments, retrievePartDocuments, retrievePartDocumentsFromWorkspace, retrieveWTPartMap, retrieveWTParts, setConfigSpec, setWorkspaceContent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

folder

private final Folder folder

log

private static Log log
Constructor Detail

FolderPartDocumentRetriever

public FolderPartDocumentRetriever(Folder folder)
Method Detail

retrievePartDocuments

protected WTKeyedMap retrievePartDocuments(RetrieverSpec.Type specType,
                                           Collection retrieverSpecs,
                                           Class iterCl)
                                    throws WTException
Description copied from class: AbstractRetriever
retrieves Persistables of given iterCl class specified in Collection of retrieverSpecs

Specified by:
retrievePartDocuments in class AbstractRetriever
Parameters:
specType - SpecType
retrieverSpecs - Collection
iterCl - Class
Returns:
WTKeyedMap [Persistable, Spec]
Throws:
WTException

retrievePartDocumentsByOID

protected WTKeyedMap retrievePartDocumentsByOID(Collection retrieverSpecs,
                                                Class iterCl)
                                         throws WTException
Description copied from class: AbstractRetriever
retrieves Persistables specified in Collection of retrieverSpecs by OID

Specified by:
retrievePartDocumentsByOID in class AbstractRetriever
Parameters:
retrieverSpecs - Collection
iterCl - Class
Returns:
WTKeyedMap [Persistable, Spec]
Throws:
WTException

addFolderSearchCondition

private void addFolderSearchCondition(QuerySpec qs,
                                      Class iterCl)
                               throws WTException
Throws:
WTException

getRetrieverScope

protected Persistable getRetrieverScope()
returns Folder as RetrieverScope

Specified by:
getRetrieverScope in class AbstractRetriever
Returns:
Persistable