Interface Command
- All Known Implementing Classes:
AbstractAcademyHistoryCommand,AbstractAuditFormCommand,AbstractCalendarCommand,AbstractCommand,AbstractFormCommand,AbstractLibraryCommand,AbstractTestHistoryCommand,AbstractViewCommand,ACARSDeleteCommand,ACARSFlightSearchCommand,ACARSLogViewCommand,AccomplishmentAirportMapCommand,AccomplishmentCheckCommand,AccomplishmentCommand,AccomplishmentDeleteCommand,AccomplishmentEligibilityCommand,AccomplishmentListCommand,AccomplishmentUpdateCommand,AIRACImportCommand,AircraftCommand,AircraftListCommand,AirlineCommand,AirlineInformationCommand,AirlineInformationListCommand,AirlineListCommand,AirlineTotalsCommand,AirportCommand,AirportDeleteCommand,AirportExportCommand,AirportInformationCommand,AirportListCommand,AirspaceImportCommand,AirwayImportCommand,APIStatsCommand,ApplicantApproveCommand,ApplicantCommand,ApplicantDeleteCommand,ApplicantFindCommand,ApplicantListCommand,ApplicantRejectCommand,ApplicationCommand,ApplicationListCommand,AssignmentCommand,AssignmentDeleteCommand,AssignmentListCommand,AssignmentReleaseCommand,AssignmentReserveCommand,AssignmentSaveCommand,AuditLogCommand,AUSOTPlotCommand,AutoScoredExamsCommand,BlacklistCommand,BlacklistDeleteCommand,BriefingCommand,BrowserReportsCommand,BuildCommand,CenturyClubCommand,CertificationCommand,CertificationDeleteCommand,CertificationListCommand,CertificationRequirementsCommand,ChannelAdminCommand,ChannelCommand,ChannelDeleteCommand,ChannelListCommand,ChartCommand,ChartDeleteCommand,CharterRequestCommand,CharterRequestDeleteCommand,CharterRequestDisposeCommand,CharterRequestsCommand,CharterStatsCommand,ChartsCommand,CheckRideAssignCommand,CheckRideCommand,CheckRideFlagCommand,CheckRidePIREPApprovalCommand,CheckRidePIREPCommand,CheckRideQueueCommand,CheckRideScoreCommand,CheckRideScriptCommand,CheckRideScriptDeleteCommand,CheckRideScriptsCommand,ClientStatsCommand,CommandLogViewCommand,CommandStatsCommand,ConnectionInfoDeleteCommand,ConnectionLogCommand,ContentOverrideCommand,ContentReportCommand,CookieCheckCommand,CookieDataCommand,CoolerSearchCommand,CourseAssignCommand,CourseCheckRideCommand,CourseCommand,CourseCommentCommand,CourseDeleteCommand,CourseDisposalCommand,CourseListCommand,CourseProgressCommand,CourseQueueCommand,CSPViolationsCommand,CurrencyRideAssignCommand,DashboardCommand,DiagnosticCommand,DiscordRegistrationCommand,DispatcherStatsCommand,DispatchRouteUpdateCommand,DisposedFlightsCommand,DocumentLibraryCommand,DuplicatePilotCommand,DuplicatePilotMergeCommand,DuplicatePilotSearchCommand,EconomyStatsCommand,EliteInfoCommand,EliteLevelCommand,EliteLevelListCommand,EliteLevelSetCommand,EliteLifetimeDeleteCommand,EliteLifetimeLevelCommand,EliteLifetimeLevelsCommand,ElitePilotsCommand,EliteRolloverCommand,EliteStatsCommand,EliteStatusCalculateCommand,EmoticonHelperCommand,EnrollCommand,EquipmentCommand,EquipmentProfilesCommand,ErrorLogCommand,ErrorLogDeleteCommand,ErrorLogEntryCommand,ErrorLogPurgeCommand,EventAssignCommand,EventBalanceCommand,EventCalendarCommand,EventCancelCommand,EventCommand,EventDeleteCommand,EventEditCommand,EventFeedbackCommand,EventListCommand,EventReleaseCommand,EventRoutesCommand,EventSaveCommand,EventSignupCommand,EventStatsCommand,ExamCommand,ExamCreateCommand,ExamCreateCommand,ExamDeleteCommand,ExamProfileCommand,ExamProfileDeleteCommand,ExamProfilesCommand,ExamQueueCommand,ExamScoreCommand,ExamStatsCommand,ExamSubmitCommand,ExternalPIREPApprovalCommand,ExternalPIREPCommand,FAAChartDownloadCommand,FAQCommand,FindFlightCommand,FleetGalleryCommand,FleetLibraryCommand,FlightAcademyCommand,FlightBoardCommand,FlightBoardMapCommand,FlightInfoCommand,FlightInfoDeleteCommand,FlightLogCommand,FlightPreapproveCommand,FlightSDKCommand,FlightStatsCommand,ForgetUserCommand,GalleryCommand,GalleryDeleteCommand,GalleryImageCommand,GateCalculateCommand,GateInformationCommand,GraduatesCommand,GreasedLandingCommand,HelpDeskCommand,HelpDeskSearchCommand,HomeCommand,IMAPDeleteCommand,IMAPMailboxCommand,ImportStatusCommand,InactivityListCommand,InstallerCommand,InstallerStatsCommand,InstallerUploadCommand,InstructionCalendarCommand,InstructionCancelCommand,InstructionFlightCommand,InstructionLogbookCommand,InstructionSessionCommand,InstructorBusyDeleteCommand,InstructorBusySaveCommand,InstructorBusyTimeCommand,InvalidateEmailCommand,IPBlockImportCommand,IPGeoImportCommand,IssueCloseCommand,IssueCommand,IssueCommand,IssueCommentCommand,IssueCommentCommand,IssueConvertCommand,IssueConvertCommand,IssueFilterCommand,IssueListCommand,IssueListCommand,IssueSearchCommand,IssueUpdateCommand,JobApproveCommand,JobCloneCommand,JobCommentCommand,JobCompleteCommand,JobDeleteCommand,JobPostingCommand,JobPostingsCommand,JobResetCommand,LandingStatsCommand,LeaveCommand,LibraryEditCommand,LinkImageCommand,LiveryCommand,LiveryDeleteCommand,LiveryListCommand,LoadCalculateCommand,LoadInfoCommand,LogBookCommand,LogCalendarCommand,LoginAddressCommand,LoginCommand,LogoutCommand,MailboxListCommand,ManualCommand,ManualDeleteCommand,MapCommand,MapCommand,MassMailingCommand,MembershipStatsCommand,MessageLogCommand,MessageTemplateCommand,MessageTemplateDeleteCommand,MessageTemplatesCommand,MetadataViewCommand,MyAssignmentsCommand,MyFlightStatsCommand,MyImagesCommand,MyIssueListCommand,MyThreadsCommand,NakedCheckRideCommand,NATPlotCommand,NavaidSearchCommand,NavDataImportCommand,NavigationCycleCommand,NetworkOutageCalendarCommand,NetworkServersCommand,NewAirportListCommand,NewsCommand,NewsDeleteCommand,NewsEditCommand,NewsletterCommand,NewsLibraryCommand,NewsSaveCommand,NewThreadListCommand,NominationCenterCommand,NominationCommand,NominationDisposeCommand,NominationPostponeCommand,NominationPurgeCommand,NominationRescoreCommand,NOTAMCommand,NOTAMEditCommand,NOTAMSaveCommand,NotificationClearCommand,NotificationListUpdateCommand,NotificationThreadListCommand,NotificationToggleCommand,OfflineFlightCommand,OnlineStatsCommand,PACOTPlotCommand,PartnerDeleteCommand,PartnerInfoCommand,PartnerListCommand,PasswordResetCommand,PermanentUsersCommand,PilotActivationCommand,PilotBoardCommand,PilotCenterCommand,PilotLocationCommand,PilotRecognitionCommand,PilotRouteMapCommand,PilotSearchCommand,PIREPCommand,PIREPDeleteCommand,PIREPDisposalCommand,PIREPEliteScoreCommand,PIREPQueueCommand,PIREPReleaseCommand,PIREPSubmitCommand,PIREPWithdrawCommand,PopularRouteListCommand,PostDeleteCommand,PrivacyInfoCommand,ProficiencyRideDisableCommand,ProficiencyRideEnableCommand,ProfileCommand,ProgramRosterCommand,PromoteCommand,PromotionEligibilityCommand,PromotionQueueCommand,PromotionToggleCommand,QuestionDeleteCommand,QuestionIncludeCommand,QuestionnaireCommand,QuestionnaireQueueCommand,QuestionnaireScoreCommand,QuestionnaireSubmitCommand,QuestionProfileCommand,QuestionProfilesCommand,QuestionProfileSearchCommand,RateLimitCommand,RatingCountCommand,RawBrowseCommand,RawValidationCommand,RedirectCommand,RegisterCommand,ResendValidationCommand,ResendValidationCommand,ResetCommand,ResourceCommand,ResourceDeleteCommand,ResourceJumpCommand,ResourceListCommand,ResponseTemplateCommand,ResponseTemplateDeleteCommand,ResponseTemplatesCommand,RestoreImageLinksCommand,RetireUserCommand,ReturnCharterCommand,RideQueueCommand,RideScriptCommand,RideScriptDeleteCommand,RideScriptsCommand,RosterCommand,RosterLetterCommand,RouteAssignmentBuildCommand,RouteAssignmentSearchCommand,RouteCommand,RouteCommand,RouteDeleteCommand,RouteListCommand,RouteMapCommand,RoutePlotCommand,RoutePlotCommand,RouteSaveCommand,RoutesCommand,RouteSearchCommand,RouteToggleCommand,RunwayCalculateCommand,RunwayChoiceCommand,RunwayMappingCommand,RunwayMappingsCommand,ScheduleBrowseCommand,ScheduleDeleteCommand,ScheduleEntryCommand,ScheduleExportCommand,ScheduleFilterCommand,ScheduleFilterHistoryCommand,ScheduleImportCommand,ScheduleSyncCommand,SecurityRoleMembersCommand,SELCALCodeCommand,SELCALReserveCommand,ServerStatsCommand,ServiceCalendarCommand,ServiceEntryCommand,ServiceEntryDeleteCommand,ShortListCommand,SignatureApproveCommand,SignatureUpdateCommand,SimulatorStatsCommand,SingleAssignmentBuildCommand,SingleAssignmentSearchCommand,StaffFlightStatsCommand,StaffProfileCommand,StaffRosterCommand,StatusCommentCommand,SuspendedUserListCommand,SuspendUserCommand,TaskExecuteCommand,TerminalRouteImportCommand,TestingCenterCommand,ThreadCommand,ThreadDeleteCommand,ThreadListCommand,ThreadLockCommand,ThreadMoveCommand,ThreadPostCommand,ThreadReplyCommand,ThreadStickCommand,ThreadSubjectEditCommand,ThreadUnlockCommand,ThreadUnstickCommand,TimeZoneCommand,TimeZoneListCommand,TourCommand,TourDeleteCommand,TourFeedbackCommand,TourListCommand,TourProgressCommand,TrackMapCommand,TransferAirlineCommand,TransferApproveCommand,TransferConvertCommand,TransferDeleteCommand,TransferListCommand,TransferProcessCommand,TransferRejectCommand,TransferRequestCommand,UnlinkImageCommand,UnreadClearCommand,UnservicedAirportsCommand,UpdateCommentsCommand,UpdateEmailCommand,UpdateEventCommand,UpdateRunwayCommand,UpdateTouchdownCommand,UpdateTourCommand,UserFileCommand,UserFileDeleteCommand,UserLibraryCommand,UserListCommand,UserSwitchCommand,ValidateEmailCommand,ValidateEMailCommand,VideoCommand,VideoDeleteCommand,VideoLibraryCommand,WaiveCheckRideCommand,WeatherCenterCommand,WeatherFinderCommand,WelcomeMessageCommand
public interface Command
A Web Site Command.
- Since:
- 1.0
- Version:
- 10.0
- Author:
- Luke
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final Command.Scopestatic final Command.Scopestatic final Command.Scope -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(CommandContext ctx) Execute the web Command.getID()Return the ID of the command.getName()Return the name of the command.getRoles()Return the roles authorized to execute this command.voidInitialize the Command.voidsetRoles(Collection<String> roleNames) Updates the roles authorized to execute this command.
-
Field Details
-
REQUEST
-
SESSION
-
PAGE
-
ID
static final int ID- See Also:
-
OPERATION
static final int OPERATION- See Also:
-
-
Method Details
-
init
Initialize the Command. Since commands are instantiated via reflection, the init method is used to run data that would ordinarily be in the constructor.- Parameters:
id- the command IDcmdName- the name of the command- Throws:
IllegalStateException- if the command has already been initialized
-
execute
Execute the web Command.- Parameters:
ctx- run-time information needed to execute- Throws:
CommandException- if an error occurs
-
getName
-
getID
String getID()Return the ID of the command. This is usually set by the command factory.- Returns:
- the command ID
-
getRoles
Collection<String> getRoles()Return the roles authorized to execute this command.- Returns:
- a Collection of role names
-
setRoles
Updates the roles authorized to execute this command.- Parameters:
roleNames- a List of role names- Throws:
IllegalStateException- if the role names have already been set
-