Uses of Class
com.avoka.fc.core.util.ApplicationException
-
Packages that use ApplicationException Package Description com.avoka.fc.core.bean Provides bean classes used internally by SmartForm Manager.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.security Provides classes related to security and authentication.com.avoka.fc.core.service Provides the SmartForm Manager service classes.com.avoka.fc.core.service.composer Provides the Composer HTML Form Archive Utils.com.avoka.fc.core.service.email Provides the Email Client Services.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.itext Provides classes for iText PDF receipt rendering services.com.avoka.fc.core.service.phantomjs Provides classes for PhantomJS PDF receipt rendering services.com.avoka.fc.core.service.storage Provides submission data storage service implementations.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.servlet.dd Provides form Dynamic Data operation handler classes.com.avoka.fc.core.util Provides common utility classes and exception objects. -
-
Uses of ApplicationException in com.avoka.fc.core.bean
Fields in com.avoka.fc.core.bean declared as ApplicationException Modifier and Type Field Description ApplicationException
UserBulkImportResult. error
If the import itself fails with a fatal error, this value will be set to the errorMethods in com.avoka.fc.core.bean with parameters of type ApplicationException Modifier and Type Method Description void
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
Methods in com.avoka.fc.core.dao that throw ApplicationException Modifier and Type Method Description String
DeploymentPropertyDao. getPropertyValue(String name)
Return the current value of the deployment property with the given name.String
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 valueSecurityManager
SecurityManagerDao. getSecurityManagerForPortal(Portal portal)
Return the Security Manager for the given portal, or the default Security Manager if non associated.ServiceDefinition
ServiceDefinitionDao. getServiceDefinitionDefaultForType(String serviceType)
Return the default service definition for the given service typeServiceDefinition
ServiceDefinitionDao. getServiceDefinitionForName(String serviceName)
Deprecated.use getClientService(Long, String, Integer) insteadSubmission
SubmissionDao. getSubmissionByReceiptNumber(String receiptNumber)
Return a submission with the specified receipt numberSubmission
SubmissionDao. 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
Methods in com.avoka.fc.core.entity that throw ApplicationException Modifier and Type Method Description void
SubmissionExtractData. setValue(String value)
Deprecated. -
Uses of ApplicationException in com.avoka.fc.core.security
Methods in com.avoka.fc.core.security that throw ApplicationException Modifier and Type Method Description UserAccount
ISecurityManagerService. 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 profileUserAccount
SecurityManagerService. 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
Methods in com.avoka.fc.core.service that return ApplicationException Modifier and Type Method Description protected 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.Methods in com.avoka.fc.core.service that throw ApplicationException Modifier and Type Method Description UserAccount
UserService. 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.UserAccount
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.UserAccount
UserService. createUpdateSsoUserAccount(String loginName, String email, String givenName, String familyName, Map<String,String> profileMap)
Looks for and existing SSO userAccount for the portal.UserAccount
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.UserAccount
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.SubmissionDataBean
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)
String
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.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.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
Methods in com.avoka.fc.core.service.composer that throw ApplicationException Modifier and Type Method Description 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
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
Methods in com.avoka.fc.core.service.email that return ApplicationException Modifier and Type Method Description protected 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
Methods in com.avoka.fc.core.service.fluent that return ApplicationException Modifier and Type Method Description protected 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.Methods in com.avoka.fc.core.service.fluent that throw ApplicationException Modifier and Type Method Description byte[]
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
Methods in com.avoka.fc.core.service.form that throw ApplicationException Modifier and Type Method Description TemplateVersion
FormService. 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
Methods in com.avoka.fc.core.service.impl that throw ApplicationException Modifier and Type Method Description boolean
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
Methods in com.avoka.fc.core.service.itext that throw ApplicationException Modifier and Type Method Description protected DataDocument
AcroFormRenderReceiptService. getReceiptDocument(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode)
-
Uses of ApplicationException in com.avoka.fc.core.service.phantomjs
Methods in com.avoka.fc.core.service.phantomjs that throw ApplicationException Modifier and Type Method Description protected DataDocument
PhantomJSRenderReceiptService. getReceiptDocument(Submission submission, HttpServletRequest request, RequestLog requestLog, String receiptMode)
-
Uses of ApplicationException in com.avoka.fc.core.service.storage
Methods in com.avoka.fc.core.service.storage that return ApplicationException Modifier and Type Method Description protected ApplicationException
CloudSubmissionDataStorageService. createAndLogException(Exception error, Submission submission, String method, String storageUrl, String encoding)
-
Uses of ApplicationException in com.avoka.fc.core.service.submission
Methods in com.avoka.fc.core.service.submission that throw ApplicationException Modifier and Type Method Description SubmissionDataBean
SubmissionDataExtractionService. 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
Methods in com.avoka.fc.core.service.test that throw ApplicationException Modifier and Type Method Description byte[]
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
Methods in com.avoka.fc.core.servlet that throw ApplicationException Modifier and Type Method Description protected 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
Methods in com.avoka.fc.core.servlet.dd that throw ApplicationException Modifier and Type Method Description protected void
RenderReceiptHandler. sendRedirect(HttpServletRequest request, HttpServletResponse response, String path)
-
Uses of ApplicationException in com.avoka.fc.core.util
Subclasses of ApplicationException in com.avoka.fc.core.util Modifier and Type Class Description class
ApplicationEmailException
Provides an email-related exception.class
ApplicationFileUploadException
Provides an exception related to errors during electronic attachment upload.class
DuplicateSubmissionException
Provides an exception indicating that a form instance was unexpectedly submitted multiple times.class
PaymentResponseException
Provides an error that is used during payment when the response from the payment server was unexpected or faulty.class
SubmissionCompleteProcessorException
Provides a Submission Complete Processor Exception class.class
SubmissionException
Provides a submission related exception storing the form and submitted data.class
UnsupportedVersionException
Provides an exception indicating that an entity (such as a form) is not supported by this TM version.Methods in com.avoka.fc.core.util that throw ApplicationException Modifier and Type Method Description Object
TxnExecutor. 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
PortalUtils. getPath(Portal portal, String pageName)
Returns a URL locating a portal page on a given portal.List
XPath. selectNodes(String xpath)
Select multiple nodes using the given XPathElement
XPath. selectSingleNode(String xpath)
Select a single node using the given XPath
-