Class AccomplishmentAccessControl

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

public class AccomplishmentAccessControl extends AccessControl
An Access Controller for Accomplishment profiles.
Since:
3.2
Version:
3.2
Author:
Luke
See Also:
  • Constructor Details

    • AccomplishmentAccessControl

      public AccomplishmentAccessControl(SecurityContext ctx, Accomplishment a)
      Initializes the Controller.
      Parameters:
      ctx - the Security Context
      a - the Accomplishment
  • Method Details

    • validate

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

      public boolean getCanCreate()
      Returns whether the user can create a new Accomplishment profile.
      Returns:
      TRUE if a new profile can be created, otherwise FALSE
    • getCanEdit

      public boolean getCanEdit()
      Returns whether the user can edit thtis Accomplishment profile.
      Returns:
      TRUE if the profile can be edited, otherwise FALSE
    • getCanDelete

      public boolean getCanDelete()
      Returns whether the user can delete thtis Accomplishment profile.
      Returns:
      TRUE if the profile can be deleted, otherwise FALSE