Class PublicRegistrationURLSupport
- java.lang.Object
-
- pl.edu.icm.unity.engine.api.registration.PublicRegistrationURLSupport
-
public class PublicRegistrationURLSupport extends java.lang.Object
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 java.lang.String
CODE_PARAM
static java.lang.String
ENQUIRY_VIEW
static java.lang.String
FORM_PARAM
static java.lang.String
REGISTRATION_VIEW
-
Constructor Summary
Constructors Constructor Description PublicRegistrationURLSupport()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getPublicEnquiryLink(pl.edu.icm.unity.types.registration.BaseForm form, java.lang.String code, SharedEndpointManagement sharedEndpointMan)
static java.lang.String
getPublicRegistrationLink(pl.edu.icm.unity.types.registration.BaseForm form, java.lang.String code, SharedEndpointManagement sharedEndpointMan)
static java.lang.String
getPublicRegistrationLink(pl.edu.icm.unity.types.registration.RegistrationForm form, SharedEndpointManagement sharedEndpointMan)
static java.lang.String
getWellknownEnquiryLink(java.lang.String formName, SharedEndpointManagement sharedEndpointMan)
-
-
-
Field Detail
-
REGISTRATION_VIEW
public static final java.lang.String REGISTRATION_VIEW
- See Also:
- Constant Field Values
-
ENQUIRY_VIEW
public static final java.lang.String ENQUIRY_VIEW
- See Also:
- Constant Field Values
-
CODE_PARAM
public static final java.lang.String CODE_PARAM
- See Also:
- Constant Field Values
-
FORM_PARAM
public static final java.lang.String FORM_PARAM
- See Also:
- Constant Field Values
-
-
Method Detail
-
getPublicRegistrationLink
public static java.lang.String getPublicRegistrationLink(pl.edu.icm.unity.types.registration.RegistrationForm form, SharedEndpointManagement sharedEndpointMan)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a registration form
-
getWellknownEnquiryLink
public static java.lang.String getWellknownEnquiryLink(java.lang.String formName, SharedEndpointManagement sharedEndpointMan)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of an enquiry form
-
getPublicRegistrationLink
public static java.lang.String getPublicRegistrationLink(pl.edu.icm.unity.types.registration.BaseForm form, java.lang.String code, SharedEndpointManagement sharedEndpointMan)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a registration form with included registration code
-
getPublicEnquiryLink
public static java.lang.String getPublicEnquiryLink(pl.edu.icm.unity.types.registration.BaseForm form, java.lang.String code, SharedEndpointManagement sharedEndpointMan)
- Parameters:
formName
-sharedEndpointMan
-- Returns:
- a link to a standalone UI of a enquiry form with included registration code
-
-