Uses of Class
com.avoka.fc.core.entity.TemplateVersion
Package
Description
Provides custom Apache Click control classes.
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity classes.
Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.
Provides the SmartForm Manager service classes.
Provides the SmartForm Manager portal import and export service.
Provides the Composer HTML Form Archive Utils.
Provides the Fluent Groovy API services.
Provides classes for form services.
Provides the SmartForm Manager service class implementation.
Provides the Insighs integration services.
Provides submission service implementations.
Provides web automated test services.
Provides execution thread request context utility class.
Provides common utility classes and exception objects.
Provides common XML related utility classes.
Provides Value Object persistent entity classes.
-
Uses of TemplateVersion in com.avoka.fc.core.control
ModifierConstructorDescriptionPDFPluginTag
(String name, String pdfHref, TemplateVersion version) Create a new PDFPluginTag object with the given parameters -
Uses of TemplateVersion in com.avoka.fc.core.dao
Modifier and TypeMethodDescriptionTemplateVersionDao.getCurrentTemplateVersionForFormCode
(String formCode) Return the current template version for a specified formTemplateVersionDao.getTemplateVersionForForm
(Form form, String versionNumber) Return the template version for a specified form and version numberTemplateVersionDao.getTemplateVersionForFormCode
(String formCode, String versionNumber) Return the template version for a specified form and version numberTemplateVersionDao.getTemplateVersionForFormNoCache
(Form form, String versionNumber) Return the template version for a specified form and version numberTemplateVersionDao.getTemplateVersionFromPK
(Object id) Return the template version with the specified OIDTemplateVersionDao.getVersionForFormDesignVersion
(Long formDesignVersionId) Return the template version with the specified form design version OID.Modifier and TypeMethodDescriptionTemplateVersionDao.getAll()
Return all template versions defined in the system, with no fetch limit and a limited page sizeTemplateVersionDao.getDesignMetaDataVersionsToPublish()
Return the list TemplateVersions with Form Design Metadata to publish.TemplateVersionDao.getLiveCycleTemplates()
Return the list of Template Versions which have a LC Form or LC Receipt and with a active form.TemplateVersionDao.getTemplateVersionsWithNullMD5()
Return the list of template versions that are missing the md5 hash, with no fetch limit and a limited page sizeTemplateVersionDao.getVersionsForForm
(String formCode) Return all versions for a form, sorted ascending by version numberTemplateVersionDao.getVersionsForPromotion
(Form form) Return the list of template versions that have no promotion log recordsModifier and TypeMethodDescriptionvoid
TemplateVersionDao.copyTemplateVersionAttributes
(TemplateVersion lastVersion, TemplateVersion newVersion) Copy the last template version attributes and properties to the new template version.VersionPropertyValueDao.createVersionPropertyValue
(TemplateVersion templateVersion, Form form, PropertyType propertyType, String value) Creates a new VersionPropertyValue for the given form, version and property.VersionPropertyValueDao.createVersionPropertyValue
(TemplateVersion templateVersion, Form form, PropertyType propertyType, String value, String longValue) Deprecated.SchemaSeedDao.getCachedSchemaSeedVO
(TemplateVersion version) Gets the schema with the specific template version.VersionAttachmentDao.getCachedVersionAttachments
(TemplateVersion version) Return the version attachment list for the given form version.VersionPropertyValueDao.getClientPropertyValue
(TemplateVersion version, String propertyName) Return the value of a client scope property for the given template version Note: Property names are only unique within a scope.TemplateVersionDataDao.getDataForTemplateVersion
(TemplateVersion templateVersion) Return the template version data or a specified template versionVersionPropertyValueDao.getFormPropertyValue
(TemplateVersion version, String propertyName) Return the value of a form scope property for the given template version Note: Property names are only unique within a scope.VersionMetadataValueDao.getMetadataValue
(TemplateVersion version, String tagName) Return the value of a metadata tag for the given template versionPromotionDao.getPromotionList
(Client client, Form form, TemplateVersion version, boolean showHistory) Return the list of promotion log records matching the specified search criteria, ordered by creation time.PropertyValueDao.getPropertyValue
(String propertyName, Client client, TemplateVersion version, Portal portal) Return the named property value searching for: Form Property > Client Property > Portal Property > Deployment Property.PropertyValueDao.getPropertyValue
(String propertyName, TemplateVersion version) Return the named property value searching for: Form Property > Client Property > Portal Property > Deployment Property.PropertyValueDao.getPropertyValue
(String propertyName, TemplateVersion version, Portal portal) Return the named property value searching for: Form Property > Client Property > Portal Property > Deployment Property.VersionPropertyValueDao.getPropertyValue
(TemplateVersion version, String propertyName, String scope) Return the value of a property for the given template version Note: Property names are only unique within a scope.VersionPropertyValueDao.getPropertyValues
(TemplateVersion version, String scope) Return the list of property values for a form version.SchemaSeedDao.getSchemaForVersion
(TemplateVersion version) Gets the schema with the specific template version.SubmissionExtractDataDao.getSubmissionExtractData
(TemplateVersion version, Date startDate, Date endDate, boolean oldestFirst) Returns the submission extract data map based on the template versionSubmissionExtractDataDao.getSubmissionExtractData
(TemplateVersion version, Set<String> formStatusValues, Date startDate, Date endDate, boolean oldestFirst) Return the submission data extract maps (one map per submission containing all data extract key-value pairs as well as some submission information) for a template version, filtered by submission form status and a time period.VersionPropertyValueDao.getTemplateVersionPropertyValues
(TemplateVersion templateVersion) Return the TemplateVersions property value list.VersionAttachmentDao.getVersionAttachmentByName
(TemplateVersion templateVersion, String name) Return the version attachment for the given form version and attachment name.VersionAttachmentDao.getVersionAttachments
(TemplateVersion version) Return the version attachment list for the given form version.VersionMetadataValueDao.getVersionMetadataValue
(TemplateVersion version, String tagName) Return the VersionMetadataValue object for the given template version and metadata tag nameVersionPropertyValueDao.getVersionPropertyValue
(TemplateVersion version, String propertyName) Return the VersionPropertyValue object for the given template version, property name and scope.VersionPropertyValueDao.getVersionPropertyValue
(TemplateVersion version, String propertyName, String scope) Return the VersionPropertyValue object for the given template version, property name and scope.boolean
TemplateVersionDao.hasRequiredAttachments
(TemplateVersion version) Return true if the template version has required version attachments.PropertyValueDao.renderEmailStringTemplate
(String templateValue, Map model, Client client, TemplateVersion version, Portal portal) Render the template string value with the model using the Velocity engine.Modifier and TypeMethodDescriptionSubmissionDao.getSubmissionOverviewData
(Long clientId, String portalId, Collection<TemplateVersion> versions, String deviceType, boolean excludeJobsTasks, String periodType, Date startDate, Date endDate) Return live submission overview data for a time period.SubmissionDao.getSubmissionOverviewData
(Long clientId, String portalId, Collection<TemplateVersion> versions, String deviceType, String periodType, Date startDate, Date endDate) Deprecated.SubmissionDao.getSubmissionSummaryData
(Long clientId, String portalId, Collection<TemplateVersion> versions, boolean excludeJobsTasks, Date startDate, Date endDate) Return live submission summary data for a time period.SubmissionDao.getSubmissionSummaryData
(Long clientId, String portalId, Collection<TemplateVersion> versions, Date startDate, Date endDate) Deprecated.SubmissionDao.getSubmissionTrendData
(Long clientId, String portalId, Collection<TemplateVersion> versions, String deviceType, String periodType, boolean excludeJobsTasks, Date startDate, Date endDate) Return live submission trend data for a time period and period type and optionally a specific form version.SubmissionDao.getSubmissionTrendData
(Long clientId, String portalId, Collection<TemplateVersion> versions, String deviceType, String periodType, Date startDate, Date endDate) Deprecated. -
Uses of TemplateVersion in com.avoka.fc.core.entity
Modifier and TypeMethodDescriptionSubmissionHistory.getTemplateVersion()
Return the TemplateVersion.Modifier and TypeMethodDescriptionvoid
Submission.setVersion
(TemplateVersion version) Set the form version. -
Uses of TemplateVersion in com.avoka.fc.core.entity.auto
Modifier and TypeFieldDescriptionstatic final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _DeliveryDetails.ABANDON_TEMPLATE_SUBMISSIONS
Provides the 'ABANDON_TEMPLATE_SUBMISSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.COMPLETED_PROCESSOR_TEMPLATES
Provides the 'COMPLETED_PROCESSOR_TEMPLATES' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _Form.CURRENT_VERSION
Provides the 'CURRENT_VERSION' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.EMAIL_VERSIONS
Provides the 'EMAIL_VERSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.EXPIRY_PROCESS_TEMPLATES
Provides the 'EXPIRY_PROCESS_TEMPLATES' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.FORM_PREFILL_TEMPLATES
Provides the 'FORM_PREFILL_TEMPLATES' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _FormCategory.FORM_VERSION
Provides the 'FORM_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _FormDesignVersion.FORM_VERSION
Provides the 'FORM_VERSION' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.JOB_CONTROLLER_VERSIONS
Provides the 'JOB_CONTROLLER_VERSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.PREPROCESSOR_TEMPLATE_VERSIONS
Provides the 'PREPROCESSOR_TEMPLATE_VERSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _DeliveryDetails.PROD_TEMPLATE_SUBMISSIONS
Provides the 'PROD_TEMPLATE_SUBMISSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.RECEIPT_RENDER_SERVICE
Provides the 'RECEIPT_RENDER_SERVICE' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.SAVED_PROCESSOR_VERSIONS
Provides the 'SAVED_PROCESSOR_VERSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.SECURITY_FILTER_VERSIONS
Provides the 'SECURITY_FILTER_VERSIONS' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _FormFunction.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _RequestLog.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _SubmissionHistory.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _TemplateVersionData.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _VersionAttachment.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _VersionMetadataValue.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _VersionPropertyValue.TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _DeliveryDetails.TEST_TEMPLATE_SUBMISSIONS
Provides the 'TEST_TEMPLATE_SUBMISSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _DeliveryDetails.VALIDATION_TEMPLATE_SUBMISSIONS
Provides the 'VALIDATION_TEMPLATE_SUBMISSIONS' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _ServiceDefinition.VALIDATOR_TEMPLATES
Provides the 'VALIDATOR_TEMPLATES' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _Notification.VERSION
Provides the 'VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _PromotionLog.VERSION
Provides the 'VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _SchemaSeed.VERSION
Provides the 'VERSION' property.static final org.apache.cayenne.exp.Property
<TemplateVersion> _Submission.VERSION
Provides the 'VERSION' property.static final org.apache.cayenne.exp.Property
<List<TemplateVersion>> _Form.VERSIONS
Provides the 'VERSIONS' property.Modifier and TypeMethodDescription_Form.getCurrentVersion()
Return the CurrentVersion._FormCategory.getFormVersion()
Return the FormVersion._FormDesignVersion.getFormVersion()
Return the FormVersion._FormFunction.getTemplateVersion()
Return the TemplateVersion._RequestLog.getTemplateVersion()
Return the TemplateVersion._SubmissionHistory.getTemplateVersion()
Return the TemplateVersion._TemplateVersionData.getTemplateVersion()
Return the TemplateVersion._VersionAttachment.getTemplateVersion()
Return the TemplateVersion._VersionMetadataValue.getTemplateVersion()
Return the TemplateVersion._VersionPropertyValue.getTemplateVersion()
Return the TemplateVersion._Notification.getVersion()
Return the Version._PromotionLog.getVersion()
Return the Version._SchemaSeed.getVersion()
Return the Version._Submission.getVersion()
Return the Version.Modifier and TypeMethodDescription_DeliveryDetails.getAbandonTemplateSubmissions()
Return the AbandonTemplateSubmissions._ServiceDefinition.getCompletedProcessorTemplates()
Return the CompletedProcessorTemplates._ServiceDefinition.getEmailVersions()
Return the EmailVersions._ServiceDefinition.getExpiryProcessTemplates()
Return the ExpiryProcessTemplates._ServiceDefinition.getFormPrefillTemplates()
Return the FormPrefillTemplates._ServiceDefinition.getJobControllerVersions()
Return the JobControllerVersions._ServiceDefinition.getPreprocessorTemplateVersions()
Return the PreprocessorTemplateVersions._DeliveryDetails.getProdTemplateSubmissions()
Return the ProdTemplateSubmissions._ServiceDefinition.getReceiptRenderService()
Return the ReceiptRenderService._ServiceDefinition.getSavedProcessorVersions()
Return the SavedProcessorVersions._ServiceDefinition.getSecurityFilterVersions()
Return the SecurityFilterVersions._DeliveryDetails.getTestTemplateSubmissions()
Return the TestTemplateSubmissions._DeliveryDetails.getValidationTemplateSubmissions()
Return the ValidationTemplateSubmissions._ServiceDefinition.getValidatorTemplates()
Return the ValidatorTemplates._Form.getVersions()
Return the Versions.Modifier and TypeMethodDescriptionvoid
_DeliveryDetails.addToAbandonTemplateSubmissions
(TemplateVersion obj) Add the AbandonTemplateSubmissions object.void
_ServiceDefinition.addToCompletedProcessorTemplates
(TemplateVersion obj) Add the CompletedProcessorTemplates object.void
_ServiceDefinition.addToEmailVersions
(TemplateVersion obj) Add the EmailVersions object.void
_ServiceDefinition.addToExpiryProcessTemplates
(TemplateVersion obj) Add the ExpiryProcessTemplates object.void
_ServiceDefinition.addToFormPrefillTemplates
(TemplateVersion obj) Add the FormPrefillTemplates object.void
_ServiceDefinition.addToJobControllerVersions
(TemplateVersion obj) Add the JobControllerVersions object.void
_ServiceDefinition.addToPreprocessorTemplateVersions
(TemplateVersion obj) Add the PreprocessorTemplateVersions object.void
_DeliveryDetails.addToProdTemplateSubmissions
(TemplateVersion obj) Add the ProdTemplateSubmissions object.void
_ServiceDefinition.addToReceiptRenderService
(TemplateVersion obj) Add the ReceiptRenderService object.void
_ServiceDefinition.addToSavedProcessorVersions
(TemplateVersion obj) Add the SavedProcessorVersions object.void
_ServiceDefinition.addToSecurityFilterVersions
(TemplateVersion obj) Add the SecurityFilterVersions object.void
_DeliveryDetails.addToTestTemplateSubmissions
(TemplateVersion obj) Add the TestTemplateSubmissions object.void
_DeliveryDetails.addToValidationTemplateSubmissions
(TemplateVersion obj) Add the ValidationTemplateSubmissions object.void
_ServiceDefinition.addToValidatorTemplates
(TemplateVersion obj) Add the ValidatorTemplates object.void
_Form.addToVersions
(TemplateVersion obj) Add the Versions object.void
_DeliveryDetails.removeFromAbandonTemplateSubmissions
(TemplateVersion obj) Remove the AbandonTemplateSubmissions object.void
_ServiceDefinition.removeFromCompletedProcessorTemplates
(TemplateVersion obj) Remove the CompletedProcessorTemplates object.void
_ServiceDefinition.removeFromEmailVersions
(TemplateVersion obj) Remove the EmailVersions object.void
_ServiceDefinition.removeFromExpiryProcessTemplates
(TemplateVersion obj) Remove the ExpiryProcessTemplates object.void
_ServiceDefinition.removeFromFormPrefillTemplates
(TemplateVersion obj) Remove the FormPrefillTemplates object.void
_ServiceDefinition.removeFromJobControllerVersions
(TemplateVersion obj) Remove the JobControllerVersions object.void
_ServiceDefinition.removeFromPreprocessorTemplateVersions
(TemplateVersion obj) Remove the PreprocessorTemplateVersions object.void
_DeliveryDetails.removeFromProdTemplateSubmissions
(TemplateVersion obj) Remove the ProdTemplateSubmissions object.void
_ServiceDefinition.removeFromReceiptRenderService
(TemplateVersion obj) Remove the ReceiptRenderService object.void
_ServiceDefinition.removeFromSavedProcessorVersions
(TemplateVersion obj) Remove the SavedProcessorVersions object.void
_ServiceDefinition.removeFromSecurityFilterVersions
(TemplateVersion obj) Remove the SecurityFilterVersions object.void
_DeliveryDetails.removeFromTestTemplateSubmissions
(TemplateVersion obj) Remove the TestTemplateSubmissions object.void
_DeliveryDetails.removeFromValidationTemplateSubmissions
(TemplateVersion obj) Remove the ValidationTemplateSubmissions object.void
_ServiceDefinition.removeFromValidatorTemplates
(TemplateVersion obj) Remove the ValidatorTemplates object.void
_Form.removeFromVersions
(TemplateVersion obj) Remove the Versions object.void
_Form.setCurrentVersion
(TemplateVersion currentVersion) Set the CurrentVersion.void
_FormCategory.setFormVersion
(TemplateVersion formVersion) Set the FormVersion.void
_FormDesignVersion.setFormVersion
(TemplateVersion formVersion) Set the FormVersion.void
_FormFunction.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_RequestLog.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_SubmissionHistory.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_TemplateVersionData.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_VersionAttachment.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_VersionMetadataValue.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_VersionPropertyValue.setTemplateVersion
(TemplateVersion templateVersion) Set the TemplateVersion.void
_Notification.setVersion
(TemplateVersion version) Set the Version.void
_PromotionLog.setVersion
(TemplateVersion version) Set the Version.void
_SchemaSeed.setVersion
(TemplateVersion version) Set the Version.void
_Submission.setVersion
(TemplateVersion version) Set the Version. -
Uses of TemplateVersion in com.avoka.fc.core.service
Modifier and TypeFieldDescriptionSubmissionTaskService.FormTaskParam.templateVersion
The submission form version (optional)SubmissionTaskService.SavedFormParam.templateVersion
The submission form version (optional)Modifier and TypeMethodDescriptionFormDataService.applyFormPrefillService
(ServiceDefinition formPrefillSD, Document document, jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission) Apply the form prefill service to the submission document.RequestLogService.createRequestLog
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode) Create a request log and register it with the data contextRequestLogService.createRequestLog
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode, boolean commitChanges) Create a request log and register it with the data contextIComposerHtmlFormRenderService.getComposerFormVersion
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) Return the Composer Form version as major.minor version, e.g.ServiceLocator.getComposerHtmlFormRenderService
(TemplateVersion version) Return the HTML form render service for the given form template version.static IJobController
ServiceLocator.getJobController
(TemplateVersion templateVersion) Return the Job Controller service for the given form template version, or null if service not associated.IComposerHtmlFormRenderService.getRenderFormTemplateType
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) Return the form template type [ 'desktop' | 'tablet' | 'phone' ] which will be rendered to the given request.static IFormSecurityFilterService
ServiceLocator.getSecurityFilterServiceForVersion
(TemplateVersion version) Return the form security filter service for a template version.ServiceLocator.getSubmissionPreprocessorServiceForTemplateVersion
(TemplateVersion version) Return the submission preprocessor service for a template version.void
IFormSecurityFilterService.performCheck
(jakarta.servlet.http.HttpServletRequest request, TemplateVersion version, Submission submission) Validates a request for an in-progress submission.protected void
FormDataService.populateDynamicData
(Document seedDocument, Form form, jakarta.servlet.http.HttpServletRequest request, UserAccount userAccount, RequestLog requestLog, String referer, Submission submission, TemplateVersion templateVersion, SchemaSeedVO schemaSeed) Populate any Dynamic data into the seed document.FormDataService.populateSeedXml
(Form form, jakarta.servlet.http.HttpServletRequest request, String xmlPrefillData, boolean userAccountPrefill, TemplateVersion templateVersion, RequestLog requestLog, String referer, Submission submission) Return a populated form seed XML document, populated with the form specific attachments, client properties, user properties and system properties.FormDataService.populateSeedXmlDoc
(Form form, jakarta.servlet.http.HttpServletRequest request, String xmlPrefillData, boolean userAccountPrefill, TemplateVersion version, RequestLog requestLog, String referer, Submission submission) Return a populated form seed XML document, populated with the form specific attachments, client properties, user properties and system properties.FormDataService.populateSeedXmlFromSeed
(Form form, jakarta.servlet.http.HttpServletRequest request, String seedFileString, boolean userAccountPrefill, TemplateVersion templateVersion, RequestLog requestLog, String referer, Submission submission) Return a populated form seed XML document, using the input seed XML and adding the system profile and user specific data Note that this method contains database transactions.FormDataService.populateSeedXmlFromSeedDoc
(Form form, jakarta.servlet.http.HttpServletRequest request, String seedFileString, boolean userAccountPrefill, TemplateVersion version, RequestLog requestLog, String referer, Submission submission) Return a populated form seed XML document, using the input seed XML and adding the system profile and user specific data Note that this method contains database transactions.protected void
FormDataService.populateSystemProfile
(Document seedDocument, Form form, jakarta.servlet.http.HttpServletRequest request, UserAccount userAccount, RequestLog requestLog, String referer, Submission submission, TemplateVersion templateVersion) Populate the system profile information in the XML seed document.void
FormDataService.populateVersionAttachments
(Document seedDocument, Form form, TemplateVersion templateVersion, SchemaSeed schemaSeed) Populate the form seed document with the form version attachments.void
FormDataService.populateVersionPropertyValues
(Document seedDocument, Form form, TemplateVersion templateVersion, SchemaSeed schemaSeed) Populate the form seed document with the form version property value.boolean
IFormPDFPreRenderService.preRenderPdf
(TemplateVersion templateVersion) Pre-render any TemplateVersion XDP form data converting it into an PDF form and updating the TemplateVersion.void
IComposerHtmlFormRenderService.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) Render the Form using the given form, template version and XML data to the response.void
IComposerHtmlFormRenderService.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog, Submission submission) Render the Form using the given form, template version and XML data to the response.void
IRenderFormService.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) Render the Form using the given form, template version and XML data to the response.protected String
AbstractRenderReceiptService.updateReceiptMode
(String xmlData, TemplateVersion templateVersion, jakarta.servlet.http.HttpServletRequest request) Return the updated form submission XML data with the correct receipt mode for the receipt rendering context.protected String
AbstractRenderReceiptService.updateReceiptMode
(String xmlData, TemplateVersion templateVersion, jakarta.servlet.http.HttpServletRequest request, String mode) Return the updated form submission XML data with the correct receipt mode for the receipt rendering context. -
Uses of TemplateVersion in com.avoka.fc.core.service.archive
Modifier and TypeMethodDescriptionprotected void
BaseArchiveService.addForm
(ZipOutputStream zos, Form form, TemplateVersion version, Element parentElement) protected void
BaseArchiveService.addFormFunctions
(TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addSchemaSeed
(Form form, TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addTemplateVersion
(Form form, TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addTemplateVersionData
(TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addVersionAttachments
(Form form, TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addVersionCategories
(TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addVersionMetadataValues
(Form form, TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addVersionPropertyValues
(Form form, TemplateVersion version, ZipOutputStream zos, Element parentElement) protected void
BaseArchiveService.addXmlPrefillMaps
(TemplateVersion version, SchemaSeed schemaSeed, ZipOutputStream zos, Element parentElement) protected BaseArchiveService.FormData
ApplicationPackageArchiveService.getFormData
(Element formElement, Form form, TemplateVersion version) protected BaseArchiveService.FormData
BaseArchiveService.getFormData
(Element formElement, Form form, TemplateVersion version) protected BaseArchiveService.FormData
FormVersionArchiveService.getFormData
(Element formElement, Form form, TemplateVersion version) protected String
BaseArchiveService.getFormVersionKey
(Form form, TemplateVersion version) Deprecated.useinvalid @link
{@link this#getFormVersionKey(String, TemplateVersion)
protected String
BaseArchiveService.getFormVersionKey
(String formCode, TemplateVersion version) Make sure to pass in the appropriate form code.protected String
FormVersionArchiveService.getFormVersionKey
(String formCode, TemplateVersion version) protected void
BaseArchiveService.importFormFunctions
(TemplateVersion version, Element parentElement, List<String> warnings) protected void
BaseArchiveService.importSchemaSeed
(Form form, TemplateVersion version, Element formElement, Element parentElement, List<String> warnings) protected void
BaseArchiveService.importTemplateVersionData
(Element formElement, TemplateVersion templateVersion) protected void
BaseArchiveService.importVersionAttachments
(Form form, TemplateVersion version, Element parentElement, List<String> warnings) protected void
BaseArchiveService.importVersionCategories
(Form form, TemplateVersion version, Element parentElement, List<String> warnings) protected void
BaseArchiveService.importVersionMetadata
(Form form, TemplateVersion version, Element parentElement, List<String> warnings) protected void
BaseArchiveService.importVersionProperties
(Form form, TemplateVersion version, Element parentElement, List<String> warnings) protected void
BaseArchiveService.updateUnifiedAppFlagAndDoc
(TemplateVersion formTemplateVersion) -
Uses of TemplateVersion in com.avoka.fc.core.service.composer
Modifier and TypeMethodDescriptionstatic TemplateVersion
ComposerPackageProviderUtils.getTemplateVersionFromRequest
(jakarta.servlet.http.HttpServletRequest request) Return the user account for the given PID request.Modifier and TypeMethodDescriptionstatic String
ComposerPackageProviderUtils.createPackageIdUrl
(TemplateVersion formVersion, UserAccount userAccount, boolean encodeUrl) Create a Package ID URL with for the given form version and user account.ComposerHtmlFormRenderService.getComposerFormVersion
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) Return the Composer Form version as major.minor version, e.g.JsAppComposerRenderAdapter.getComposerFormVersion
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.static FormArchive
FormArchiveCache.getFormArchive
(TemplateVersion templateVersion, Form form, Map properties, String resourcesContext) Return the cached form archive for the specified form and template version.ComposerHtmlFormRenderService.getRenderFormTemplateType
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) Return the form template type [ 'desktop' | 'tablet' | 'phone' ] which will be rendered to the given request.JsAppComposerRenderAdapter.getRenderFormTemplateType
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) This interface adaptor method does nothing.static String
FormArchiveCache.getResourceContext
(Portal portal, Form form, TemplateVersion templateVersion) Return the resource context.void
ComposerHtmlFormRenderService.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) Render the Form using the given form, template version and XML data to the response.void
ComposerHtmlFormRenderService.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog, Submission submission) Render the Form using the given form, template version and XML data to the response.void
JsAppComposerRenderAdapter.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog) This method provides a IComposerHtmlFormRenderService interface adaptor.void
JsAppComposerRenderAdapter.renderForm
(TemplateVersion templateVersion, Form form, String xmlData, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, String targetUrl, RequestLog requestLog, Submission submission) This method provides a IComposerHtmlFormRenderService interface adaptor.void
JsAppFormRenderService.renderForm
(TemplateVersion templateVersion, jakarta.servlet.http.HttpServletRequest request, jakarta.servlet.http.HttpServletResponse response, RequestLog requestLog) Render the Form using the given form, template version and XML data to the response. -
Uses of TemplateVersion in com.avoka.fc.core.service.fluent
Modifier and TypeMethodDescriptionFluentFormVersionSelectorService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Select the form version that shall be used to fulfill a form render request.Modifier and TypeMethodDescriptionvoid
FluentFormSecurityFilterService.performCheck
(jakarta.servlet.http.HttpServletRequest request, TemplateVersion version, Submission submission) Validates a request for an in-progress submission. -
Uses of TemplateVersion in com.avoka.fc.core.service.form
Modifier and TypeMethodDescriptionFormService.createTemplateVersion
(TemplateVersionBean templateVersionBean) Create a TemplateVersion instance from a given templateVersion Bean.CurrentVersionSelectorService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Select the form version that shall be used to fulfill a form render request.FormService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Returns the form version that shall be used to fulfil a form render request.GroovyFormVersionSelectorService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Select the form version that shall be used to fulfil a form render request.IFormVersionSelectorService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Select the form version that shall be used to fulfil a form render request.RandomFormVersionSelectorService.getFormVersionToRender
(Form form, jakarta.servlet.http.HttpServletRequest request) Select the form version that shall be used to fulfill a form render request.FormService.getVersionWithHighestNumber
(Form form) Find the form version with the highest version number for the given form.Modifier and TypeMethodDescriptionvoid
FormService.ensureHasValidReceiptRenderService
(TemplateVersion templateVersion) Ensure the form template has a valid receipt render service for the current server, if the template version has not receipt render service defined.boolean
FormService.initialiseFarDataVersion
(TemplateVersion version) Initialise the FAR data version attribute for a form version, if not already populated.void
FormService.initialiseTemplateVersion
(TemplateVersion templateVersion, Form form) Initialises the version properties and metadata values for a new template version, based on existing client properties and metadata values Note that this method assumes that the template version does not yet have any version property values or metadata values for the given form.static String
TemplateDesignMetadataPublisher.publishMetadata
(TemplateVersion tv) Publish the TemplateVersion Form Design Metadata (FDM).void
FormService.updateVersionCategories
(TemplateVersion version, Collection<String> categoryIds) Updates the form version to be associated with the specified set of categories. -
Uses of TemplateVersion in com.avoka.fc.core.service.impl
Modifier and TypeMethodDescriptionvoid
GroovyFormSecurityFilterService.performCheck
(jakarta.servlet.http.HttpServletRequest request, TemplateVersion version, Submission submission) Validates a request for an in-progress submission. -
Uses of TemplateVersion in com.avoka.fc.core.service.insights
Modifier and TypeMethodDescriptionstatic void
InsightsFormHelper.publishFormDesignMetadata
(TemplateVersion tv) Publish the form design metadata to the GCP endpoint. -
Uses of TemplateVersion in com.avoka.fc.core.service.submission
Modifier and TypeMethodDescriptionbyte[]
SubmissionExtractDataService.getCondensedExtractDataAsXLS
(TemplateVersion version, Date startDate, Date endDate, boolean zipOutput) Return an Excel spreadsheet that contains the submission extract data for a form version and date range.byte[]
SubmissionExtractDataService.getExtractDataXlsForFormStatus
(TemplateVersion version, Set<String> formStatusValues, Date startDate, Date endDate, boolean zipOutput) Return an Excel spreadsheet that contains the submission extract data for a form version, a set of submission form status values and date range. -
Uses of TemplateVersion in com.avoka.fc.core.service.test
Modifier and TypeMethodDescriptionMockEntityService.addCategoryToVersion
(TemplateVersion formVersion, Category category) Add a category to a form version.MockEntityService.createVersionProperty
(TemplateVersion version, PropertyType propertyType, String value) Create a version property value for a form version and property type. -
Uses of TemplateVersion in com.avoka.fc.core.servlet
Modifier and TypeMethodDescriptionstatic RequestLog
JsAppUtils.createRequestLog
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion version, Submission submission, Date requestTime) Create a RequestLog record for the given request. -
Uses of TemplateVersion in com.avoka.fc.core.util
Modifier and TypeMethodDescriptionstatic TemplateVersion
SubmissionUtils.getTemplateVersion
(SubmissionDataBean submissionData) Gets the template version given the submission data bean.Modifier and TypeMethodDescriptionstatic String
PortalUtils.getFormRenderURL
(Form form, TemplateVersion templateVersion, boolean includePDFParams) Return the form render URL including PDF open parameters if a PDF formstatic String
PortalUtils.getFormRenderURL
(String portalContext, TemplateVersion version) Return the URL to access a rendered form.static String
PortalUtils.getSaveChallengeUrl
(Portal portal, TemplateVersion version) Provide a return to form saved challenge URL.static String
PortalUtils.getSecureFormRenderURL
(TemplateVersion version, Portal portal) Return the URL to access a rendered form.static boolean
FormUtils.hasFormRenderCapacity
(TemplateVersion templateVersion) Return true if the server has capacity and to render the given form template.static boolean
FormUtils.isUseComposerHtmlDirectRender
(jakarta.servlet.http.HttpServletRequest request, Form form, TemplateVersion templateVersion) Return true if the Composer HTML Form should be rendered directly.static boolean
FormUtils.isUseComposerHtmlForm
(jakarta.servlet.http.HttpServletRequest request, TemplateVersion templateVersion) Return true if the TemplateVersion has a Composer HTML Form and it should be used for the given request. -
Uses of TemplateVersion in com.avoka.fc.core.util.xml
Modifier and TypeMethodDescriptionvoid
SystemProfileHelper.setFormVersion
(TemplateVersion templateVersion) Deprecated.ModifierConstructorDescriptionSystemProfileHelper
(Document document, TemplateVersion templateVersion) Create a SystemProfileHelper for the given XML document. -
Uses of TemplateVersion in com.avoka.tm.vo
ModifierConstructorDescriptionFormVersion
(TemplateVersion version) Create a Form Version value object with the given version entity parameter.
VersionPropertyValueDao.createVersionPropertyValue(TemplateVersion, Form, PropertyType, String)
instead.