Uses of Class
com.avoka.fc.core.entity.Attachment
Package
Description
Provides bean classes used internally by SmartForm Manager.
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.
Provides the SmartForm Manager service classes.
Provides the SmartForm Manager service class implementation.
Provides web automated test services.
Provides common utility classes and exception objects.
Provides Value Object persistent entity classes.
-
Uses of Attachment in com.avoka.fc.core.bean
ModifierConstructorDescriptionFileUploadAttachmentMetadata
(Attachment attachment) Create an FileUploadAttachmentMetadata from the given Attachment record. -
Uses of Attachment in com.avoka.fc.core.dao
Modifier and TypeMethodDescriptionSubmissionDao.copyAttachmentToSubmission
(Attachment attachment, Submission targetSubmission, RequiredAttachment targetRA) Copy the attachment to the specified submission, cloning the file upload data.AttachmentDao.getAttachmentForAttachmentKey
(String attachmentKey) Return the attachment for a specific attachment surrogate keyAttachmentDao.getAttachmentForAttachmentKey
(String clientKey, String attachmentKey) Return the attachment for a specific attachment surrogate key and clientAttachmentDao.getAttachmentForIdAndSubmission
(Long id) Return the attachment for the given attachment id.AttachmentDao.getAttachmentForIdAndSubmission
(Long id, Submission submission) Return the attachment for the given submission and attachment id.Modifier and TypeMethodDescriptionAttachmentDao.getSubmissionFileAttachments
(Submission submission) Return all attachments for a submission, also pre-fetching the associated file upload objectsModifier and TypeMethodDescriptionSubmissionDao.copyAttachmentToSubmission
(Attachment attachment, Submission targetSubmission, RequiredAttachment targetRA) Copy the attachment to the specified submission, cloning the file upload data. -
Uses of Attachment in com.avoka.fc.core.entity.auto
Modifier and TypeFieldDescriptionstatic final org.apache.cayenne.exp.Property<List<Attachment>>
_FileUpload.ATTACHMENTS
Provides the 'ATTACHMENTS' property.static final org.apache.cayenne.exp.Property<List<Attachment>>
_RequiredAttachment.ATTACHMENTS
Provides the 'ATTACHMENTS' property.static final org.apache.cayenne.exp.Property<List<Attachment>>
_Submission.ATTACHMENTS
Provides the 'ATTACHMENTS' property.Modifier and TypeMethodDescription_FileUpload.getAttachments()
Return the Attachments._RequiredAttachment.getAttachments()
Return the Attachments._Submission.getAttachments()
Return the Attachments.Modifier and TypeMethodDescriptionvoid
_FileUpload.addToAttachments
(Attachment obj) Add the Attachments object.void
_RequiredAttachment.addToAttachments
(Attachment obj) Add the Attachments object.void
_Submission.addToAttachments
(Attachment obj) Add the Attachments object.void
_FileUpload.removeFromAttachments
(Attachment obj) Remove the Attachments object.void
_RequiredAttachment.removeFromAttachments
(Attachment obj) Remove the Attachments object.void
_Submission.removeFromAttachments
(Attachment obj) Remove the Attachments object. -
Uses of Attachment in com.avoka.fc.core.service
Modifier and TypeMethodDescriptionAttachmentService.addAttachment
(Submission submission, String attachmentName, String fileName, byte[] fileData, String userDesciption) Add the specified file attachment to the submission.AttachmentService.addAttachment
(Submission submission, String attachmentName, String fileName, byte[] fileData, String fileType, String userDesciption) Add the specified file attachment to the submission.AttachmentService.addInFormAttachment
(Submission submission, byte[] fileData, String fileName, String contentType, RequiredAttachmentMetadata attachmentMetadata, String attachmentKey, boolean isTFieldAttachment) Add the specified fileData to the submission with the associated required attachment metadata.AttachmentService.addInFormAttachment
(Submission submission, String baseXPath, String filename, byte[] fileData) Adds an arbitrary file to as an in form attachment to the submission provided.AttachmentService.addInFormAttachment
(Submission submission, org.apache.commons.fileupload.FileItem fileItem, RequiredAttachmentMetadata attachmentMetadata, String attachmentKey) Add the specified FileItem to the submission with the associated required attachment metadata.AttachmentService.addInFormSubmitManuallyAttachment
(Submission submission, String attachmentKey, String attachmentName, String mandatoryStatus) Add the specified manually submitted required attachment.AttachmentService.addInFormSubmitManuallyAttachment
(Submission submission, String attachmentKey, String attachmentName, String mandatoryStatus, boolean isTFieldAttachment) Add the specified manually submitted required attachment.AttachmentService.addReceiptAsInFormAttachment
(Submission submission, Submission receiptSubmission, String baseXPath) Adds the receipt from a submission as an in form attachment to another submission.AttachmentService.saveArbitaryAttachmentForSubmission
(Submission submission, String type, String fileName, byte[] fileData, String mimeType, String description) Save an optional file attachment for a submission.Modifier and TypeMethodDescriptionvoid
AttachmentService.removeAttachmentForDynamicData
(Attachment attachment) Remove the submission attachment, file upload and file upload data, and the associated required attachment if only one defined.void
ISubmissionDeliveryController.setAttachmentDeliveryCompleted
(Attachment attachment, String dataHash) Set the attachment delivery status as completed. -
Uses of Attachment in com.avoka.fc.core.service.impl
Modifier and TypeMethodDescriptionvoid
SubmissionDeliveryControllerService.setAttachmentDeliveryCompleted
(Attachment attachment, String dataHash) Set the attachment delivery status as completed. -
Uses of Attachment in com.avoka.fc.core.service.test
Modifier and TypeMethodDescriptionMockEntityUtils.createElectronicAttachment
(Submission submission, String fileName, byte[] fileData, String fileUploadType) Create a basic delivery channel for the given client. -
Uses of Attachment in com.avoka.fc.core.util
Modifier and TypeMethodDescriptionstatic Attachment
DeliveryUtils.createAttachmentBean
(Attachment attachment) Creates an attachment bean representing anAttachment
object.static void
SubmissionUtils.logAttachmentEvent
(Submission submission, Attachment attachment, HttpServletRequest request, String msg) Log the submission attachment event. -
Uses of Attachment in com.avoka.tm.vo
ModifierConstructorDescriptionFileAttach
(Attachment attachment) Create a file attachment value object.