wt.epm.familytable
Class EPMNewIterationDataContainer.icOperationAdapter

java.lang.Object
  extended bywt.epm.familytable.EPMNewIterationDataContainer.icOperationAdapter
Direct Known Subclasses:
EPMNewIterationDataContainer.icCheckoutOperationAdapter, EPMNewIterationDataContainer.icDefaultOperationAdapter
Enclosing class:
EPMNewIterationDataContainer

public abstract class EPMNewIterationDataContainer.icOperationAdapter
extends Object


Field Summary
protected  EPMNonoverridableConflicts m_conflicts
           
 
Constructor Summary
EPMNewIterationDataContainer.icOperationAdapter()
           
 
Method Summary
protected  boolean conflictCheck(Collection orphanDocIds)
          This method must be called after all family tables have been already added.
protected abstract  Map copyFamilyTable(Collection fts, Map originalIdToTargetDoc, WTCollection toMakeStandalone)
           
protected  Map copyFamilyTable(Collection fts, Map originalIdToTargetDoc, WTValuedMap latestNonLatestMap)
           
 EPMNonoverridableConflicts getConflicts()
           
abstract  int getMode()
           
protected  void initialFamilyTablesRegistry(Collection orphanDocIds)
           
 boolean isFamilyTableConflicts()
           
abstract  void registerMoreFamilyTables(Collection orphanDocIds, boolean checkExisting)
           
 void setTargetDocument(EPMDocument original, EPMDocument target)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_conflicts

protected EPMNonoverridableConflicts m_conflicts
Constructor Detail

EPMNewIterationDataContainer.icOperationAdapter

public EPMNewIterationDataContainer.icOperationAdapter()
Method Detail

getMode

public abstract int getMode()

registerMoreFamilyTables

public abstract void registerMoreFamilyTables(Collection orphanDocIds,
                                              boolean checkExisting)
                                       throws WTException
Throws:
WTException

copyFamilyTable

protected abstract Map copyFamilyTable(Collection fts,
                                       Map originalIdToTargetDoc,
                                       WTCollection toMakeStandalone)
                                throws WTException
Throws:
WTException

copyFamilyTable

protected Map copyFamilyTable(Collection fts,
                              Map originalIdToTargetDoc,
                              WTValuedMap latestNonLatestMap)
                       throws WTException
Throws:
WTException

isFamilyTableConflicts

public boolean isFamilyTableConflicts()
                               throws WTException
Throws:
WTException

getConflicts

public EPMNonoverridableConflicts getConflicts()

conflictCheck

protected final boolean conflictCheck(Collection orphanDocIds)
                               throws WTException
This method must be called after all family tables have been already added. It checks if some of documents do not have FamilyTable in this object but have some other FamilyTable (it must be impossible)

Parameters:
orphanDocIds - Collection
Returns:
boolean
Throws:
WTException

setTargetDocument

public void setTargetDocument(EPMDocument original,
                              EPMDocument target)
                       throws WTException
Throws:
WTException

initialFamilyTablesRegistry

protected void initialFamilyTablesRegistry(Collection orphanDocIds)
                                    throws WTException
Throws:
WTException