|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geoprocessing.AbstractGPTool com.esri.arcgis.geoprocessing.tools.datamanagementtools.SynchronizeChanges
public class SynchronizeChanges
Synchronizes updates between two replica geodatabases in a direction specified by the user. The Synchronize Changes tool is contained in the Data Management Tools tool box.
Field Summary |
---|
Fields inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
vals |
Constructor Summary | |
---|---|
SynchronizeChanges()
Creates the Synchronize Changes tool with defaults. |
|
SynchronizeChanges(Object geodatabase1,
String inReplica,
Object geodatabase2,
String inDirection,
String conflictPolicy,
String conflictDefinition,
String reconcile)
Creates the Synchronize Changes tool with the required parameters. |
Method Summary | |
---|---|
String |
getConflictDefinition()
Returns the Conflict Definition parameter of this tool . |
String |
getConflictPolicy()
Returns the Conflict Resolution Policy parameter of this tool . |
Object |
getGeodatabase1()
Returns the Geodatabase 1 parameter of this tool . |
Object |
getGeodatabase2()
Returns the Geodatabase 2 parameter of this tool . |
String |
getInDirection()
Returns the Direction parameter of this tool . |
String |
getInReplica()
Returns the Replica parameter of this tool . |
Object |
getOutGeodatabase1()
Returns the Output Geodatabase 1 parameter of this tool (Read only). |
Object |
getOutGeodatabase2()
Returns the Output Geodatabase 2 parameter of this tool (Read only). |
String |
getReconcile()
Returns the Reconcile with the Parent Version (Single Generation only) parameter of this tool . |
String |
getToolboxAlias()
Returns the alias of the tool box containing this tool. |
String |
getToolboxName()
Returns the name of the tool box containing this tool. |
String |
getToolName()
Returns the name of this tool. |
void |
setConflictDefinition(String conflictDefinition)
Sets the Conflict Definition parameter of this tool . |
void |
setConflictPolicy(String conflictPolicy)
Sets the Conflict Resolution Policy parameter of this tool . |
void |
setGeodatabase1(Object geodatabase1)
Sets the Geodatabase 1 parameter of this tool . |
void |
setGeodatabase2(Object geodatabase2)
Sets the Geodatabase 2 parameter of this tool . |
void |
setInDirection(String inDirection)
Sets the Direction parameter of this tool . |
void |
setInReplica(String inReplica)
Sets the Replica parameter of this tool . |
void |
setReconcile(String reconcile)
Sets the Reconcile with the Parent Version (Single Generation only) parameter of this tool . |
Methods inherited from class com.esri.arcgis.geoprocessing.AbstractGPTool |
---|
getParameterValues, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SynchronizeChanges()
Initializes the array of tool parameters with the default values specified when the tool was created.
public SynchronizeChanges(Object geodatabase1, String inReplica, Object geodatabase2, String inDirection, String conflictPolicy, String conflictDefinition, String reconcile)
Initializes the array of tool parameters with the values as specified for the required parameters and with the default values for the other parameters.
geodatabase1
- the geodatabase hosting the replica to synchronize. The geodatabase may be local or remote.inReplica
- a valid replica with a parent contained within one input geodatabase and a child in the other input geodatabase.geodatabase2
- the geodatabase hosting the relative replica. The geodatabase may be local or remote.inDirection
- the direction in which you want changes to be sent: from geodatabase 1 to geodatabase 2, from geodatabase 2 to geodatabase 1, or to send changes in both directions. For check-out/check-in replicas or one-way replicas there is only one appropriate direction. If the replica is two-way then any of the three choices are available.conflictPolicy
- specifies how conflicts are resolved when they are encountered.conflictDefinition
- specifies how you would like to define conflicts:reconcile
- indicates whether to automatically reconcile once data changes are sent to the parent replica if there are no conflicts present. This option is only available for check-out/check-in replicas.Method Detail |
---|
public Object getGeodatabase1()
public void setGeodatabase1(Object geodatabase1)
geodatabase1
- the geodatabase hosting the replica to synchronize. The geodatabase may be local or remote.public String getInReplica()
public void setInReplica(String inReplica)
inReplica
- a valid replica with a parent contained within one input geodatabase and a child in the other input geodatabase.public Object getGeodatabase2()
public void setGeodatabase2(Object geodatabase2)
geodatabase2
- the geodatabase hosting the relative replica. The geodatabase may be local or remote.public String getInDirection()
public void setInDirection(String inDirection)
inDirection
- the direction in which you want changes to be sent: from geodatabase 1 to geodatabase 2, from geodatabase 2 to geodatabase 1, or to send changes in both directions. For check-out/check-in replicas or one-way replicas there is only one appropriate direction. If the replica is two-way then any of the three choices are available.public String getConflictPolicy()
public void setConflictPolicy(String conflictPolicy)
conflictPolicy
- specifies how conflicts are resolved when they are encountered.public String getConflictDefinition()
public void setConflictDefinition(String conflictDefinition)
conflictDefinition
- specifies how you would like to define conflicts:public String getReconcile()
public void setReconcile(String reconcile)
reconcile
- indicates whether to automatically reconcile once data changes are sent to the parent replica if there are no conflicts present. This option is only available for check-out/check-in replicas.public Object getOutGeodatabase1()
public Object getOutGeodatabase2()
public String getToolName()
public String getToolboxName()
public String getToolboxAlias()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |