Class ExamProfileAccessControl

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

public class ExamProfileAccessControl extends AccessControl
An Access Controller for Examination Profiles.
Since:
1.0
Version:
9.1
Author:
Luke
See Also:
  • Constructor Details

    • ExamProfileAccessControl

      public ExamProfileAccessControl(SecurityContext ctx, ExamProfile ep)
      Initialize the Access Controller.
      Parameters:
      ctx - the Security Context
      ep - the Examination profile bean
  • Method Details

    • validate

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

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

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

      public boolean getCanCreate()
      Returns if a new Examination Profile can be created.
      Returns:
      TRUE if it can be created, otherwise FALSE
    • getCanDelete

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