Class JobApplicationAccessControl

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

public class JobApplicationAccessControl extends AccessControl
An Access controller for Job Posting applications.
Since:
3.4
Version:
10.2
Author:
Luke
See Also:
  • Constructor Details

    • JobApplicationAccessControl

      public JobApplicationAccessControl(SecurityContext ctx, JobPosting job, Application a)
      Initializes the access controller.
      Parameters:
      ctx - the SecurityContext
      job - the JobPosting bean
      a - the Application bean
  • Method Details

    • validate

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

      public boolean getCanView()
      Returns if the user can view this applicaction.
      Returns:
      TRUE if the application can be viewed, otherwise FALSE