@API(type=INTERNAL,
src=PUBLIC)
public class DeleteElementOperation
extends DeleteElementsOperation
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ARGUMENT_ELEMENT_XPATH_LOCATION
The XPath location that identifies the element.
|
ARGUMENT_ELEMENT_XPATH_LOCATIONS, argumentsNAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR| Constructor and Description |
|---|
DeleteElementOperation()
Constructor for the delete element operation.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap args)
Perform the actual operation.
|
ArgumentDescriptor[] |
getArguments() |
java.lang.String |
getDescription() |
public static final java.lang.String ARGUMENT_ELEMENT_XPATH_LOCATION
elementLocation.public DeleteElementOperation()
public void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws AuthorOperationException
AuthorOperationWorkspace.getPlatform().
To get to the Workspace you may use: AuthorAccess.getWorkspaceAccess().doOperation in interface AuthorOperationdoOperation in class DeleteElementsOperationauthorAccess - The author access.
Provides access to specific informations and actions for
editor, document, workspace, tables, change tracking, utility a.s.o.args - The map of arguments. All the arguments defined by method
AuthorOperation.getArguments() must be present in the map of arguments.AuthorOperationException - Thrown when the operation fails.AuthorOperation.doOperation(AuthorAccess, ArgumentsMap)public ArgumentDescriptor[] getArguments()
getArguments in interface AuthorOperationgetArguments in class DeleteElementsOperationArgumentDescriptor representing
the arguments this operation uses.AuthorOperation.getArguments()public java.lang.String getDescription()
getDescription in interface ExtensiongetDescription in class DeleteElementsOperationExtension.getDescription()© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.