|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.geodatabasedistributed.CheckOut
public class CheckOut
Checks out data from a master geodatabase to a check-out geodatabase.
Use the CheckOut coclass when you wish to check out data or schema from an ArcSDE master geodatabase to a check-out geodatabase. The check-out geodatabase can be either a personal geodatabase or an ArcSDE geodatabase. It uses the same mechanism to transfer data as the DataExtraction coclass.
Once a check-out is created, information about the check-out is stored in both the master and check-out geodatabases. See the IWorkspaceReplicas interface for more on getting information about existing check-outs.
ICheckIn.checkInFromGDB(com.esri.arcgis.geodatabase.IWorkspaceName, String, com.esri.arcgis.geodatabase.IWorkspaceName, boolean, boolean)
,
ICheckIn
,
CheckIn
,
Serialized FormConstructor Summary | |
---|---|
CheckOut()
Constructs a CheckOut using ArcGIS Engine. |
|
CheckOut(Object obj)
Deprecated. As of ArcGIS 9.2, replaced by normal Java casts. CheckOut theCheckOut = (CheckOut) obj; |
Method Summary | |
---|---|
void |
addIFeatureProgressListener(IFeatureProgress theListener)
addIFeatureProgressListener. |
void |
addIReplicaProgressListener(IReplicaProgress theListener)
addIReplicaProgressListener. |
void |
checkOutData(IReplicaDescription rDDescriptions,
boolean transferRelObjects,
String checkoutName)
Checks out schema and data from a master geodatabase. |
void |
checkOutSchema(IReplicaDescription rDDescription,
String checkoutName)
Checks out only the schema of the selected datasets from a master geodatabase. |
boolean |
equals(Object o)
Compare this object with another |
static String |
getClsid()
getClsid. |
int |
hashCode()
the hashcode for this object |
void |
removeIFeatureProgressListener(IFeatureProgress theListener)
removeIFeatureProgressListener. |
void |
removeIReplicaProgressListener(IReplicaProgress theListener)
removeIReplicaProgressListener. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.esri.arcgis.interop.RemoteObjRef |
---|
getJintegraDispatch, release |
Constructor Detail |
---|
public CheckOut() throws IOException, UnknownHostException
IOException
- if there are interop problems
UnknownHostException
- if there are interop problemspublic CheckOut(Object obj) throws IOException
CheckOut theCheckOut = (CheckOut) obj;
obj
to CheckOut
.
obj
- an object returned from ArcGIS Engine or Server
IOException
- if there are interop problemsMethod Detail |
---|
public static String getClsid()
public boolean equals(Object o)
equals
in class Object
public int hashCode()
hashCode
in class Object
public void addIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void removeIFeatureProgressListener(IFeatureProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabase.IFeatureProgress interface.
IOException
- If there are communications problems.public void addIReplicaProgressListener(IReplicaProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
IOException
- If there are communications problems.public void removeIReplicaProgressListener(IReplicaProgress theListener) throws IOException
theListener
- An object that implements the com.esri.arcgis.geodatabasedistributed.IReplicaProgress interface.
IOException
- If there are communications problems.public void checkOutData(IReplicaDescription rDDescriptions, boolean transferRelObjects, String checkoutName) throws IOException, AutomationException
The CheckoutData method checks out schema and Data.
In order to perform a check-out, you need to set the rDDescriptions parameter to define the data to check out. See the ReplicaDescription coclass for more information. The CheckoutName is a string that uniquely identifies the checkout on the parent replica geodatabase (master geodatabase) and the check-out databases.
If you set transferRelatedObjects to TRUE, related features/rows from other feature classes/tables will also be checked out. Otherwise, they are not checked out. Note that the schema of the related objects is always included regardless of whether transferRelatedObjects is TRUE or FALSE.
checkOutData
in interface ICheckOut
rDDescriptions
- A reference to a com.esri.arcgis.geodatabase.IReplicaDescription (in)transferRelObjects
- The transferRelObjects (in)checkoutName
- The checkoutName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICheckIn.checkInFromGDB(com.esri.arcgis.geodatabase.IWorkspaceName, String, com.esri.arcgis.geodatabase.IWorkspaceName, boolean, boolean)
,
ICheckIn
,
CheckIn
public void checkOutSchema(IReplicaDescription rDDescription, String checkoutName) throws IOException, AutomationException
The CheckOutSchema method checks out only the schema.
In order to perform a check-out, you need to set the rDDescriptions parameter to define the data to check out. See the ReplicaDescription coclass for more information. The CheckoutName is a string that uniquely identifies the checkout on the parent replica (master geodatabase) and the check-out databases.
The CheckoutSchema method checks out the schema of each dataset without any features or rows. This type of check-out is useful for cases where data is being collected for new projects and needs to be added to the existing database.
checkOutSchema
in interface ICheckOut
rDDescription
- A reference to a com.esri.arcgis.geodatabase.IReplicaDescription (in)checkoutName
- The checkoutName (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.ICheckOut
,
IReplicaValidation
,
ICheckOut.checkOutData(com.esri.arcgis.geodatabase.IReplicaDescription, boolean, String)
,
CheckOut
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |