wt.epm.clients.relateditems
Class FamilyTableFinder
java.lang.Object
wt.epm.clients.relateditems.FamilyTableFinder
- class FamilyTableFinder
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
options
private FamilyTableOptions options
familyTablesInProject
private WTSet familyTablesInProject
FamilyTableFinder
public FamilyTableFinder(FamilyTableOptions options)
findFamilyTables
public WTValuedMap findFamilyTables(Collection documents)
throws WTException
- Throws:
WTException
findFamilyMembers
public WTKeyedMap findFamilyMembers(WTCollection familyTables)
throws WTException
- For each family table in the given collection, find all of its members.
- Parameters:
familyTables
- - collection of family tables whose members to find
- Returns:
- WTKeyedMap whose keys are object identifers of the family tables and whose values are WTSets of their members
- Throws:
WTException
selectFamilyTable
private EPMSepFamilyTable selectFamilyTable(WTCollection familyTables,
boolean excludeCheckedOut)
throws WTException
- Throws:
WTException
findFamilyTables
private WTSet findFamilyTables(WTContainerRef projectRef)
throws WTException
- Throws:
WTException
sharedToProject
private SubSelectExpression sharedToProject(WTContainerRef projectRef)
throws WTException
- Throws:
WTException
getProjectFromConfigSpec
private WTContainerRef getProjectFromConfigSpec(EPMDocConfigSpec configSpec)
isLater
private boolean isLater(Persistable objectA,
Persistable objectB)
getDatabaseId
private long getDatabaseId(Persistable object)
initFamilyTablesInProject
private void initFamilyTablesInProject()
throws WTException
- Throws:
WTException
getProject
private WTContainer getProject()