Uses of Class
com.avoka.fc.core.util.ApplicationException
Package
Description
Provides bean classes used internally by SmartForm Manager.
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity classes.
Provides classes related to security and authentication.
Provides the SmartForm Manager service classes.
Provides the Composer HTML Form Archive Utils.
Provides the Email Client Services.
Provides the Fluent Groovy API services.
Provides classes for form services.
Provides the SmartForm Manager service class implementation.
Provides classes for iText PDF receipt rendering services.
Provides classes for PhantomJS PDF receipt rendering services.
Provides submission data storage service implementations.
Provides submission service implementations.
Provides web automated test services.
Provides execution thread request context utility class.
Provides form Dynamic Data operation handler classes.
Provides common utility classes and exception objects.
-
Uses of ApplicationException in com.avoka.fc.core.bean
Modifier and TypeFieldDescriptionUserBulkImportResult.error
If the import itself fails with a fatal error, this value will be set to the errorModifier and TypeMethodDescriptionvoid
UserBulkImportResult.failImport
(ApplicationException ae) Marks the import as failed and stores the exception describing the failure -
Uses of ApplicationException in com.avoka.fc.core.dao
Modifier and TypeMethodDescriptionDeploymentPropertyDao.getPropertyValue
(String name) Return the current value of the deployment property with the given name.SubmissionPropertyDao.getPropertyValue
(Submission submission, String propertyName) Return the value of a submission propertyboolean
DeploymentPropertyDao.getPropertyValueBoolean
(String name) Returns the value of the deployment property as a boolean valueint
DeploymentPropertyDao.getPropertyValueInt
(String name) Return the value of the deployment property as an int valuelong
DeploymentPropertyDao.getPropertyValueLong
(String name) Return the value of the deployment property as a long valueSecurityManagerDao.getSecurityManagerForPortal
(Portal portal) Return the Security Manager for the given portal, or the default Security Manager if non associated.ServiceDefinitionDao.getServiceDefinitionDefaultForType
(String serviceType) Return the default service definition for the given service typeServiceDefinitionDao.getServiceDefinitionForName
(String serviceName) Deprecated.use getClientService(Long, String, Integer) insteadSubmissionDao.getSubmissionByReceiptNumber
(String receiptNumber) Return a submission with the specified receipt numberSubmissionDao.getSubmissionByTrackingNumber
(String trackingNumber) Return a submission with the specified tracking numbervoid
SubmissionPropertyDao.setPropertyValue
(Submission submission, String propertyName, String propertyValue) Set a property related to a submission, creating the property if necessary -
Uses of ApplicationException in com.avoka.fc.core.entity
-
Uses of ApplicationException in com.avoka.fc.core.security
Modifier and TypeMethodDescriptionISecurityManagerService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, Map<String, String> profileMap, String authenticationDomain, String userType, boolean isSelfRegistration) Create a new user account and profileSecurityManagerService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, Map<String, String> profileMap, String authenticationDomain, String userType, boolean isSelfRegistration) Create a new user account and profilevoid
UserBulkImportParser.validateHeader()
Validate the header of the worksheet. -
Uses of ApplicationException in com.avoka.fc.core.service
Modifier and TypeMethodDescriptionprotected ApplicationException
AbstractGroovyService.createExceptionAndLog
(Date startTime, com.jezhumble.javasysmon.CpuTimes startCpuTimes, Long startFreeMemory, Throwable cause, String context, String userMsg, String solution, Submission submission, Form form, Client client) Create application exception and optionally log ErrorLog and GroovyServiceLog records if Groovy Logging enabled.Modifier and TypeMethodDescriptionUserService.createLocalUserAndLogin
(String loginName, String password, String email, String givenName, String familyName, String mobile, Portal portal) Create a Local type UserAccount and log them in with the Spring Security Context, and return the new account.UserService.createSsoUserAccount
(String loginName, String email, String givenName, String familyName, Map<String, String> profileMap) Create an SSO type user account and profile with the given details.UserService.createUpdateSsoUserAccount
(String loginName, String email, String givenName, String familyName, Map<String, String> profileMap) Looks for and existing SSO userAccount for the portal.UserService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String authenticationDomain, String userType, Portal portal, boolean isSelfRegistration) Create a registered user with a default profile from the given user details.UserService.createUserAndProfile
(String loginName, String email, String password, String givenName, String familyName, String mobile, String authenticationDomain, String userType, Portal portal, boolean isSelfRegistration) Create a registered user with a default profile from the given user details.void
SubmissionService.expireTaskSubmission
(Submission submission) Expires the given task submission and calls the expiry REST endpoint, if defined.ISubmissionDataExtractionService.extractData
(HttpServletRequest request, HttpServletResponse response) Return the submission data for the given form submission request.protected abstract DataDocument
AbstractRenderReceiptService.getReceiptDocument
(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode) Return the PDF Receipt DataDocument for the submission, request and requestLog.protected DataDocument
LocalProcessRenderReceiptService.getReceiptDocument
(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode) ReceiptDataService.getReceiptXml
(Submission submission) Returns the receipt xml data for a submission If a submission has no receipt data but does have submission data, the receipt data will be generated from the form data.static ISecurityManagerService
ServiceFactory.getSecurityManagerService
(Portal portal) Return a SecurityManagerService instance for the given portal.boolean
IAuthenticationService.isUserInFormGroups
(HttpServletRequest request) Return true if the user is in one or more form group.boolean
IAuthenticationService.isUserInGroups
(HttpServletRequest request, Set<String> groupNames) Return true if the user for the given request belongs to one of the specified groups.boolean
IAuthenticationService.isUserInJobGroups
(HttpServletRequest request, Set<String> groupNames) Return true if the user for the given request belongs to one of the specified job groups.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.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.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.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.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.byte[]
AbstractRenderReceiptService.renderReceipt
(Submission submission, String mode) Return a PDF Receipt byte array rendered from the submission.void
AbstractRenderReceiptService.renderReceipt
(Submission submission, HttpServletRequest request, HttpServletResponse response, RequestLog requestLog) Render the PDF Receipt given the submission.byte[]
IRenderReceiptService.renderReceipt
(Submission submission, String mode) Return a PDF Receipt byte array rendered from the submission.void
IRenderReceiptService.renderReceipt
(Submission submission, HttpServletRequest request, HttpServletResponse response, RequestLog requestLog) Render the PDF Receipt given the submission.void
AttachmentService.saveFileForRequiredAttachment
(String fileName, byte[] fileData, String contentType, String description, RequiredAttachment requiredAttachment, String attachmentKey) Save the uploaded fileItem for form submission requiredAttachmet.void
AttachmentService.saveFileForRequiredAttachment
(org.apache.commons.fileupload.FileItem fileItem, String description, RequiredAttachment requiredAttachment) Save the uploaded fileItem for form submission requiredAttachmet. -
Uses of ApplicationException in com.avoka.fc.core.service.composer
Modifier and TypeMethodDescriptionvoid
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
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 ApplicationException in com.avoka.fc.core.service.email
Modifier and TypeMethodDescriptionprotected ApplicationException
GroovyEmailService.createExceptionAndLog
(Date startTime, com.jezhumble.javasysmon.CpuTimes startCpuTimes, Long startFreeMemory, Throwable cause, String context, String userMsg, String solution, Submission submission, Form form, Client client) Create application exception and optionally log ErrorLog and GroovyServiceLog records if Groovy Logging enabled. -
Uses of ApplicationException in com.avoka.fc.core.service.fluent
Modifier and TypeMethodDescriptionprotected ApplicationException
AbstractFluentService.createExceptionAndLog
(Date startTime, com.jezhumble.javasysmon.CpuTimes startCpuTimes, Long startFreeMemory, Throwable cause, String context, String userMsg, String solution, JobAction jobAction, Submission submission, Form form, String functionTrigger) Create application exception and optionally log ErrorLog and GroovyServiceLog records if Groovy Logging enabled.Modifier and TypeMethodDescriptionbyte[]
FluentRenderReceiptService.renderReceipt
(Submission submission, String mode) Return a PDF Receipt byte array rendered from the submission.void
FluentRenderReceiptService.renderReceipt
(Submission submission, HttpServletRequest request, HttpServletResponse response, RequestLog requestLog) Render the PDF Receipt given the submission. -
Uses of ApplicationException in com.avoka.fc.core.service.form
Modifier and TypeMethodDescriptionFormService.getFormVersionToRender
(Form form, HttpServletRequest request) Returns the form version that shall be used to fulfil a form render request. -
Uses of ApplicationException in com.avoka.fc.core.service.impl
Modifier and TypeMethodDescriptionboolean
AuthenticationServiceImpl.isUserInFormGroups
(HttpServletRequest request) Return true if the user is in one or more form group.boolean
AuthenticationServiceImpl.isUserInGroups
(HttpServletRequest request, Set<String> groups) Return true if the user for the given request belongs to one of the specified groups.boolean
AuthenticationServiceImpl.isUserInJobGroups
(HttpServletRequest request, Set<String> groups) Return true if the user for the given request belongs to one of the specified job groups.byte[]
GroovyRenderReceiptService.renderReceipt
(Submission submission, String mode) Return a PDF Receipt byte array rendered from the submission.void
GroovyRenderReceiptService.renderReceipt
(Submission submission, HttpServletRequest request, HttpServletResponse response, RequestLog requestLog) Render the PDF Receipt given the submission. -
Uses of ApplicationException in com.avoka.fc.core.service.itext
Modifier and TypeMethodDescriptionprotected DataDocument
AcroFormRenderReceiptService.getReceiptDocument
(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode) -
Uses of ApplicationException in com.avoka.fc.core.service.phantomjs
Modifier and TypeMethodDescriptionprotected DataDocument
PhantomJSRenderReceiptService.getReceiptDocument
(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode) -
Uses of ApplicationException in com.avoka.fc.core.service.storage
Modifier and TypeMethodDescriptionprotected ApplicationException
CloudSubmissionDataStorageService.createAndLogException
(Exception error, Submission submission, String method, String storageUrl, String encoding) -
Uses of ApplicationException in com.avoka.fc.core.service.submission
Modifier and TypeMethodDescriptionSubmissionDataExtractionService.extractData
(HttpServletRequest request, HttpServletResponse response) Return the submission data for the given form submission request.void
IFormSavedProcessor.onSubmissionSaved
(HttpServletRequest request, Submission submission, String submissionXML) This event handler is invoked when the submission has saved. -
Uses of ApplicationException in com.avoka.fc.core.service.test
Modifier and TypeMethodDescriptionbyte[]
BlankTestReceiptService.renderReceipt
(Submission submission, String mode) Return a PDF Receipt byte array of a blank PDF receipt.void
BlankTestReceiptService.renderReceipt
(Submission submission, HttpServletRequest request, HttpServletResponse response, RequestLog requestLog) Render a blank PDF Receipt for testing purposes. -
Uses of ApplicationException in com.avoka.fc.core.servlet
Modifier and TypeMethodDescriptionprotected void
BaseServlet.sendRedirect
(HttpServletRequest request, HttpServletResponse response, String path) protected void
SubmissionServlet.sendRedirect
(HttpServletRequest request, HttpServletResponse response, String path) -
Uses of ApplicationException in com.avoka.fc.core.servlet.dd
Modifier and TypeMethodDescriptionprotected void
RenderReceiptHandler.sendRedirect
(HttpServletRequest request, HttpServletResponse response, String path) -
Uses of ApplicationException in com.avoka.fc.core.util
Modifier and TypeClassDescriptionclass
Provides an email-related exception.class
Provides an exception related to errors during electronic attachment upload.class
Provides an exception indicating that a form instance was unexpectedly submitted multiple times.class
Provides an error that is used during payment when the response from the payment server was unexpected or faulty.class
Provides a Submission Complete Processor Exception class.class
Provides a submission related exception storing the form and submitted data.class
Provides an exception indicating that an entity (such as a form) is not supported by this TM version.Modifier and TypeMethodDescriptionTxnExecutor.execute
(TxnExecutor.IFunction function) Execute the given function inside a Cayenne transaction.static String
PortalUtils.getDefaultPortalPath
(String pathName) Return a URL locating a portal page on the default portal.static String
Returns a URL locating a portal page on a given portal.XPath.selectNodes
(String xpath) Select multiple nodes using the given XPathXPath.selectSingleNode
(String xpath) Select a single node using the given XPath