Class AuthorOperationWithResult
- java.lang.Object
-
- ro.sync.ecss.extensions.api.webapp.AuthorOperationWithResult
-
- All Implemented Interfaces:
Extension
- Direct Known Subclasses:
TableMoveOrCopyColumnOperation
,TableMoveOrCopyRowsOperation
@API(type=EXTENDABLE, src=PUBLIC) public abstract class AuthorOperationWithResult extends java.lang.Object implements Extension
Operation that returns a result when invoked from the Web Author JS API.- Since:
- 18.1
-
-
Constructor Summary
Constructors Constructor Description AuthorOperationWithResult()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.lang.String
doOperation(AuthorDocumentModel model, ArgumentsMap args)
Performs the actual operation and return a result to be sent to the client-side code.java.lang.String
getDescription()
-
-
-
Method Detail
-
doOperation
public abstract java.lang.String doOperation(AuthorDocumentModel model, ArgumentsMap args) throws java.lang.IllegalArgumentException, AuthorOperationException
Performs the actual operation and return a result to be sent to the client-side code.- Parameters:
model
- The web author document model.args
- The map of arguments. The argument names are the names passed by the calling JS code.- Returns:
- The result of the operation that will be passed to the client-side code.
- Throws:
java.lang.IllegalArgumentException
- Thrown when one or more arguments are illegal.AuthorOperationException
- Thrown when the operation fails.
-
getDescription
public java.lang.String getDescription()
- Specified by:
getDescription
in interfaceExtension
- Returns:
- the description of this operation.
-
-