com.esri.arcgis.geodatabase
Class IPlugInFileOperationsClassProxy

java.lang.Object
  extended by com.esri.arcgis.interop.Dispatch
      extended by com.esri.arcgis.geodatabase.IPlugInFileOperationsClassProxy
All Implemented Interfaces:
IPlugInFileOperationsClass, Externalizable, Serializable

public class IPlugInFileOperationsClassProxy
extends com.esri.arcgis.interop.Dispatch
implements IPlugInFileOperationsClass, Serializable

Provides access to members for copying, deleting and renaming classes in a dataset helper.

Description

A plug-in dataset helper can implement IPlugInFileOperationsClass to support copy, rename and delete for feature classes within a feature dataset.

Remarks

If your implementation does not support one of Copy, Rename or Delete, be sure to return E_NOTIMPL from the method, as the ArcGIS framework does not guarantee calling CanCopy, CanRename or CanDelete before these methods.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also:
Serialized Form

Field Summary
 boolean noncastable
           
 
Fields inherited from class com.esri.arcgis.interop.Dispatch
DISPATCH_METHOD, DISPATCH_PROPERTYGET, DISPATCH_PROPERTYPUT, DISPATCH_PROPERTYPUTREF, objRef
 
Constructor Summary
  IPlugInFileOperationsClassProxy()
           
  IPlugInFileOperationsClassProxy(Object obj)
           
protected IPlugInFileOperationsClassProxy(Object obj, String iid)
           
 
Method Summary
 void addListener(String iidStr, Object theListener, Object theSource)
           
 boolean canCopy(int classIndex)
          True if this dataset can be copied.
 boolean canDelete(int classIndex)
          True if this dataset can be deleted.
 boolean canRename(int classIndex)
          True if this dataset can be renamed.
 void copy(int classIndex, String copyName, IWorkspace copyWorkspace)
          Copies this dataset to a new dataset with the specified name.
 void delete(int classIndex)
          Deletes this dataset.
 void removeListener(String iidStr, Object theListener)
           
 String rename(int classIndex, String name)
          Renames this dataset.
 
Methods inherited from class com.esri.arcgis.interop.Dispatch
bindUsingMoniker, constructVtblPosTable, convertToNative, cookieForListener, createDispatch, createObjrefMonikerDisplayName, equals, getActiveObject, getActiveObject, getDefaultProperty, getDispatchIdOfName, getLastErrorCode, getMtsObjectContext, getObjRef, getPropertyByName, getPropertyByName, getVtblPos, hashCode, initDispatch, invoke, invokeMethodByName, invokeMethodByName, invokeMethodByName, invokePropertyGetByName, invokePropertyPutByName, invokePropertyPutByRefByName, isNativeMode, isObjRef, optimizedVtblInvoke, queryInterface, readExternal, release, setNativeMode, setPropertyByName, toString, vtblInvoke, writeExternal
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

noncastable

public boolean noncastable
Constructor Detail

IPlugInFileOperationsClassProxy

public IPlugInFileOperationsClassProxy()

IPlugInFileOperationsClassProxy

public IPlugInFileOperationsClassProxy(Object obj)
                                throws IOException
Throws:
IOException

IPlugInFileOperationsClassProxy

protected IPlugInFileOperationsClassProxy(Object obj,
                                          String iid)
                                   throws IOException
Throws:
IOException
Method Detail

addListener

public void addListener(String iidStr,
                        Object theListener,
                        Object theSource)
                 throws IOException
Overrides:
addListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

removeListener

public void removeListener(String iidStr,
                           Object theListener)
                    throws IOException
Overrides:
removeListener in class com.esri.arcgis.interop.Dispatch
Throws:
IOException

canCopy

public boolean canCopy(int classIndex)
                throws IOException,
                       AutomationException
True if this dataset can be copied.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
canCopy in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
Returns:
The canCopy
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

copy

public void copy(int classIndex,
                 String copyName,
                 IWorkspace copyWorkspace)
          throws IOException,
                 AutomationException
Copies this dataset to a new dataset with the specified name.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
copy in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
copyName - The copyName (in)
copyWorkspace - A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canDelete

public boolean canDelete(int classIndex)
                  throws IOException,
                         AutomationException
True if this dataset can be deleted.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
canDelete in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
Returns:
The canDelete
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

delete

public void delete(int classIndex)
            throws IOException,
                   AutomationException
Deletes this dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
delete in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

canRename

public boolean canRename(int classIndex)
                  throws IOException,
                         AutomationException
True if this dataset can be renamed.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
canRename in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
Returns:
The canRename
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

rename

public String rename(int classIndex,
                     String name)
              throws IOException,
                     AutomationException
Renames this dataset.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Supported Platforms

Windows, Solaris, Linux

Specified by:
rename in interface IPlugInFileOperationsClass
Parameters:
classIndex - The classIndex (in)
name - The name (in)
Returns:
The newName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.