@API(type=INTERNAL, src=PUBLIC) public class DemoteTopicrefOperation extends java.lang.Object implements AuthorOperation
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ARGUMENT_RELATIVE_LOCATION
The insert position argument.
|
static java.lang.String |
ARGUMENT_SOURCE_LOCATION
An XPath expression that identifies the content to be demoted.
|
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
Constructor and Description |
---|
DemoteTopicrefOperation()
Constructs a new demote operations with a defined set of argument descriptors
|
Modifier and Type | Method and Description |
---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap args)
Executes the operation
|
ArgumentDescriptor[] |
getArguments()
Returns the arguments of this operatons
|
java.lang.String |
getDescription()
Returns the description of this operation
|
public static final java.lang.String ARGUMENT_SOURCE_LOCATION
public static final java.lang.String ARGUMENT_RELATIVE_LOCATION
public DemoteTopicrefOperation()
public java.lang.String getDescription()
getDescription
in interface Extension
Extension.getDescription()
public ArgumentDescriptor[] getArguments()
getArguments
in interface AuthorOperation
ArgumentDescriptor
representing
the arguments this operation uses.AuthorOperation.getArguments()
public void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws AuthorOperationException
doOperation
in interface AuthorOperation
authorAccess
- 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(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)
© Copyright Syncro Soft SRL 2002 - 2020. All rights reserved.