java.lang.Object
au.edu.educationau.belts.command.AbstractCommand
au.edu.educationau.belts.command.container.AbstractContainerCommand
au.edu.educationau.belts.command.lesson.AbstractLessonItemCommand
au.edu.educationau.belts.command.lesson.action.MoveLessonItemDownAction
- All Implemented Interfaces:
- au.edu.educationau.belts.command.Action, au.edu.educationau.belts.command.Command, au.edu.educationau.belts.container.Containable, java.io.Serializable
- public class MoveLessonItemDownAction
- extends au.edu.educationau.belts.command.lesson.AbstractLessonItemCommand
- implements au.edu.educationau.belts.command.Action
This class performs the action of moving a Lesson Item in the list
Required Parameters:
- lesson-id
- the id of the lesson containing the item
- position
- the position of the lesson item to move
- new-position
- the position to move the new item to
Outcomes
- OK
- the lesson item was moved OK
- ERROR
- an error occurred during lesson item move
- VALIDATION
- a validation error occurred
The following errors may occur during lesson item move:
- Lesson Item Not Found
- a lesson item with that id was not found
- Not Allowed to move Lesson Items
- the current user is not allowed to move lesson items
Results
No results are returned from this action.
- Version:
- $Revision: 1.5 $ - $Date: 2003/02/28 06:48:00 $
|
Method Summary |
void |
execute()
Execute the command. |
| Methods inherited from class au.edu.educationau.belts.command.AbstractCommand |
addDuplicateEntityFoundError, addEmailFieldValidationError, addEntityNotFoundError, addError, addError, addError, addFieldValidationError, addIdValidationError, addSecurityError, addSystemError, addValidationError, addWarning, result |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoveLessonItemDownAction
public MoveLessonItemDownAction()
execute
public void execute()
- Description copied from interface:
au.edu.educationau.belts.command.Command
Execute the command. The dispatcher is responsible for ensuring that the commands
validate method is called before the command is executed.
- Specified by:
execute in interface au.edu.educationau.belts.command.Command