|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.epm.clients.relateditems.RelatedItemsProcessor.ObjectGroup
ObjectGroup is a collection of objects that share a common lineage. The lineage describes how the objects in the group are related to (or derived from) a selected object.
Field Summary | |
private String |
lineage
|
private List |
objects
|
Constructor Summary | |
protected |
RelatedItemsProcessor.ObjectGroup(List objects,
RelatedItemsSelector.IncludeType includeType)
Constructs an ObjectGroup. |
protected |
RelatedItemsProcessor.ObjectGroup(List objects,
RelatedItemsSelector.IncludeType includeType,
String lineage)
Constructs an ObjectGroup. |
private |
RelatedItemsProcessor.ObjectGroup(List objects,
String lineage)
|
Method Summary | |
static List |
filter(Collection groups,
EPMFilter filter)
Filters each group on the given list. |
RelatedItemsProcessor.ObjectGroup |
filter(EPMFilter filter)
Filters the list of objects that belong to this group and returns a new ObjectGroup that holds the filtered list of objects. |
static List |
getAllObjects(Collection groups)
Returns all of the objects from all of the groups in the given list. |
private static QueryKey |
getKey(Persistable object)
|
String |
getLineage()
|
Collection |
getObjects()
|
private static Map |
indexByMaster(Collection groups)
|
boolean |
isEmpty()
|
static void |
reconcile(Collection firstGroups,
Collection secondGroups)
Reconciles the differences between the two sets of groups. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private List objects
private String lineage
Constructor Detail |
protected RelatedItemsProcessor.ObjectGroup(List objects, RelatedItemsSelector.IncludeType includeType)
protected RelatedItemsProcessor.ObjectGroup(List objects, RelatedItemsSelector.IncludeType includeType, String lineage)
private RelatedItemsProcessor.ObjectGroup(List objects, String lineage)
Method Detail |
public Collection getObjects()
public String getLineage()
public boolean isEmpty()
public RelatedItemsProcessor.ObjectGroup filter(EPMFilter filter) throws WTException
WTException
public static List filter(Collection groups, EPMFilter filter) throws WTException
WTException
public static void reconcile(Collection firstGroups, Collection secondGroups)
public static List getAllObjects(Collection groups)
private static Map indexByMaster(Collection groups)
private static QueryKey getKey(Persistable object)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |