Class UserAttachedFormGenerator

java.lang.Object
org.kuali.coeus.s2sgen.impl.generate.support.UserAttachedFormGenerator
All Implemented Interfaces:
DynamicForm, Factory<org.apache.xmlbeans.XmlObject>, Named, S2SFormGenerator<org.apache.xmlbeans.XmlObject>, S2SFormGeneratorPdfFillable<org.apache.xmlbeans.XmlObject>, org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanNameAware

@FormGenerator("UserAttachedFormGenerator") public class UserAttachedFormGenerator extends Object implements S2SFormGenerator<org.apache.xmlbeans.XmlObject>, S2SFormGeneratorPdfFillable<org.apache.xmlbeans.XmlObject>, DynamicForm, org.springframework.beans.factory.BeanNameAware, Named
  • Field Details

  • Constructor Details

    • UserAttachedFormGenerator

      public UserAttachedFormGenerator()
  • Method Details

    • getFormObject

      public org.apache.xmlbeans.XmlObject getFormObject(org.kuali.coeus.propdev.api.core.ProposalDevelopmentDocumentContract proposalDevelopmentDocument)
      Description copied from interface: S2SFormGenerator
      This method creates an XML document using the APIs generated using XMLBeans by compiling the form's schema and returns it as XmlObject.
      Specified by:
      getFormObject in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • addAttachment

      protected void addAttachment(org.kuali.coeus.s2sgen.api.generate.AttachmentData attachment)
    • getAuditErrors

      public List<org.kuali.coeus.s2sgen.api.core.AuditError> getAuditErrors()
      Specified by:
      getAuditErrors in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • setAuditErrors

      public void setAuditErrors(List<org.kuali.coeus.s2sgen.api.core.AuditError> auditErrors)
    • getAttachments

      public List<org.kuali.coeus.s2sgen.api.generate.AttachmentData> getAttachments()
      Specified by:
      getAttachments in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • setAttachments

      public void setAttachments(List<org.kuali.coeus.s2sgen.api.generate.AttachmentData> attachments)
    • getGrantApplicationHashService

      public org.kuali.coeus.s2sgen.api.hash.GrantApplicationHashService getGrantApplicationHashService()
    • setGrantApplicationHashService

      public void setGrantApplicationHashService(org.kuali.coeus.s2sgen.api.hash.GrantApplicationHashService grantApplicationHashService)
    • getNamespace

      public String getNamespace()
      Specified by:
      getNamespace in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • getFormName

      public String getFormName()
      Specified by:
      getFormName in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • getSortIndex

      public int getSortIndex()
      Specified by:
      getSortIndex in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • getStylesheets

      public List<org.springframework.core.io.Resource> getStylesheets()
      Specified by:
      getStylesheets in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • supportsPdfFilling

      public boolean supportsPdfFilling()
      Specified by:
      supportsPdfFilling in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • supportsXslTransform

      public boolean supportsXslTransform()
      Specified by:
      supportsXslTransform in interface S2SFormGenerator<org.apache.xmlbeans.XmlObject>
    • getPdfForm

      public org.springframework.core.io.Resource getPdfForm()
      Specified by:
      getPdfForm in interface S2SFormGeneratorPdfFillable<org.apache.xmlbeans.XmlObject>
    • getMappedAttachments

      public S2SFormGeneratorPdfFillable.Attachments getMappedAttachments(org.apache.xmlbeans.XmlObject form, List<org.kuali.coeus.s2sgen.api.generate.AttachmentData> attachments)
      Specified by:
      getMappedAttachments in interface S2SFormGeneratorPdfFillable<org.apache.xmlbeans.XmlObject>
    • getBeanName

      public String getBeanName()
      Specified by:
      getBeanName in interface Named
    • setBeanName

      public void setBeanName(String beanName)
      Specified by:
      setBeanName in interface org.springframework.beans.factory.BeanNameAware
    • factory

      public org.apache.xmlbeans.impl.schema.DocumentFactory<org.apache.xmlbeans.XmlObject> factory()
      Specified by:
      factory in interface Factory<org.apache.xmlbeans.XmlObject>
    • getS2sUserAttachedForm

      public org.kuali.coeus.propdev.api.s2s.S2sUserAttachedFormContract getS2sUserAttachedForm()
      Specified by:
      getS2sUserAttachedForm in interface DynamicForm
    • setS2sUserAttachedForm

      public void setS2sUserAttachedForm(org.kuali.coeus.propdev.api.s2s.S2sUserAttachedFormContract s2sUserAttachedForm)
      Specified by:
      setS2sUserAttachedForm in interface DynamicForm
    • getS2sUserAttachedFormFile

      public org.kuali.coeus.propdev.api.s2s.S2sUserAttachedFormFileContract getS2sUserAttachedFormFile()
    • getSupportedS2SFormGenerator

      public Optional<S2SFormGenerator<?>> getSupportedS2SFormGenerator()
      Specified by:
      getSupportedS2SFormGenerator in interface DynamicForm
    • setSupportedS2SFormGenerator

      public void setSupportedS2SFormGenerator(Optional<S2SFormGenerator<?>> supportedS2SFormGenerator)
      Specified by:
      setSupportedS2SFormGenerator in interface DynamicForm