Interface PublicRegistrationURLSupport
-
public interface PublicRegistrationURLSupport
Defines constants and helper methods used to create public form access URI. Note that the public form filling code is in principle implemented in web endpoints, however possibility to link to it is required in the core engine, for instance to fill invitation messages.- Author:
- Krzysztof Benedyczak
-
-
Field Summary
Fields Modifier and Type Field Description static String
CODE_PARAM
static String
ENQUIRY_VIEW
static String
FORM_PARAM
static String
REGISTRATION_VIEW
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getPublicEnquiryLink(String form, String code)
String
getPublicFormLink(String form, FormType formType, String code)
String
getPublicRegistrationLink(String form, String code)
String
getPublicRegistrationLink(RegistrationForm form)
String
getWellknownEnquiryLink(String formName)
String
getWellknownEnquiryLink(String formName, String code)
-
-
-
Field Detail
-
REGISTRATION_VIEW
static final String REGISTRATION_VIEW
- See Also:
- Constant Field Values
-
ENQUIRY_VIEW
static final String ENQUIRY_VIEW
- See Also:
- Constant Field Values
-
CODE_PARAM
static final String CODE_PARAM
- See Also:
- Constant Field Values
-
FORM_PARAM
static final String FORM_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPublicRegistrationLink
String getPublicRegistrationLink(RegistrationForm form)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a registration form
-
getWellknownEnquiryLink
String getWellknownEnquiryLink(String formName)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of an enquiry form
-
getWellknownEnquiryLink
String getWellknownEnquiryLink(String formName, String code)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of an enquiry form
-
getPublicRegistrationLink
String getPublicRegistrationLink(String form, String code)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a registration form with included registration code
-
getPublicEnquiryLink
String getPublicEnquiryLink(String form, String code)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a enquiry form with included registration code
-
getPublicFormLink
String getPublicFormLink(String form, FormType formType, String code) throws IllegalFormTypeException
- Parameters:
form
-formType
-code
-- Returns:
- a link to a standalone UI of a form with included registration code
- Throws:
IllegalFormTypeException
-
-