org.deltava.commands
Class AbstractViewCommand

java.lang.Object
  extended by org.deltava.commands.AbstractCommand
      extended by org.deltava.commands.AbstractViewCommand
All Implemented Interfaces:
Command
Direct Known Subclasses:
AbstractStatsCommand, ACARSFlightSearchCommand, ACARSLogViewCommand, AirportListCommand, ApplicantListCommand, AssignmentListCommand, AutoScoredExamsCommand, BlogCommand, ChannelListCommand, ChartsCommand, CommandLogViewCommand, CoolerSearchCommand, CoolerStatsCommand, CourseListCommand, ErrorLogCommand, EventListCommand, ExamQueueCommand, ExamStatsCommand, FAQCommand, FleetGalleryCommand, GalleryCommand, GreasedLandingCommand, HelpListCommand, InstallerLogViewCommand, InstructionLogbookCommand, IssueFilterCommand, IssueListCommand, IssueListCommand, LandingStatsCommand, LiveryListCommand, LogBookCommand, LogViewCommand, MailboxListCommand, MyAssignmentsCommand, MyIssueListCommand, MyThreadsCommand, NewsCommand, NewsLibraryCommand, NewThreadListCommand, NOTAMCommand, NotificationThreadListCommand, PIREPQueueCommand, PopularRouteListCommand, ProgramRosterCommand, QuestionProfilesCommand, RegistrationBlocksCommand, ResourceListCommand, RideQueueCommand, RosterCommand, RosterLetterCommand, RouteListCommand, RoutesCommand, ScheduleBrowseCommand, SELCALCodeCommand, ServerListCommand, ServerStatsCommand, SimulatorStatsCommand, SuspendedUserListCommand, ThreadListCommand, TimeZoneListCommand, TransferListCommand, UserLibraryCommand, VideoLibraryCommand

public abstract class AbstractViewCommand
extends AbstractCommand

A class to support web site commands for pageable table views.

Since:
1.0
Version:
2.2
Author:
Luke

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope
 
Field Summary
 
Fields inherited from interface org.deltava.commands.Command
APPLICATION, ID, OPERATION, PAGE, REQUEST, SESSION
 
Constructor Summary
AbstractViewCommand()
           
 
Method Summary
protected  ViewContext initView(CommandContext ctx)
          Initializes the view context for a command invocation, with the default view page size
protected  ViewContext initView(CommandContext ctx, int defaultSize)
          Initializes the view context for a command invocation.
 
Methods inherited from class org.deltava.commands.AbstractCommand
getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.deltava.commands.Command
execute
 

Constructor Detail

AbstractViewCommand

public AbstractViewCommand()
Method Detail

initView

protected ViewContext initView(CommandContext ctx,
                               int defaultSize)
Initializes the view context for a command invocation.

Parameters:
ctx - the Command context
defaultSize - the default view page size if not specified
Returns:
the view context

initView

protected ViewContext initView(CommandContext ctx)
Initializes the view context for a command invocation, with the default view page size

Parameters:
ctx - the Command context
Returns:
the View context


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.