Class JobApplicationAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.JobApplicationAccessControl
- All Implemented Interfaces:
Serializable
An Access controller for Job Posting applications.
- Since:
- 3.4
- Version:
- 10.2
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.security.command.AccessControl
_ctx
-
Constructor Summary
ConstructorsConstructorDescriptionJobApplicationAccessControl
(SecurityContext ctx, JobPosting job, Application a) Initializes the access controller. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if the user can view this applicaction.void
validate()
Calculates access rights.Methods inherited from class org.deltava.security.command.AccessControl
validateContext
-
Constructor Details
-
JobApplicationAccessControl
Initializes the access controller.- Parameters:
ctx
- the SecurityContextjob
- the JobPosting beana
- the Application bean
-
-
Method Details
-
validate
-
getCanView
public boolean getCanView()Returns if the user can view this applicaction.- Returns:
- TRUE if the application can be viewed, otherwise FALSE
-