@API(type=INTERNAL,
     src=PUBLIC)
public class InsertTableOperation
extends java.lang.Object
implements AuthorOperation, InsertTableOperationBase, InsertTableCellsContentConstants
| Modifier and Type | Field and Description | 
|---|---|
protected java.lang.String | 
cellContent
The fragment that must be introduced in the table cells 
 | 
NAMESPACE_ARGUMENT, NAMESPACE_ARGUMENT_DESCRIPTOR, SCHEMA_AWARE_ARGUMENT, SCHEMA_AWARE_ARGUMENT_DESCRIPTORCELL_FRAGMENT_ARGUMENT, CELL_FRAGMENT_ARGUMENT_IN_ARRAY, CELL_FRAGMENT_ARGUMENT_NAME| Constructor and Description | 
|---|
InsertTableOperation()  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
doOperation(AuthorAccess authorAccess,
           ArgumentsMap args)
Perform the actual operation. 
 | 
ArgumentDescriptor[] | 
getArguments()
No arguments. 
 | 
java.lang.String | 
getDescription()  | 
void | 
insertTable(AuthorDocumentFragment[] fragments,
           boolean cellsFragments,
           AuthorAccess authorAccess,
           java.lang.String namespace,
           AuthorTableHelper tableHelper)
If the fragments array is not null, this method converts the given fragments array into a table. 
 | 
protected java.lang.String cellContent
public void doOperation(AuthorAccess authorAccess, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
AuthorOperationWorkspace.isStandalone().
 To get to the Workspace you may use: AuthorAccess.getWorkspaceAccess().doOperation in interface AuthorOperationauthorAccess - 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.java.lang.IllegalArgumentException - Thrown when one or more arguments are illegal.AuthorOperationException - Thrown when the operation fails.AuthorOperation.doOperation(ro.sync.ecss.extensions.api.AuthorAccess, ro.sync.ecss.extensions.api.ArgumentsMap)public ArgumentDescriptor[] getArguments()
getArguments in interface AuthorOperationArgumentDescriptor representing 
 the arguments this operation uses.AuthorOperation.getArguments()public java.lang.String getDescription()
getDescription in interface ExtensionExtension.getDescription()public void insertTable(AuthorDocumentFragment[] fragments, boolean cellsFragments, AuthorAccess authorAccess, java.lang.String namespace, AuthorTableHelper tableHelper) throws AuthorOperationException
InsertTableOperationBaseinsertTable in interface InsertTableOperationBasefragments - An array of AuthorDocumentFragments that are used as content of the inserted cells.cellsFragments - If the value is true then the fragments 
 where originally cells.authorAccess - The author access.namespace - The namespace.tableHelper - The table helper.AuthorOperationExceptionInsertTableOperationBase.insertTable(ro.sync.ecss.extensions.api.node.AuthorDocumentFragment[], boolean, ro.sync.ecss.extensions.api.AuthorAccess, java.lang.String, ro.sync.ecss.extensions.commons.table.operations.AuthorTableHelper)© Copyright SyncRO Soft SRL 2002 - 2014. All rights reserved.