Class SignupAccessControl
java.lang.Object
org.deltava.security.command.AccessControl
org.deltava.security.command.SignupAccessControl
- All Implemented Interfaces:
Serializable
An Access Controller for Online Event signups.
- Since:
- 1.0
- Version:
- 5.0
- Author:
- Luke
- See Also:
-
Field Summary
Fields inherited from class org.deltava.security.command.AccessControl
_ctx
-
Constructor Summary
ConstructorsConstructorDescriptionSignupAccessControl
(SecurityContext ctx, Event e, Signup s) Initializes the Access Controller. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns if this Signup can be released or canceled.void
validate()
Calculates access levels.Methods inherited from class org.deltava.security.command.AccessControl
validateContext
-
Constructor Details
-
SignupAccessControl
Initializes the Access Controller.- Parameters:
ctx
- the Command contexte
- the Online Events
- the Signup
-
-
Method Details
-
validate
-
getCanRelease
public boolean getCanRelease()Returns if this Signup can be released or canceled.- Returns:
- TRUE if the Signup can be canceled, otherwise FALSE
-