| java.lang.Object | |
| ↳ | com.atlassian.confluence.content.service.NotationHelpBookmarkCommand |
Stores a User's current section in notation help.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Execute the command.
| |||||||||||
Gets the list of errors that are preventing the command from being executed.
| |||||||||||
Determine if the current user is authorized to execute this command.
| |||||||||||
Determine if the command is in a valid state to be executed.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||||||||||
From interface
com.atlassian.confluence.core.service.ServiceCommand
| |||||||||||||||||||
Execute the command. After execution, the command should offer any indication of the results or products of the command as implementation-specific getter methods.
Gets the list of errors that are preventing the command from being executed. Calling this method
before calling isValid() will always return an empty collection.
ValidationError objects describing why command validation failed
Determine if the current user is authorized to execute this command. The "current user" for a command
is the user returned by getUser().
Determine if the command is in a valid state to be executed. If this method returns true, then
execute() is be expected to perform successfully (unless prevented by some system
error). If this method returns false, execute will fail with a
NotValidException.
This method should be called after checking isAuthorized(). If the current user is not
authorized to execute this command, this method must throw a NotAuthorizedException.
If this method returns false, then getValidationErrors() must return a non-empty list of
errors explaining why the command was not valid. If this method returns true, the collection returned by
getValidationErrors() must be empty.

