wt.epm.retriever
Class InternalRetrieverCache
java.lang.Object
wt.epm.retriever.InternalRetrieverCache
- All Implemented Interfaces:
- EPMRetrieverCache
- public class InternalRetrieverCache
- extends Object
- implements EPMRetrieverCache
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
selectedMap
Map selectedMap
resultsMap
Map resultsMap
resultsByClassMap
Map resultsByClassMap
UNRESOLVED_MASTERS
public static final String UNRESOLVED_MASTERS
- See Also:
- Constant Field Values
LW_LINKS
public static final String LW_LINKS
- See Also:
- Constant Field Values
INCOMPATIBLE_FT
public static final String INCOMPATIBLE_FT
- See Also:
- Constant Field Values
RESOLVED_BY_WORKSPACE_FT_VERSION
public static final String RESOLVED_BY_WORKSPACE_FT_VERSION
- See Also:
- Constant Field Values
RESOLVED_BY_LAST_COMPATIBLE_RULE
public static final String RESOLVED_BY_LAST_COMPATIBLE_RULE
- See Also:
- Constant Field Values
log
private static Log log
- logging
InternalRetrieverCache
public InternalRetrieverCache()
populate
public void populate(PopulatableResult populatable,
Class[] nodeClasses,
Class[] linkClasses)
throws WTException
- Description copied from interface:
EPMRetrieverCache
- Given a set of object (node) classes and a set of link classes,
populate a particular "result" with all cached objects of selected
classes.
- Specified by:
populate
in interface EPMRetrieverCache
- Parameters:
populatable
- PopulatableResult - callback to build a result object.nodeClasses
- Class[] - classes to select result objects (nodes).linkClasses
- Class[] - classes to select result links.
- Throws:
WTException
- if subsequent PopulatableResult.ppopulate() failed for any reason
getWTCollection
private WTCollection getWTCollection(Class[] cls)
throws WTException
- Throws:
WTException
populate
private Collection populate(Class[] cls)
throws WTException
- Throws:
WTException
populate
private void populate(Map ret,
Class[] cls)
buildResultsByClassMap
private void buildResultsByClassMap()
setSelected
public void setSelected(String selectName,
Collection objs)
getSelected
public Collection getSelected(String selectName)
throws WTException
- Description copied from interface:
EPMRetrieverCache
- Raw EMPRetriever results for advanced users.
- Specified by:
getSelected
in interface EPMRetrieverCache
- Parameters:
selectName
- String EMPRetriever's "select" parameter name
- Returns:
- Collection of the selected objects
- Throws:
WTException
getSelected
public Collection getSelected(Class cl)
throws WTException
- Description copied from interface:
EPMRetrieverCache
- return WTCollection of the given class.
- Specified by:
getSelected
in interface EPMRetrieverCache
- Returns:
- WTCollection of the selected objects of the given class
- Throws:
WTException
debugPrint
protected static void debugPrint(Log log,
String msg,
Collection c)
throws WTException
- Throws:
WTException
getVersionDisplay
protected static String getVersionDisplay(Iterated iteration)