Uses of Class
com.avoka.fc.core.entity.TemplateVersion
-
Packages that use TemplateVersion Package Description com.avoka.fc.core.control Provides custom Apache Click control classes.com.avoka.fc.core.dao Provides the Data Access Objects used by SmartForm Manager.com.avoka.fc.core.entity Provides the SmartForm Manager entity classes.com.avoka.fc.core.entity.auto Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.com.avoka.fc.core.service Provides the SmartForm Manager service classes.com.avoka.fc.core.service.archive Provides the SmartForm Manager portal import and export service.com.avoka.fc.core.service.composer Provides the Composer HTML Form Archive Utils.com.avoka.fc.core.service.fluent Provides the Fluent Groovy API services.com.avoka.fc.core.service.form Provides classes for form services.com.avoka.fc.core.service.impl Provides the SmartForm Manager service class implementation.com.avoka.fc.core.service.insights Provides the Insighs integration services.com.avoka.fc.core.service.submission Provides submission service implementations.com.avoka.fc.core.service.test Provides web automated test services.com.avoka.fc.core.servlet Provides execution thread request context utility class.com.avoka.fc.core.util Provides common utility classes and exception objects.com.avoka.fc.core.util.xml Provides common XML related utility classes. -
-
Uses of TemplateVersion in com.avoka.fc.core.control
Constructors in com.avoka.fc.core.control with parameters of type TemplateVersion Constructor Description PDFPluginTag(String name, String pdfHref, TemplateVersion version)
Create a new PDFPluginTag object with the given parameters -
Uses of TemplateVersion in com.avoka.fc.core.dao
Methods in com.avoka.fc.core.dao that return TemplateVersion Modifier and Type Method Description TemplateVersion
TemplateVersionDao. getCurrentTemplateVersionForFormCode(String formCode)
Return the current template version for a specified formTemplateVersion
TemplateVersionDao. getTemplateVersionForForm(Form form, String versionNumber)
Return the template version for a specified form and version numberTemplateVersion
TemplateVersionDao. getTemplateVersionForFormCode(String formCode, String versionNumber)
Return the template version for a specified form and version numberTemplateVersion
TemplateVersionDao. getTemplateVersionForFormNoCache(Form form, String versionNumber)
Return the template version for a specified form and version numberTemplateVersion
TemplateVersionDao. getTemplateVersionFromPK(Object id)
Return the template version with the specified OIDTemplateVersion
TemplateVersionDao. getVersionForFormDesignVersion(Long formDesignVersionId)
Return the template version with the specified form design version OID.Methods in com.avoka.fc.core.dao that return types with arguments of type TemplateVersion Modifier and Type Method Description List<TemplateVersion>
TemplateVersionDao. getAll()
Return all template versions defined in the system, with no fetch limit and a limited page sizeList<TemplateVersion>
TemplateVersionDao. getDesignMetaDataVersionsToPublish()
Return the list TemplateVersions with Form Design Metadata to publish.List<TemplateVersion>
TemplateVersionDao. getLiveCycleTemplates()
Return the list of Template Versions which have a LC Form or LC Receipt and with a active form.List<TemplateVersion>
TemplateVersionDao. getTemplateVersionsWithNullMD5()
Return the list of template versions that are missing the md5 hash, with no fetch limit and a limited page sizeList<TemplateVersion>
TemplateVersionDao. getVersionsForForm(String formCode)
Return all versions for a form, sorted ascending by version numberList<TemplateVersion>
TemplateVersionDao. getVersionsForPromotion(Form form)
Return the list of template versions that have no promotion log recordsMethods in com.avoka.fc.core.dao with parameters of type TemplateVersion Modifier and Type Method Description void
TemplateVersionDao. copyTemplateVersionAttributes(TemplateVersion lastVersion, TemplateVersion newVersion)
Copy the last template version attributes and properties to the new template version.VersionPropertyValue
VersionPropertyValueDao. createVersionPropertyValue(TemplateVersion templateVersion, Form form, PropertyType propertyType, String value)
Creates a new VersionPropertyValue for the given form, version and property.VersionPropertyValue
VersionPropertyValueDao. createVersionPropertyValue(TemplateVersion templateVersion, Form form, PropertyType propertyType, String value, String longValue)
Deprecated.longValue no longer exists - useVersionPropertyValueDao.createVersionPropertyValue(TemplateVersion, Form, PropertyType, String)
instead.SchemaSeedVO
SchemaSeedDao. getCachedSchemaSeedVO(TemplateVersion version)
Gets the schema with the specific template version.List<VersionAttachment>
VersionAttachmentDao. getCachedVersionAttachments(TemplateVersion version)
Return the version attachment list for the given form version.String
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.TemplateVersionData
TemplateVersionDataDao. getDataForTemplateVersion(TemplateVersion templateVersion)
Return the template version data or a specified template versionString
VersionPropertyValueDao. 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.String
VersionMetadataValueDao. getMetadataValue(TemplateVersion version, String tagName)
Return the value of a metadata tag for the given template versionList<PromotionLog>
PromotionDao. 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.String
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.String
PropertyValueDao. getPropertyValue(String propertyName, TemplateVersion version)
Return the named property value searching for: Form Property > Client Property > Portal Property > Deployment Property.String
PropertyValueDao. getPropertyValue(String propertyName, TemplateVersion version, Portal portal)
Return the named property value searching for: Form Property > Client Property > Portal Property > Deployment Property.String
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.List<VersionPropertyValue>
VersionPropertyValueDao. getPropertyValues(TemplateVersion version, String scope)
Return the list of property values for a form version.SchemaSeed
SchemaSeedDao. getSchemaForVersion(TemplateVersion version)
Gets the schema with the specific template version.List<Map<String,Object>>
SubmissionExtractDataDao. getSubmissionExtractData(TemplateVersion version, Date startDate, Date endDate, boolean oldestFirst)
Returns the submission extract data map based on the template versionList<Map<String,Object>>
SubmissionExtractDataDao. 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.List<VersionPropertyValue>
VersionPropertyValueDao. getTemplateVersionPropertyValues(TemplateVersion templateVersion)
Return the TemplateVersions property value list.VersionAttachment
VersionAttachmentDao. getVersionAttachmentByName(TemplateVersion templateVersion, String name)
Return the version attachment for the given form version and attachment name.List<VersionAttachment>
VersionAttachmentDao. getVersionAttachments(TemplateVersion version)
Return the version attachment list for the given form version.VersionMetadataValue
VersionMetadataValueDao. getVersionMetadataValue(TemplateVersion version, String tagName)
Return the VersionMetadataValue object for the given template version and metadata tag nameVersionPropertyValue
VersionPropertyValueDao. getVersionPropertyValue(TemplateVersion version, String propertyName)
Return the VersionPropertyValue object for the given template version, property name and scope.VersionPropertyValue
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.String
PropertyValueDao. renderEmailStringTemplate(String templateValue, Map model, Client client, TemplateVersion version, Portal portal)
Render the template string value with the model using the Velocity engine.Method parameters in com.avoka.fc.core.dao with type arguments of type TemplateVersion Modifier and Type Method Description List<SubmissionTrendBean>
SubmissionDao. 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.List<SubmissionTrendBean>
SubmissionDao. getSubmissionOverviewData(Long clientId, String portalId, Collection<TemplateVersion> versions, String deviceType, String periodType, Date startDate, Date endDate)
Deprecated.SubmissionSummaryBean
SubmissionDao. getSubmissionSummaryData(Long clientId, String portalId, Collection<TemplateVersion> versions, boolean excludeJobsTasks, Date startDate, Date endDate)
Return live submission summary data for a time period.SubmissionSummaryBean
SubmissionDao. getSubmissionSummaryData(Long clientId, String portalId, Collection<TemplateVersion> versions, Date startDate, Date endDate)
Deprecated.List<SubmissionTrendBean>
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.List<SubmissionTrendBean>
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
Methods in com.avoka.fc.core.entity that return TemplateVersion Modifier and Type Method Description TemplateVersion
SubmissionHistory. getTemplateVersion()
Return the TemplateVersion.Methods in com.avoka.fc.core.entity with parameters of type TemplateVersion Modifier and Type Method Description void
Submission. setVersion(TemplateVersion version)
Set the form version. -
Uses of TemplateVersion in com.avoka.fc.core.entity.auto
Fields in com.avoka.fc.core.entity.auto with type parameters of type TemplateVersion Modifier and Type Field Description static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_DeliveryDetails. ABANDON_TEMPLATE_SUBMISSIONS
Provides the 'ABANDON_TEMPLATE_SUBMISSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. COMPLETED_PROCESSOR_TEMPLATES
Provides the 'COMPLETED_PROCESSOR_TEMPLATES' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_Form. CURRENT_VERSION
Provides the 'CURRENT_VERSION' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. EMAIL_VERSIONS
Provides the 'EMAIL_VERSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. EXPIRY_PROCESS_TEMPLATES
Provides the 'EXPIRY_PROCESS_TEMPLATES' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. FORM_PREFILL_TEMPLATES
Provides the 'FORM_PREFILL_TEMPLATES' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_FormCategory. FORM_VERSION
Provides the 'FORM_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_FormDesignVersion. FORM_VERSION
Provides the 'FORM_VERSION' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. JOB_CONTROLLER_VERSIONS
Provides the 'JOB_CONTROLLER_VERSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. PREPROCESSOR_TEMPLATE_VERSIONS
Provides the 'PREPROCESSOR_TEMPLATE_VERSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_DeliveryDetails. PROD_TEMPLATE_SUBMISSIONS
Provides the 'PROD_TEMPLATE_SUBMISSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. RECEIPT_RENDER_SERVICE
Provides the 'RECEIPT_RENDER_SERVICE' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. SAVED_PROCESSOR_VERSIONS
Provides the 'SAVED_PROCESSOR_VERSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. SECURITY_FILTER_VERSIONS
Provides the 'SECURITY_FILTER_VERSIONS' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_FormFunction. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_RequestLog. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_SubmissionHistory. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_TemplateVersionData. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_VersionAttachment. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_VersionMetadataValue. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_VersionPropertyValue. TEMPLATE_VERSION
Provides the 'TEMPLATE_VERSION' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_DeliveryDetails. TEST_TEMPLATE_SUBMISSIONS
Provides the 'TEST_TEMPLATE_SUBMISSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_DeliveryDetails. VALIDATION_TEMPLATE_SUBMISSIONS
Provides the 'VALIDATION_TEMPLATE_SUBMISSIONS' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_ServiceDefinition. VALIDATOR_TEMPLATES
Provides the 'VALIDATOR_TEMPLATES' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_Notification. VERSION
Provides the 'VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_PromotionLog. VERSION
Provides the 'VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_SchemaSeed. VERSION
Provides the 'VERSION' property.static org.apache.cayenne.exp.Property<TemplateVersion>
_Submission. VERSION
Provides the 'VERSION' property.static org.apache.cayenne.exp.Property<List<TemplateVersion>>
_Form. VERSIONS
Provides the 'VERSIONS' property.Methods in com.avoka.fc.core.entity.auto that return TemplateVersion Modifier and Type Method Description TemplateVersion
_Form. getCurrentVersion()
Return the CurrentVersion.TemplateVersion
_FormCategory. getFormVersion()
Return the FormVersion.TemplateVersion
_FormDesignVersion. getFormVersion()
Return the FormVersion.TemplateVersion
_FormFunction. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_RequestLog. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_SubmissionHistory. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_TemplateVersionData. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_VersionAttachment. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_VersionMetadataValue. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_VersionPropertyValue. getTemplateVersion()
Return the TemplateVersion.TemplateVersion
_Notification. getVersion()
Return the Version.TemplateVersion
_PromotionLog. getVersion()
Return the Version.TemplateVersion
_SchemaSeed. getVersion()
Return the Version.TemplateVersion
_Submission. getVersion()
Return the Version.Methods in com.avoka.fc.core.entity.auto that return types with arguments of type TemplateVersion Modifier and Type Method Description List<TemplateVersion>
_DeliveryDetails. getAbandonTemplateSubmissions()
Return the AbandonTemplateSubmissions.List<TemplateVersion>
_ServiceDefinition. getCompletedProcessorTemplates()
Return the CompletedProcessorTemplates.List<TemplateVersion>
_ServiceDefinition. getEmailVersions()
Return the EmailVersions.List<TemplateVersion>
_ServiceDefinition. getExpiryProcessTemplates()
Return the ExpiryProcessTemplates.List<TemplateVersion>
_ServiceDefinition. getFormPrefillTemplates()
Return the FormPrefillTemplates.List<TemplateVersion>
_ServiceDefinition. getJobControllerVersions()
Return the JobControllerVersions.List<TemplateVersion>
_ServiceDefinition. getPreprocessorTemplateVersions()
Return the PreprocessorTemplateVersions.List<TemplateVersion>
_DeliveryDetails. getProdTemplateSubmissions()
Return the ProdTemplateSubmissions.List<TemplateVersion>
_ServiceDefinition. getReceiptRenderService()
Return the ReceiptRenderService.List<TemplateVersion>
_ServiceDefinition. getSavedProcessorVersions()
Return the SavedProcessorVersions.List<TemplateVersion>
_ServiceDefinition. getSecurityFilterVersions()
Return the SecurityFilterVersions.List<TemplateVersion>
_DeliveryDetails. getTestTemplateSubmissions()
Return the TestTemplateSubmissions.List<TemplateVersion>
_DeliveryDetails. getValidationTemplateSubmissions()
Return the ValidationTemplateSubmissions.List<TemplateVersion>
_ServiceDefinition. getValidatorTemplates()
Return the ValidatorTemplates.List<TemplateVersion>
_Form. getVersions()
Return the Versions.Methods in com.avoka.fc.core.entity.auto with parameters of type TemplateVersion Modifier and Type Method Description void
_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
Fields in com.avoka.fc.core.service declared as TemplateVersion Modifier and Type Field Description TemplateVersion
SubmissionTaskService.FormTaskParam. templateVersion
The submission form version (optional)TemplateVersion
SubmissionTaskService.SavedFormParam. templateVersion
The submission form version (optional)Methods in com.avoka.fc.core.service with parameters of type TemplateVersion Modifier and Type Method Description Document
FormDataService. applyFormPrefillService(ServiceDefinition formPrefillSD, Document document, HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission)
Apply the form prefill service to the submission document.RequestLog
RequestLogService. createRequestLog(HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode)
Create a request log and register it with the data contextRequestLog
RequestLogService. createRequestLog(HttpServletRequest request, Form form, TemplateVersion templateVersion, Submission submission, UserAccount userAccount, String renderMode, boolean commitChanges)
Create a request log and register it with the data contextDouble
IComposerHtmlFormRenderService. getComposerFormVersion(HttpServletRequest request, Form form, TemplateVersion templateVersion)
Return the Composer Form version as major.minor version, e.g.static IComposerHtmlFormRenderService
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.String
IComposerHtmlFormRenderService. getRenderFormTemplateType(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.static ISubmissionPreprocessorService
ServiceLocator. getSubmissionPreprocessorServiceForTemplateVersion(TemplateVersion version)
Return the submission preprocessor service for a template version.void
IFormSecurityFilterService. performCheck(HttpServletRequest request, TemplateVersion version, Submission submission)
Validates a request for an in-progress submission.protected void
FormDataService. populateDynamicData(Document seedDocument, Form form, HttpServletRequest request, UserAccount userAccount, RequestLog requestLog, String referer, Submission submission, TemplateVersion templateVersion, SchemaSeedVO schemaSeed)
Populate any Dynamic data into the seed document.String
FormDataService. populateSeedXml(Form form, 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.Document
FormDataService. populateSeedXmlDoc(Form form, 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.String
FormDataService. populateSeedXmlFromSeed(Form form, 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.Document
FormDataService. populateSeedXmlFromSeedDoc(Form form, 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, 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, HttpServletRequest request, HttpServletResponse response, String targetUrl, RequestLog requestLog)
Render the Form using the given form, template version and XML data to the response.void
IRenderFormService. renderForm(TemplateVersion templateVersion, Form form, String xmlData, HttpServletRequest request, 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, 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, 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
Methods in com.avoka.fc.core.service.archive with parameters of type TemplateVersion Modifier and Type Method Description protected 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.use {@link this#getFormVersionKey(String, TemplateVersion) instead and explicitly pass the appropriate form code (generally either the archive form code during import or form.getClientFormCode() during export).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
Methods in com.avoka.fc.core.service.composer that return TemplateVersion Modifier and Type Method Description static TemplateVersion
ComposerPackageProviderUtils. getTemplateVersionFromRequest(HttpServletRequest request)
Return the user account for the given PID request.Methods in com.avoka.fc.core.service.composer with parameters of type TemplateVersion Modifier and Type Method Description static String
ComposerPackageProviderUtils. createPackageIdUrl(TemplateVersion formVersion, UserAccount userAccount, boolean encodeUrl)
Create a Package ID URL with for the given form version and user account.Double
ComposerHtmlFormRenderService. getComposerFormVersion(HttpServletRequest request, Form form, TemplateVersion templateVersion)
Return the Composer Form version as major.minor version, e.g.Double
JsAppComposerRenderAdapter. getComposerFormVersion(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.String
ComposerHtmlFormRenderService. getRenderFormTemplateType(HttpServletRequest request, Form form, TemplateVersion templateVersion)
Return the form template type [ 'desktop' | 'tablet' | 'phone' ] which will be rendered to the given request.String
JsAppComposerRenderAdapter. getRenderFormTemplateType(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, HttpServletRequest request, HttpServletResponse response, String targetUrl, RequestLog requestLog)
Render the Form using the given form, template version and XML data to the response.void
JsAppComposerRenderAdapter. renderForm(TemplateVersion templateVersion, Form form, String xmlData, HttpServletRequest request, HttpServletResponse response, String targetUrl, RequestLog requestLog)
This method provides a IComposerHtmlFormRenderService interface adaptor.void
JsAppFormRenderService. renderForm(TemplateVersion templateVersion, HttpServletRequest request, 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
Methods in com.avoka.fc.core.service.fluent that return TemplateVersion Modifier and Type Method Description TemplateVersion
FluentFormVersionSelectorService. getFormVersionToRender(Form form, HttpServletRequest request)
Select the form version that shall be used to fulfill a form render request.Methods in com.avoka.fc.core.service.fluent with parameters of type TemplateVersion Modifier and Type Method Description void
FluentFormSecurityFilterService. performCheck(HttpServletRequest request, TemplateVersion version, Submission submission)
Validates a request for an in-progress submission. -
Uses of TemplateVersion in com.avoka.fc.core.service.form
Methods in com.avoka.fc.core.service.form that return TemplateVersion Modifier and Type Method Description TemplateVersion
FormService. createTemplateVersion(TemplateVersionBean templateVersionBean)
Create a TemplateVersion instance from a given templateVersion Bean.TemplateVersion
CurrentVersionSelectorService. getFormVersionToRender(Form form, HttpServletRequest request)
Select the form version that shall be used to fulfill a form render request.TemplateVersion
FormService. getFormVersionToRender(Form form, HttpServletRequest request)
Returns the form version that shall be used to fulfil a form render request.TemplateVersion
GroovyFormVersionSelectorService. getFormVersionToRender(Form form, HttpServletRequest request)
Select the form version that shall be used to fulfil a form render request.TemplateVersion
IFormVersionSelectorService. getFormVersionToRender(Form form, HttpServletRequest request)
Select the form version that shall be used to fulfil a form render request.TemplateVersion
RandomFormVersionSelectorService. getFormVersionToRender(Form form, HttpServletRequest request)
Select the form version that shall be used to fulfill a form render request.TemplateVersion
FormService. getVersionWithHighestNumber(Form form)
Find the form version with the highest version number for the given form.Methods in com.avoka.fc.core.service.form with parameters of type TemplateVersion Modifier and Type Method Description void
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
Methods in com.avoka.fc.core.service.impl with parameters of type TemplateVersion Modifier and Type Method Description void
GroovyFormSecurityFilterService. performCheck(HttpServletRequest request, TemplateVersion version, Submission submission)
Validates a request for an in-progress submission. -
Uses of TemplateVersion in com.avoka.fc.core.service.insights
Methods in com.avoka.fc.core.service.insights with parameters of type TemplateVersion Modifier and Type Method Description static void
InsightsFormHelper. publishFormDesignMetadata(TemplateVersion tv)
Publish the form design metadata to the GCP endpoint. -
Uses of TemplateVersion in com.avoka.fc.core.service.submission
Methods in com.avoka.fc.core.service.submission with parameters of type TemplateVersion Modifier and Type Method Description byte[]
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
Methods in com.avoka.fc.core.service.test with parameters of type TemplateVersion Modifier and Type Method Description FormCategory
MockEntityService. addCategoryToVersion(TemplateVersion formVersion, Category category)
Add a category to a form version.VersionPropertyValue
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
Fields in com.avoka.fc.core.servlet declared as TemplateVersion Modifier and Type Field Description TemplateVersion
RenderServlet.RenderContext. templateVersion
Methods in com.avoka.fc.core.servlet with parameters of type TemplateVersion Modifier and Type Method Description static RequestLog
JsAppUtils. createRequestLog(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
Methods in com.avoka.fc.core.util that return TemplateVersion Modifier and Type Method Description static TemplateVersion
SubmissionUtils. getTemplateVersion(SubmissionDataBean submissionData)
Gets the template version given the submission data bean.Methods in com.avoka.fc.core.util with parameters of type TemplateVersion Modifier and Type Method Description static 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(HttpServletRequest request, Form form, TemplateVersion templateVersion)
Return true if the Composer HTML Form should be rendered directly.static boolean
FormUtils. isUseComposerHtmlForm(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
Methods in com.avoka.fc.core.util.xml with parameters of type TemplateVersion Modifier and Type Method Description void
SystemProfileHelper. setFormVersion(TemplateVersion templateVersion)
Deprecated.Constructors in com.avoka.fc.core.util.xml with parameters of type TemplateVersion Constructor Description SystemProfileHelper(Document document, TemplateVersion templateVersion)
Create a SystemProfileHelper for the given XML document.
-