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 Details

  • Method Details

    • getPublicRegistrationLink

      String getPublicRegistrationLink(pl.edu.icm.unity.base.registration.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, pl.edu.icm.unity.base.registration.FormType formType, String code) throws pl.edu.icm.unity.base.registration.IllegalFormTypeException
      Parameters:
      form -
      formType -
      code -
      Returns:
      a link to a standalone UI of a form with included registration code
      Throws:
      pl.edu.icm.unity.base.registration.IllegalFormTypeException