Class DefaultEventRegistrationActionFormSelectionService
java.lang.Object
ch.tocco.nice2.optional.event.api.actions.DefaultEventRegistrationActionFormSelectionService
- All Implemented Interfaces:
EventRegistrationActionFormSelectionService
public class DefaultEventRegistrationActionFormSelectionService
extends Object
implements EventRegistrationActionFormSelectionService
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Context
protected static final String
protected static final String
protected static final String
protected static final String
protected final PrincipalService
protected static final String
protected static final String
protected final SecurityManager
protected static final String
-
Constructor Summary
ConstructorDescriptionDefaultEventRegistrationActionFormSelectionService
(Context context, PrincipalService principalService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionGet the Names of all available event registration forms.protected String
protected String
getNextStandardPage
(String fieldName) Get the name of the next page based on the event with keyeventKey
.
-
Field Details
-
EVENT
- See Also:
-
EVENT_REGISTRATION_FORM
- See Also:
-
NEW_USER_PAGE_NAME
- See Also:
-
EXISTING_USER_PAGE_NAME
- See Also:
-
REL_EVENT_REGISTRATION_FORM
- See Also:
-
REL_EVENT_TYPE
- See Also:
-
STANDARD_FORM_ID
- See Also:
-
context
-
principalService
-
securityManager
-
-
Constructor Details
-
DefaultEventRegistrationActionFormSelectionService
public DefaultEventRegistrationActionFormSelectionService(Context context, PrincipalService principalService, SecurityManager securityManager)
-
-
Method Details
-
getAvailablePages
Description copied from interface:EventRegistrationActionFormSelectionService
Get the Names of all available event registration forms. Grouped by pages for new and existing users.- Specified by:
getAvailablePages
in interfaceEventRegistrationActionFormSelectionService
- Returns:
- Map containing two lists with page names for new and existing user respectively.
-
nextPage
Description copied from interface:EventRegistrationActionFormSelectionService
Get the name of the next page based on the event with keyeventKey
. The page name returned depends on the event type.- Specified by:
nextPage
in interfaceEventRegistrationActionFormSelectionService
- Parameters:
eventKey
- Key of the event- Returns:
- Name of the next Page
- Throws:
PersistException
-
getEventRegistrationFormRelation
-
getNextStandardPage
-