Class AbstractCalendarCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractCalendarCommand
- All Implemented Interfaces:
Command
- Direct Known Subclasses:
EventCalendarCommand
,InstructionCalendarCommand
,InstructorBusyTimeCommand
,LogCalendarCommand
,NetworkOutageCalendarCommand
,ServiceCalendarCommand
An abstract Command class to support Calendar views.
- Since:
- 1.0
- Version:
- 8.6
- Author:
- Luke
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static final class
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected static AbstractCalendarCommand.CalendarContext
Initializes the Calendar context.Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
-
Constructor Details
-
AbstractCalendarCommand
public AbstractCalendarCommand()
-
-
Method Details
-
initCalendar
protected static AbstractCalendarCommand.CalendarContext initCalendar(CommandContext ctx) throws CommandException Initializes the Calendar context.- Parameters:
ctx
- the Command context- Returns:
- a CalendarContext bean
- Throws:
CommandException
- if the specified start date is invalid
-