|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.structure.EPMNavigateUtility
The EPMNavigateUtility is a class that navigates links for the
EPMStandardStructureService class.
Supported API: false
Extendable: false
Nested Class Summary | |
protected static class |
EPMNavigateUtility.IdSet
Represents a collection of one or more object identifiers. |
protected static class |
EPMNavigateUtility.QueryResultProcessor
|
Constructor Summary | |
(package private) |
EPMNavigateUtility()
|
Method Summary | |
private static QueryResult |
filterIterations(QueryResult iterations,
Relationship.Role role,
QueryResult links)
Given a list of iterations selected by a configuration spec, return those iterations that have at least one link to them. |
private static QueryResult |
findIterationsOf(EPMNavigateUtility.IdSet masterIdSet,
Class iteratedClass,
ConfigSpec configSpec)
Find all iterations of the given masters selected by the supplied configuration spec. |
protected static EPMNavigateUtility.IdSet |
getBranchIds(QueryResult objects)
|
protected static EPMNavigateUtility.IdSet |
getId(Persistable object)
|
protected static EPMNavigateUtility.IdSet |
getIds(QueryResult objects)
|
private static QueryResult |
mergeResults(QueryResult objects,
Relationship.Role role,
QueryResult links)
Merges a list of objects with a list of links. |
protected static QueryResult |
navigate(EPMNavigateUtility.IdSet objectIdSet,
Relationship assocation,
QuerySpec querySpec,
boolean returnLinks,
boolean returnOtherSide)
Navigate the given relationship to the other side objects. |
protected static QueryResult |
navigate(EPMNavigateUtility.IdSet objectIdSet,
Relationship assocation,
QuerySpec querySpec,
boolean returnLinks,
boolean returnOtherSide,
boolean bypassAccessControl)
If bypassAccessControl is true, use low level API (query) |
protected static QueryResult |
navigate(Persistable object,
Relationship relationship,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the given relationship to the other side objects and returns a QueryResult of links or other-side objects depending upon the value of the onlyOtherSide flag. |
protected static WTKeyedMap |
navigate(WTCollection objects,
Relationship relationship,
QuerySpec querySpec,
boolean onlyOtherSide)
Navigates the given relationship to the other side objects and returns a WTKeyedMap whose values are WTSets of links or other-side objects depending upon the value of the onlyOtherSide flag. |
protected static WTKeyedMap |
navigate(WTCollection objects,
Relationship relationship,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigates the given iteration-to-master relationship. |
protected static Object |
navigate(WTCollection objects,
Relationship relationship,
QuerySpec querySpec,
NavigateResultProcessor processor,
boolean bypassAccessControl)
Navigate the given relationship to the other side objects possibly bypassing access control. |
private static QueryResult |
navigateIterationToMaster(EPMNavigateUtility.IdSet objectIdSet,
Relationship relationship,
QuerySpec querySpec)
Navigate the given relationship to the other side Iterated objects. |
protected static QueryResult |
navigateMasterToIteration(EPMNavigateUtility.IdSet objectIdSet,
Relationship relationship,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigate the given relationship to the other side Mastered objects. |
protected static QueryResult |
navigateToIteration(EPMNavigateUtility.IdSet objectIdSet,
Relationship relationship,
QuerySpec querySpec,
boolean onlyOtherSide,
ConfigSpec configSpec)
Navigate the given relationship to the other side Iterated objects. |
private static QueryResult |
recoverMissingMasters(EPMNavigateUtility.IdSet masterIdSet,
QueryResult iterations)
Given a set of masters and a set of iterations for those masters, return a list that contains the iterations plus all masters that do not have a corresponding iteration in the set of iterations. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
EPMNavigateUtility()
Method Detail |
protected static WTKeyedMap navigate(WTCollection objects, Relationship relationship, QuerySpec querySpec, boolean onlyOtherSide) throws WTException
WTException
protected static QueryResult navigate(Persistable object, Relationship relationship, QuerySpec querySpec, boolean onlyOtherSide) throws WTException
WTException
protected static WTKeyedMap navigate(WTCollection objects, Relationship relationship, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException
WTException
protected static Object navigate(WTCollection objects, Relationship relationship, QuerySpec querySpec, NavigateResultProcessor processor, boolean bypassAccessControl) throws WTException
WTException
protected static QueryResult navigate(EPMNavigateUtility.IdSet objectIdSet, Relationship assocation, QuerySpec querySpec, boolean returnLinks, boolean returnOtherSide) throws WTException
WTException
protected static QueryResult navigate(EPMNavigateUtility.IdSet objectIdSet, Relationship assocation, QuerySpec querySpec, boolean returnLinks, boolean returnOtherSide, boolean bypassAccessControl) throws WTException
WTException
protected static QueryResult navigateMasterToIteration(EPMNavigateUtility.IdSet objectIdSet, Relationship relationship, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException
WTException
protected static QueryResult navigateToIteration(EPMNavigateUtility.IdSet objectIdSet, Relationship relationship, QuerySpec querySpec, boolean onlyOtherSide, ConfigSpec configSpec) throws WTException
WTException
protected static EPMNavigateUtility.IdSet getId(Persistable object)
protected static EPMNavigateUtility.IdSet getIds(QueryResult objects)
protected static EPMNavigateUtility.IdSet getBranchIds(QueryResult objects) throws WTException
WTException
private static QueryResult navigateIterationToMaster(EPMNavigateUtility.IdSet objectIdSet, Relationship relationship, QuerySpec querySpec) throws WTException
WTException
private static QueryResult findIterationsOf(EPMNavigateUtility.IdSet masterIdSet, Class iteratedClass, ConfigSpec configSpec) throws WTException
WTException
private static QueryResult mergeResults(QueryResult objects, Relationship.Role role, QueryResult links)
private static QueryResult filterIterations(QueryResult iterations, Relationship.Role role, QueryResult links)
private static QueryResult recoverMissingMasters(EPMNavigateUtility.IdSet masterIdSet, QueryResult iterations) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |