Class SignupAccessControl

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

public class SignupAccessControl extends AccessControl
An Access Controller for Online Event signups.
Since:
1.0
Version:
5.0
Author:
Luke
See Also:
  • Constructor Details

    • SignupAccessControl

      public SignupAccessControl(SecurityContext ctx, Event e, Signup s)
      Initializes the Access Controller.
      Parameters:
      ctx - the Command context
      e - the Online Event
      s - the Signup
  • Method Details

    • validate

      public void validate()
      Calculates access levels.
      Specified by:
      validate in class AccessControl
    • getCanRelease

      public boolean getCanRelease()
      Returns if this Signup can be released or canceled.
      Returns:
      TRUE if the Signup can be canceled, otherwise FALSE