Class ScheduleAccessControl

java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.ScheduleAccessControl
All Implemented Interfaces:
Serializable

public class ScheduleAccessControl extends AccessControl
An Access Controller for Flight Schdeule data.
Since:
1.0
Version:
9.1
Author:
Luke
See Also:
  • Constructor Details

    • ScheduleAccessControl

      public ScheduleAccessControl(SecurityContext ctx)
      Initializes the Access Controller.
      Parameters:
      ctx - the Command context
  • Method Details

    • validate

      public void validate()
      Description copied from class: AccessControl
      Calculates access control rights
      Specified by:
      validate in class AccessControl
    • getCanEdit

      public boolean getCanEdit()
      Returns if route data can be modified.
      Returns:
      TRUE if the rotue data can be modified, otherwise FALSE
    • getCanDelete

      public boolean getCanDelete()
      Returns if route data can be deleted.
      Returns:
      TRUE if the route data can be deleted, otherwise FALSE
    • getCanImport

      public boolean getCanImport()
      Returns if Flight Schedule data can be imported.
      Returns:
      TRUE if data can be imported, otherwise FALSE
    • getCanExport

      public boolean getCanExport()
      Returns if Flight Schedule data can be exported.
      Returns:
      TRUE if data can be exported, otherwise FALSE