Class AbstractServerOperationCommand
java.lang.Object
com.levigo.jadice.web.client.util.command.InjectedCommand
com.levigo.jadice.web.client.commands.AbstractContextCommand
com.levigo.jadice.web.client.commands.AbstractPageViewCommand
com.levigo.jadice.web.client.commands.AbstractMouseCommand
com.levigo.jadice.web.client.commands.AbstractDocumentCommand
com.levigo.jadice.web.client.commands.AbstractServerOperationCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
ExportCommand
,SaveAnnotationsCommand
Common super-class for commands on the client side that call a ServerOperation.
Provides built-in support for FilteredDocuments and simplified ServerOperation invocation.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.levigo.jadice.web.client.commands.AbstractDocumentCommand
AbstractDocumentCommand.Scope
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
Checks if this command can be executed.protected Document
protected <P extends ServerOperationParameters<M>,
M extends ServerOperationMessage>
ServerOperationService.ServerOperationInvocationprotected <P extends ServerOperationParameters<M>,
M extends ServerOperationMessage>
ServerOperationService.ServerOperationInvocationMethods inherited from class com.levigo.jadice.web.client.commands.AbstractDocumentCommand
getID, getRenderControls, getScope, setScope
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractMouseCommand
clearInjections, isDoubleClicked, setMouseEvent
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractPageViewCommand
getPageView, setPageView
Methods inherited from class com.levigo.jadice.web.client.commands.AbstractContextCommand
getContext, propagateContextChange, setContext
Methods inherited from class com.levigo.jadice.web.client.util.command.InjectedCommand
canExecute, execute, execute, getKey, isSelected, isSelected, setKey
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.levigo.jadice.web.client.util.command.Command
isAvailable, isAvailable
-
Constructor Details
-
AbstractServerOperationCommand
public AbstractServerOperationCommand()
-
-
Method Details
-
canExecute
protected boolean canExecute()Description copied from class:AbstractDocumentCommand
Checks if this command can be executed.- Overrides:
canExecute
in classAbstractDocumentCommand
- Returns:
- true, if
InjectedCommand.execute(java.util.Collection<java.lang.Object>)
can be called, false else
-
getDocument
- Overrides:
getDocument
in classAbstractDocumentCommand
- Returns:
- the
Document
of thePageView
-