Class DispatchScheduleAccessControl

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

public class DispatchScheduleAccessControl extends AccessControl
An access controller for ACARS Dispatcher service entries.
Since:
2.2
Version:
7.0
Author:
Luke
See Also:
  • Constructor Details

    • DispatchScheduleAccessControl

      public DispatchScheduleAccessControl(SecurityContext ctx, DispatchScheduleEntry dse)
      Initializes the access controller.
      Parameters:
      ctx - the security context
      dse - the DispatchScheduleEntry bean, or null
  • Method Details

    • validate

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

      public boolean getCanCreate()
      Returns whether a new schedule entry can be created.
      Returns:
      TRUE if a schedule entry can be created, otherwise FALSE
    • getCanEdit

      public boolean getCanEdit()
      Returns whether the current schedule entry can be edited.
      Returns:
      TRUE if the entry can be edited, otherwise FALSE
    • getCanDelete

      public boolean getCanDelete()
      Returns whether the current schedule entry can be deleted.
      Returns:
      TRUE if the entry can be deleted, otherwise FALSE