Uses of Class
com.avoka.fc.core.entity.Attachment
-
Packages that use Attachment 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.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.impl Provides the SmartForm Manager service class implementation.com.avoka.fc.core.service.test Provides web automated test services.com.avoka.fc.core.util Provides common utility classes and exception objects.com.avoka.tm.vo 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 Attachment Constructor Description FileUploadAttachmentMetadata(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 Attachment Modifier and Type Method Description Attachment
SubmissionDao. copyAttachmentToSubmission(Attachment attachment, Submission targetSubmission, RequiredAttachment targetRA)
Copy the attachment to the specified submission, cloning the file upload data.Attachment
AttachmentDao. getAttachmentForAttachmentKey(String attachmentKey)
Return the attachment for a specific attachment surrogate keyAttachment
AttachmentDao. getAttachmentForAttachmentKey(String clientKey, String attachmentKey)
Return the attachment for a specific attachment surrogate key and clientAttachment
AttachmentDao. getAttachmentForIdAndSubmission(Long id)
Return the attachment for the given attachment id.Attachment
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 Attachment Modifier and Type Method Description List<Attachment>
AttachmentDao. 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 Attachment Modifier and Type Method Description Attachment
SubmissionDao. 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 Attachment Modifier and Type Field Description static org.apache.cayenne.exp.Property<List<Attachment>>
_FileUpload. ATTACHMENTS
Provides the 'ATTACHMENTS' property.static org.apache.cayenne.exp.Property<List<Attachment>>
_RequiredAttachment. ATTACHMENTS
Provides the 'ATTACHMENTS' property.static 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 Attachment Modifier and Type Method Description List<Attachment>
_FileUpload. getAttachments()
Return the Attachments.List<Attachment>
_RequiredAttachment. getAttachments()
Return the Attachments.List<Attachment>
_Submission. getAttachments()
Return the Attachments.Methods in com.avoka.fc.core.entity.auto with parameters of type Attachment Modifier and Type Method Description void
_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 Attachment Modifier and Type Method Description Attachment
AttachmentService. addAttachment(Submission submission, String attachmentName, String fileName, byte[] fileData, String userDesciption)
Add the specified file attachment to the submission.Attachment
AttachmentService. addAttachment(Submission submission, String attachmentName, String fileName, byte[] fileData, String fileType, String userDesciption)
Add the specified file attachment to the submission.Attachment
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.Attachment
AttachmentService. addInFormAttachment(Submission submission, String baseXPath, String filename, byte[] fileData)
Adds an arbitrary file to as an in form attachment to the submission provided.Attachment
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.Attachment
AttachmentService. addInFormSubmitManuallyAttachment(Submission submission, String attachmentKey, String attachmentName, String mandatoryStatus)
Add the specified manually submitted required attachment.Attachment
AttachmentService. addInFormSubmitManuallyAttachment(Submission submission, String attachmentKey, String attachmentName, String mandatoryStatus, boolean isTFieldAttachment)
Add the specified manually submitted required attachment.Attachment
AttachmentService. addReceiptAsInFormAttachment(Submission submission, Submission receiptSubmission, String baseXPath)
Adds the receipt from a submission as an in form attachment to another submission.Attachment
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 Attachment Modifier and Type Method Description void
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 Attachment Modifier and Type Method Description void
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 Attachment Modifier and Type Method Description Attachment
MockEntityUtils. 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 Attachment Modifier and Type Method Description static 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
Constructors in com.avoka.tm.vo with parameters of type Attachment Constructor Description FileAttach(Attachment attachment)
Create a file attachment value object.
-