wt.epm.familytable
Class EPMFamilyCopyForwardHelper
java.lang.Object
wt.epm.familytable.EPMFamilyCopyForwardHelper
- public class EPMFamilyCopyForwardHelper
- extends Object
EPMFamilyCopyForwardHelper
Supported API: false
Extendable: false
Method Summary |
static void |
copyContainedInLinksAndCells(WTValuedHashMap copyLinkMap,
Map oldIdToNewColumns)
|
static Map |
copyFamilyTable(Collection oldFamilyTables,
Map originalIdToTargetMap,
Boolean checkedOut)
|
static Map |
copyFamilyTable(Collection oldFamilyTables,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone,
Boolean checkedOut)
|
static EPMSepFamilyTable |
copyFamilyTable(EPMSepFamilyTable oldFamilyTable,
Map originalIdToTargetMap,
Boolean checkedOut)
|
private static Map |
copyFamilyTableColumns(WTValuedMap oldToNewFTMap)
|
private static void |
copyFamilyTableContents(WTValuedMap oldToNewFTMap,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone)
|
private static void |
copyFamilyTableLinksAndCells(WTValuedMap oldToNewFTMap,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone,
Map oldIdToNewColumns)
|
static void |
copyForwardVariantLinks(WTValuedHashMap predecessorsToNewDocMap)
|
static EPMFamilyTable |
getLatestFamilyTable(Collection familyTables)
Returns "latest" family table object for a given family table collection |
private static long |
getObjectIdAsLong(Persistable object)
|
private static long |
getObjectMasterIdAsLong(Iterated object)
|
private static Persistable |
id2Persistable(long id,
Map persistables)
|
private static Persistable |
id2Persistable(Object id,
Map persistables)
|
static boolean |
isGeneric(int memberStatus)
|
static boolean |
isGeneric(Object memberStatus)
|
static boolean |
isInstance(int memberStatus)
|
static boolean |
isInstance(Object memberStatus)
|
static boolean |
isTopGeneric(int memberStatus)
|
static boolean |
isTopGeneric(Object memberStatus)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPMFamilyCopyForwardHelper
public EPMFamilyCopyForwardHelper()
getLatestFamilyTable
public static EPMFamilyTable getLatestFamilyTable(Collection familyTables)
throws WTException
- Returns "latest" family table object for a given family table collection
- Parameters:
familyTables
- family table object collection
- Returns:
- "latest" family table object
- Throws:
WTException
getObjectIdAsLong
private static long getObjectIdAsLong(Persistable object)
getObjectMasterIdAsLong
private static long getObjectMasterIdAsLong(Iterated object)
id2Persistable
private static Persistable id2Persistable(Object id,
Map persistables)
id2Persistable
private static Persistable id2Persistable(long id,
Map persistables)
isTopGeneric
public static boolean isTopGeneric(int memberStatus)
isTopGeneric
public static boolean isTopGeneric(Object memberStatus)
isGeneric
public static boolean isGeneric(int memberStatus)
isGeneric
public static boolean isGeneric(Object memberStatus)
isInstance
public static boolean isInstance(int memberStatus)
isInstance
public static boolean isInstance(Object memberStatus)
copyFamilyTable
public static Map copyFamilyTable(Collection oldFamilyTables,
Map originalIdToTargetMap,
Boolean checkedOut)
throws WTException
- Throws:
WTException
copyFamilyTable
public static Map copyFamilyTable(Collection oldFamilyTables,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone,
Boolean checkedOut)
throws WTException
- Throws:
WTException
copyFamilyTable
public static EPMSepFamilyTable copyFamilyTable(EPMSepFamilyTable oldFamilyTable,
Map originalIdToTargetMap,
Boolean checkedOut)
throws WTException
- Throws:
WTException
copyFamilyTableContents
private static void copyFamilyTableContents(WTValuedMap oldToNewFTMap,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
copyFamilyTableColumns
private static Map copyFamilyTableColumns(WTValuedMap oldToNewFTMap)
throws WTException,
WTPropertyVetoException
- Throws:
WTException
WTPropertyVetoException
copyFamilyTableLinksAndCells
private static void copyFamilyTableLinksAndCells(WTValuedMap oldToNewFTMap,
Map originalIdToTargetMap,
WTCollection originalsToMakeStandalone,
Map oldIdToNewColumns)
throws WTException
- Throws:
WTException
copyContainedInLinksAndCells
public static void copyContainedInLinksAndCells(WTValuedHashMap copyLinkMap,
Map oldIdToNewColumns)
throws WTException
- Throws:
WTException
copyForwardVariantLinks
public static void copyForwardVariantLinks(WTValuedHashMap predecessorsToNewDocMap)
throws WTException
- Throws:
WTException