|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ptc.windchill.uwgm.common.pdm.AbstractRetriever
base class for PartDocsRetrievers
Field Summary | |
protected ConfigSpec |
configSpec
|
private static Log |
log
logging |
protected WorkspaceContent |
workspaceContent
|
Constructor Summary | |
AbstractRetriever()
|
Method Summary | |
protected abstract Persistable |
getRetrieverScope()
returns retriever scope: EPMWorkspace, WTContainer, Folder |
protected WTKeyedMap |
postprocessFindOfSpecs(WTKeyedMap persistableSpecMap)
|
private EPMDocument[] |
processFindOfSpec(EPMDocument document,
FindOfRetrieverSpec findOfSpec)
|
WTKeyedMap |
retrieveEPMDocumentMap(Collection retrieverSpecs)
retrieves WTKeyedMap[EPMDocument, RetrieverSpec] by collection of RetrieverSpecs |
EPMDocument[] |
retrieveEPMDocuments(Collection retrieverSpecs)
retrives an array of EPMDocument by a Collections of RetrieverSpec |
protected WTKeyedMap |
retrievePartDocuments(RetrieverSpec.Type[] types,
Collection retrieverSpecs,
Class clazz)
internal retriever mechanizm |
protected abstract WTKeyedMap |
retrievePartDocuments(RetrieverSpec.Type specType,
Collection retrieverSpecs,
Class iterCl)
retrieves Persistables of given iterCl class specified in Collection of retrieverSpecs |
protected abstract WTKeyedMap |
retrievePartDocumentsByOID(Collection retrieverSpecs,
Class iterCl)
retrieves Persistables specified in Collection of retrieverSpecs by OID |
protected WTKeyedMap |
retrievePartDocumentsFromWorkspace(WorkspaceContent workspaceContent,
Collection retrieverSpecs,
Class clazz)
returns the collection of EPMDocument or WTPArts found by specs in WS |
WTKeyedMap |
retrieveWTPartMap(Collection retrieverSpecs)
retrieves WTKeyedMap[WTPart, RetrieverSpec] by collection of RetrieverSpecs |
WTPart[] |
retrieveWTParts(Collection retrieverSpecs)
retrives an array of WTPart by a Collections of RetrieverSpec |
void |
setConfigSpec(ConfigSpec configSpec)
|
void |
setWorkspaceContent(WorkspaceContent workspaceContent)
set WorkspaceContent |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected ConfigSpec configSpec
protected WorkspaceContent workspaceContent
private static Log log
Constructor Detail |
public AbstractRetriever()
Method Detail |
public void setWorkspaceContent(WorkspaceContent workspaceContent)
use setWorkspaceContent
to merge the results with WS content
public void setConfigSpec(ConfigSpec configSpec)
public EPMDocument[] retrieveEPMDocuments(Collection retrieverSpecs) throws WTException
EPMDocument
by a Collections
of RetrieverSpec
retrieveEPMDocuments
in interface PartDocumentFinder
retrieverSpecs
- Collection
WTException
public WTKeyedMap retrieveEPMDocumentMap(Collection retrieverSpecs) throws WTException
retrieveEPMDocumentMap
in interface PartDocumentFinder
retrieverSpecs
- Collection
WTException
public WTPart[] retrieveWTParts(Collection retrieverSpecs) throws WTException
WTPart
by a Collections
of RetrieverSpec
retrieveWTParts
in interface PartDocumentFinder
retrieverSpecs
- Collection
WTException
public WTKeyedMap retrieveWTPartMap(Collection retrieverSpecs) throws WTException
retrieveWTPartMap
in interface PartDocumentFinder
retrieverSpecs
- Collection
WTException
protected WTKeyedMap retrievePartDocuments(RetrieverSpec.Type[] types, Collection retrieverSpecs, Class clazz) throws WTException
types
- SpecType[]retrieverSpecs
- Collection
WTException
protected WTKeyedMap retrievePartDocumentsFromWorkspace(WorkspaceContent workspaceContent, Collection retrieverSpecs, Class clazz) throws WTException
WTException
protected WTKeyedMap postprocessFindOfSpecs(WTKeyedMap persistableSpecMap) throws WTException
WTException
private EPMDocument[] processFindOfSpec(EPMDocument document, FindOfRetrieverSpec findOfSpec) throws WTException
WTException
protected abstract WTKeyedMap retrievePartDocuments(RetrieverSpec.Type specType, Collection retrieverSpecs, Class iterCl) throws WTException
iterCl
class specified in Collection of retrieverSpecs
specType
- SpecTyperetrieverSpecs
- CollectioniterCl
- Class
WTException
protected abstract WTKeyedMap retrievePartDocumentsByOID(Collection retrieverSpecs, Class iterCl) throws WTException
retrieverSpecs
by OID
retrieverSpecs
- CollectioniterCl
- Class
WTException
protected abstract Persistable getRetrieverScope()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |