@API(type=EXTENDABLE, src=PUBLIC) public interface AuthorOperation extends Extension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
NAMESPACE_ARGUMENT
Represents the namespace argument.
|
static ArgumentDescriptor |
NAMESPACE_ARGUMENT_DESCRIPTOR
The
namespace argument descriptor. |
static java.lang.String |
SCHEMA_AWARE_ARGUMENT
Controls if the operation is schema aware.
|
static ArgumentDescriptor |
SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
The
schema aware argument descriptor. |
Modifier and Type | Method and Description |
---|---|
void |
doOperation(AuthorAccess authorAccess,
ArgumentsMap args)
Perform the actual operation.
|
ArgumentDescriptor[] |
getArguments() |
getDescription
static final java.lang.String NAMESPACE_ARGUMENT
'namespace'
.static final ArgumentDescriptor NAMESPACE_ARGUMENT_DESCRIPTOR
namespace
argument descriptor.static final java.lang.String SCHEMA_AWARE_ARGUMENT
static final ArgumentDescriptor SCHEMA_AWARE_ARGUMENT_DESCRIPTOR
schema aware
argument descriptor.void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
Workspace.getPlatform()
.
To get to the Workspace
you may use: AuthorAccess.getWorkspaceAccess()
.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
getArguments()
must be present in the map of arguments.java.lang.IllegalArgumentException
- Thrown when one or more arguments are illegal.AuthorOperationException
- Thrown when the operation fails.ArgumentDescriptor[] getArguments()
ArgumentDescriptor
representing
the arguments this operation uses.© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.