Class AirlineInformationAccessControl

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

public class AirlineInformationAccessControl extends AccessControl
An access controller for Virtual Airlines application profiles.
Since:
5.0
Version:
8.6
Author:
Luke
See Also:
  • Constructor Details

    • AirlineInformationAccessControl

      public AirlineInformationAccessControl(AirlineInformation ai, SecurityContext ctx)
      Creates the Access Controller.
      Parameters:
      ai - the AirlineInformation bean
      ctx - the SecurityContext
  • Method Details

    • validate

      public void validate()
      Calculates access rights.
      Specified by:
      validate in class AccessControl
    • getCanRead

      public boolean getCanRead()
      Returns whether the profile can be read.
      Returns:
      TRUE if readable, otherwise FALSE
    • getCanEdit

      public boolean getCanEdit()
      Returns whether the profile can be edited.
      Returns:
      TRUE if editable, otherwise FALSE