Class EditorSyncRoot<U extends AbstractUnit,P extends AbstractUnit>
java.lang.Object
com.wisecoders.dbs.dbms.sync.engine.nodes.SyncPair<U,P>
com.wisecoders.dbs.dbms.sync.engine.nodes.EditorSyncRoot<U,P>
- All Implemented Interfaces:
SyncDiff
-
Field Summary
FieldsFields inherited from class com.wisecoders.dbs.dbms.sync.engine.nodes.SyncPair
dependency, left, leftParent, mapping, parent, right, rightParent -
Constructor Summary
ConstructorsConstructorDescriptionEditorSyncRoot(P unitParent, U unit, U edited, boolean dropEditedUnit, SchemaMapping mapping) Use this in editors -
Method Summary
Modifier and TypeMethodDescriptionvoidimplementCommit(com.wisecoders.dbs.dbms.connect.model.envoy.Envoy envoy) voidvoidimplementMerge(com.wisecoders.dbs.diagram.fx.GenericLayoutPane layoutPane) voidsetIgnorable(boolean ignorable) Methods inherited from class com.wisecoders.dbs.dbms.sync.engine.nodes.SyncPair
actionWillDrop, canSkipInDisplayAndShowChildrenDiffs, commitIntoDatabase, filter, generateCommitScript, generateCommitScript, getAction, getChildrenPairs, getDiffCount, getDifferences, getMapping, getNodeDiff, getParent, getUnit, getUnit, hasDifferences, hasNodesWithAction, matches, mergeInto, mergeInto, removeChildrenWithAction, setAction, setAlwaysIncludeFks, synchronize, toSql, toString, toString
-
Field Details
-
dropEditedUnit
public final boolean dropEditedUnit
-
-
Constructor Details
-
EditorSyncRoot
public EditorSyncRoot(P unitParent, U unit, U edited, boolean dropEditedUnit, SchemaMapping mapping) Use this in editors- Parameters:
unitParent- of one of the unit or editedunit- in projectedited- is the target to getdropEditedUnit- if true the edited will be marked for deletionmapping- to map the model schema to a different schema in the database
-
-
Method Details
-
implementCommit
public void implementCommit(com.wisecoders.dbs.dbms.connect.model.envoy.Envoy envoy) throws Exception - Throws:
Exception
-
implementMerge
public void implementMerge() -
implementMerge
public void implementMerge(com.wisecoders.dbs.diagram.fx.GenericLayoutPane layoutPane) -
setIgnorable
public void setIgnorable(boolean ignorable)
-