Class AbstractViewCommand
java.lang.Object
org.deltava.commands.AbstractCommand
org.deltava.commands.AbstractViewCommand
- All Implemented Interfaces:
 Command
- Direct Known Subclasses:
 ACARSFlightSearchCommand,ACARSLogViewCommand,AccomplishmentListCommand,AircraftListCommand,AirportListCommand,ApplicantListCommand,ApplicationListCommand,AssignmentListCommand,AuditLogCommand,AutoScoredExamsCommand,BlacklistCommand,BrowserReportsCommand,CharterRequestsCommand,CharterStatsCommand,CheckRideQueueCommand,CheckRideScriptsCommand,CommandLogViewCommand,CoolerSearchCommand,CourseListCommand,CourseQueueCommand,CSPViolationsCommand,DisposedFlightsCommand,EconomyStatsCommand,EliteLevelListCommand,EliteLifetimeLevelsCommand,EquipmentProfilesCommand,ErrorLogCommand,EventFeedbackCommand,EventListCommand,EventStatsCommand,ExamQueueCommand,ExamStatsCommand,FAQCommand,FleetGalleryCommand,FlightSDKCommand,FlightStatsCommand,GalleryCommand,GraduatesCommand,GreasedLandingCommand,HelpDeskCommand,InstructionLogbookCommand,IssueFilterCommand,IssueListCommand,IssueListCommand,JobPostingsCommand,LandingStatsCommand,LiveryListCommand,LogBookCommand,LoginAddressCommand,MailboxListCommand,MessageTemplatesCommand,MetadataViewCommand,MyAssignmentsCommand,MyFlightStatsCommand,MyImagesCommand,MyIssueListCommand,MyThreadsCommand,NewsCommand,NewsLibraryCommand,NewThreadListCommand,NOTAMCommand,NotificationThreadListCommand,OnlineStatsCommand,PartnerListCommand,PermanentUsersCommand,PIREPQueueCommand,PopularRouteListCommand,ProgramRosterCommand,PromotionQueueCommand,QuestionnaireQueueCommand,QuestionProfilesCommand,RateLimitCommand,RawBrowseCommand,RawValidationCommand,ResourceListCommand,ResponseTemplatesCommand,RideQueueCommand,RosterCommand,RosterLetterCommand,RouteListCommand,RoutesCommand,RunwayMappingsCommand,ScheduleBrowseCommand,ScheduleFilterHistoryCommand,SELCALCodeCommand,ServerStatsCommand,SimulatorStatsCommand,StaffFlightStatsCommand,SuspendedUserListCommand,ThreadListCommand,TimeZoneListCommand,TourFeedbackCommand,TourListCommand,TourProgressCommand,TransferListCommand,UserLibraryCommand,VideoLibraryCommand
A class to support web site commands for pageable table views.
- Since:
 - 1.0
 - Version:
 - 7.0
 - Author:
 - Luke
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.deltava.commands.Command
Command.Scope - 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected static <T> ViewContext<T> initView(CommandContext ctx, Class<T> c) Initializes the view context for a command invocation, with the default view page size, either for the system or for the authenticated user (if any).protected static <T> ViewContext<T> initView(CommandContext ctx, Class<T> c, int defaultSize) Initializes the view context for a command invocation and saves it in the request.Methods inherited from class org.deltava.commands.AbstractCommand
forgottenException, getID, getName, getRoles, init, notFoundException, parseDateTime, parseDateTime, securityException, setRoles 
- 
Constructor Details
- 
AbstractViewCommand
public AbstractViewCommand() 
 - 
 - 
Method Details
- 
initView
Initializes the view context for a command invocation and saves it in the request.- Parameters:
 ctx- the Command contextc- the result type ClassdefaultSize- the default view page size if not specified- Returns:
 - the view context
 
 - 
initView
Initializes the view context for a command invocation, with the default view page size, either for the system or for the authenticated user (if any).- Parameters:
 ctx- the Command contextc- the result type Class- Returns:
 - the View context
 
 
 -