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
FieldsModifier and TypeFieldDescriptionprotected final Contextprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected final PrincipalServiceprotected static final Stringprotected static final Stringprotected final SecurityManagerprotected static final String -
Constructor Summary
ConstructorsConstructorDescriptionDefaultEventRegistrationActionFormSelectionService(Context context, PrincipalService principalService, SecurityManager securityManager) -
Method Summary
Modifier and TypeMethodDescriptionGet the Names of all available event registration forms.protected Stringprotected StringgetNextStandardPage(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:EventRegistrationActionFormSelectionServiceGet the Names of all available event registration forms. Grouped by pages for new and existing users.- Specified by:
getAvailablePagesin interfaceEventRegistrationActionFormSelectionService- Returns:
- Map containing two lists with page names for new and existing user respectively.
-
nextPage
Description copied from interface:EventRegistrationActionFormSelectionServiceGet the name of the next page based on the event with keyeventKey. The page name returned depends on the event type.- Specified by:
nextPagein interfaceEventRegistrationActionFormSelectionService- Parameters:
eventKey- Key of the event- Returns:
- Name of the next Page
- Throws:
PersistException
-
getEventRegistrationFormRelation
-
getNextStandardPage
-