|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IPlugInFileOperationsClass
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.
| Method Summary | |
|---|---|
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. |
String |
rename(int classIndex,
String name)
Renames this dataset. |
| Method Detail |
|---|
boolean canCopy(int classIndex)
throws IOException,
AutomationException
classIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void copy(int classIndex,
String copyName,
IWorkspace copyWorkspace)
throws IOException,
AutomationException
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.
boolean canDelete(int classIndex)
throws IOException,
AutomationException
classIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
void delete(int classIndex)
throws IOException,
AutomationException
classIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
boolean canRename(int classIndex)
throws IOException,
AutomationException
classIndex - The classIndex (in)
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.
String rename(int classIndex,
String name)
throws IOException,
AutomationException
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 | ||||||||