Uses of Class
com.avoka.fc.core.entity.Attachment
Packages that use 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
Constructors in com.avoka.fc.core.bean with parameters of type AttachmentModifierConstructorDescriptionFileUploadAttachmentMetadata
(Attachment attachment) Create an FileUploadAttachmentMetadata from the given Attachment record. -
Uses of Attachment in com.avoka.fc.core.dao
Methods in com.avoka.fc.core.dao that return AttachmentModifier 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.Methods in com.avoka.fc.core.dao that return types with arguments of type AttachmentModifier and TypeMethodDescriptionAttachmentDao.getSubmissionFileAttachments
(Submission submission) Return all attachments for a submission, also pre-fetching the associated file upload objectsMethods in com.avoka.fc.core.dao with parameters of type AttachmentModifier 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
Fields in com.avoka.fc.core.entity.auto with type parameters of type AttachmentModifier 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.Methods in com.avoka.fc.core.entity.auto that return types with arguments of type AttachmentModifier and TypeMethodDescription_FileUpload.getAttachments()
Return the Attachments._RequiredAttachment.getAttachments()
Return the Attachments._Submission.getAttachments()
Return the Attachments.Methods in com.avoka.fc.core.entity.auto with parameters of type AttachmentModifier 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
Methods in com.avoka.fc.core.service that return AttachmentModifier 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.Methods in com.avoka.fc.core.service with parameters of type AttachmentModifier 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
Methods in com.avoka.fc.core.service.impl with parameters of type AttachmentModifier 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
Methods in com.avoka.fc.core.service.test that return AttachmentModifier 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
Methods in com.avoka.fc.core.util with parameters of type AttachmentModifier and TypeMethodDescriptionstatic Attachment
DeliveryUtils.createAttachmentBean
(Attachment attachment) Creates an attachment bean representing anAttachment
object.static void
SubmissionUtils.logAttachmentEvent
(Submission submission, Attachment attachment, jakarta.servlet.http.HttpServletRequest request, String msg) Log the submission attachment event. -
Uses of Attachment in com.avoka.tm.vo
Constructors in com.avoka.tm.vo with parameters of type AttachmentModifierConstructorDescriptionFileAttach
(Attachment attachment) Create a file attachment value object.