|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.arcgis.interop.Dispatch com.esri.arcgis.geodatabase.IPlugInFileOperationsClassProxy
public class IPlugInFileOperationsClassProxy
Provides access to members for copying, deleting and renaming classes in a dataset helper.
A plug-in dataset helper can implement IPlugInFileOperationsClass to support copy, rename and delete for feature classes within a feature dataset.
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.
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 |
---|
public boolean noncastable
Constructor Detail |
---|
public IPlugInFileOperationsClassProxy()
public IPlugInFileOperationsClassProxy(Object obj) throws IOException
IOException
protected IPlugInFileOperationsClassProxy(Object obj, String iid) throws IOException
IOException
Method Detail |
---|
public void addListener(String iidStr, Object theListener, Object theSource) throws IOException
addListener
in class com.esri.arcgis.interop.Dispatch
IOException
public void removeListener(String iidStr, Object theListener) throws IOException
removeListener
in class com.esri.arcgis.interop.Dispatch
IOException
public boolean canCopy(int classIndex) throws IOException, AutomationException
canCopy
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void copy(int classIndex, String copyName, IWorkspace copyWorkspace) throws IOException, AutomationException
copy
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)copyName
- The copyName (in)copyWorkspace
- A reference to a com.esri.arcgis.geodatabase.IWorkspace (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canDelete(int classIndex) throws IOException, AutomationException
canDelete
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public void delete(int classIndex) throws IOException, AutomationException
delete
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public boolean canRename(int classIndex) throws IOException, AutomationException
canRename
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.public String rename(int classIndex, String name) throws IOException, AutomationException
rename
in interface IPlugInFileOperationsClass
classIndex
- The classIndex (in)name
- The name (in)
IOException
- If there are interop problems.
AutomationException
- If the ArcObject component throws an exception.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |