Class AbstractContributionResource

    • Constructor Detail

      • AbstractContributionResource

        public AbstractContributionResource()
    • Method Detail

      • getContributionId

        public abstract String getContributionId()
      • getDefaultFormId

        protected String getDefaultFormId()
        Returns:
        the default form id
      • getDefaultPublicationTemplateLanguage

        protected String getDefaultPublicationTemplateLanguage()
        Returns:
        the default publication template language
      • getPublicationTemplate

        protected PublicationTemplate getPublicationTemplate​(String formId)
        Gets the publication template of the specified form id
        Parameters:
        formId - an identifier of a form.
        Returns:
        the corresponding PublicationTemplate instance if any, null otherwise.