java.lang.Object
au.edu.educationau.belts.command.AbstractCommand
au.edu.educationau.belts.command.container.AbstractContainerCommand
au.edu.educationau.belts.command.container.AbstractBeltsContainerCommand
- All Implemented Interfaces:
- au.edu.educationau.belts.command.Command, au.edu.educationau.belts.container.Containable, java.io.Serializable
- Direct Known Subclasses:
- AbstractEmailCommand, AbstractIndexingCommand
- public abstract class AbstractBeltsContainerCommand
- extends AbstractContainerCommand
- Version:
- $Revision: 1.10 $ - $Date: 2003/05/25 23:01:37 $
| Methods inherited from class au.edu.educationau.belts.command.AbstractCommand |
addDuplicateEntityFoundError, addEmailFieldValidationError, addEntityNotFoundError, addError, addError, addError, addFieldValidationError, addIdValidationError, addSecurityError, addSystemError, addValidationError, addWarning, result, validate |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface au.edu.educationau.belts.command.Command |
execute |
_log
protected org.apache.commons.logging.Log _log
AbstractBeltsContainerCommand
public AbstractBeltsContainerCommand()
beltsContainer
protected au.edu.educationau.belts.container.BELTSContainer beltsContainer()
currentUserIsMemberOfSchool
protected boolean currentUserIsMemberOfSchool(au.edu.educationau.belts.model.school.School school)
throws au.edu.educationau.belts.command.CommandErrorException
currentUser
protected au.edu.educationau.belts.model.user.UserEntity currentUser()
throws au.edu.educationau.belts.command.CommandErrorException
currentUsersSchool
protected au.edu.educationau.belts.model.school.School currentUsersSchool()
throws au.edu.educationau.belts.command.CommandErrorException
isManager
protected boolean isManager(java.lang.String message)
- Adds a security error to the error list if the caller is
not a content manager.
isTeacher
protected boolean isTeacher(java.lang.String message)
- Adds a security error to the error list if the caller is
not a teacher.
isPermitted
protected boolean isPermitted(java.lang.String message)
permitted
protected boolean permitted(java.lang.String role,
java.lang.String message)