Class EquipmentAccessControl

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

public final class EquipmentAccessControl extends AccessControl
An Access Controller for Equipment Type profile operations.
Since:
1.0
Version:
7.0
Author:
Luke
See Also:
  • Constructor Details

    • EquipmentAccessControl

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

    • validate

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

      public boolean getCanEdit()
      Returns if the profile can be edited.
      Returns:
      TRUE if it can be edited, otherwise FALSE
    • getCanRename

      public boolean getCanRename()
      Returns if the equipment type can be renamed.
      Returns:
      TRUE if it can be renamed, otherwise FALSE
    • getCanDelete

      public boolean getCanDelete()
      Returns if the profile can be deleted.
      Returns:
      TRUE if it can be deleted, otherwise FALSE