Package com.emc.d2fs.interfaces
Interface IDestroyService
- All Superinterfaces:
ID2fsService
Document deletion services.
-
Method Summary
Modifier and TypeMethodDescriptionDestroy document from docbaseDestroy multiple documents from docbasebooleanisDialogRequired(Context context, String id) Check if dialog is required for display before deletionMethods inherited from interface com.emc.d2fs.interfaces.ID2fsService
isRemote, setRemote
-
Method Details
-
destroy
Destroy document from docbase- Parameters:
context-Contextobject containing informations about client/sessionid- String value of document idattributes-AttributeList of attributes.- version: DF_INTEGER - Identify version to delete. Version number, IDfDeleteOperation {0==SELECTED_VERSIONS, 2==ALL_VERSIONS}, {3==UNLINK_SYSOBJECT} OR {4==FORDERS_ONLY, 5==DEEP_FOLDERS}
- virtualDescendants: DF_BOOLEAN - Control deep virtual document deletion.
- parentId: DF_STRING -Id of parent to unlink
- Returns:
- empty string if process performs without error
- Throws:
Exception- Since:
- 4.0.1
-
destroyAll
Destroyresult destroyAll(Context context, List<String> ids, List<Attribute> attributes) throws Exception Destroy multiple documents from docbase- Parameters:
context-Contextobject containing informations about client/sessionids- String list of document idsattributes- attributesAttributelist of parameters
Seedestroy(com.emc.d2fs.models.context.Context, java.lang.String, java.util.List<com.emc.d2fs.models.attribute.Attribute>)for attribute definitions- Returns:
- empty string if process performs without error
- Throws:
Exception- Since:
- 4.0.1
-
isDialogRequired
Check if dialog is required for display before deletion
-