Class 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
    • Constructor Detail

      • PublicRegistrationURLSupport

        public PublicRegistrationURLSupport()
    • 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