Uses of Class
com.avoka.fc.core.entity.RequiredAttachment
Package
Description
Provides the Data Access Objects used by SmartForm Manager.
Provides the SmartForm Manager entity classes.
Provides the SmartForm Manager entity base classes, which are being maintained by Cayenne.
Provides the SmartForm Manager service classes.
-
Uses of RequiredAttachment in com.avoka.fc.core.dao
Modifier and TypeMethodDescriptionRequiredAttachmentDao.createOrUpdateManuallySubmittedRequiredAttachment
(Submission submission, String attachmentName, String mandatoryStatus) Create or update a manually submitted RequiredAttachment record for the submission with the name and mandatory status.RequiredAttachmentDao.createOrUpdateRequiredAttachment
(Submission submission, RequiredAttachmentMetadata metadata) Create or update a RequiredAttachment record for the submission with the specified required attachment metadata.RequiredAttachmentDao.createOrUpdateRequiredAttachment
(Submission submission, String attachmentName) Create or update a RequiredAttachment record for the submission with the specified required attachment name.RequiredAttachmentDao.getRequiredAttachmentForPK
(Object id) Return the required attachment for the given idRequiredAttachmentDao.getRequiredAttachmentForSubmission
(Submission submission, String attachmentName) Return the required attachment for the given submission and attachment name.Modifier and TypeMethodDescriptionSubmissionDao.getMandatoryRequiredAttachments
(Submission submission) Return the list of mandatory required attachments for the given submissionSubmissionDao.getOptionalRequiredAttachments
(Submission submission) Return the list of optional required attachments for the given submissionModifier and TypeMethodDescriptionSubmissionDao.copyAttachmentToSubmission
(Attachment attachment, Submission targetSubmission, RequiredAttachment targetRA) Copy the attachment to the specified submission, cloning the file upload data.void
SubmissionDao.copyRequiredAttachmentToSubmission
(RequiredAttachment requiredAttachment, Submission targetSubmission) Copy the required attachment to the specified submission, cloning the associated attachment and file data.void
SubmissionDao.copyRequiredAttachmentToSubmission
(RequiredAttachment requiredAttachment, Submission targetSubmission, Document targetXmlDoc) Copy the required attachment to the specified submission, cloning the associated attachment and file data. -
Uses of RequiredAttachment in com.avoka.fc.core.entity
Modifier and TypeMethodDescriptionSubmission.getRequiredAttachmentMap()
Return a map of submission required attachments (attachment name/required attachment). -
Uses of RequiredAttachment in com.avoka.fc.core.entity.auto
Modifier and TypeFieldDescriptionstatic final org.apache.cayenne.exp.Property
<RequiredAttachment> _Attachment.REQUIRED_ATTACHMENT
Provides the 'REQUIRED_ATTACHMENT' property.static final org.apache.cayenne.exp.Property
<List<RequiredAttachment>> _Submission.REQUIRED_ATTACHMENTS
Provides the 'REQUIRED_ATTACHMENTS' property.Modifier and TypeMethodDescription_Attachment.getRequiredAttachment()
Return the RequiredAttachment.Modifier and TypeMethodDescription_Submission.getRequiredAttachments()
Return the RequiredAttachments.Modifier and TypeMethodDescriptionvoid
_Submission.addToRequiredAttachments
(RequiredAttachment obj) Add the RequiredAttachments object.void
_Submission.removeFromRequiredAttachments
(RequiredAttachment obj) Remove the RequiredAttachments object.void
_Attachment.setRequiredAttachment
(RequiredAttachment requiredAttachment) Set the RequiredAttachment. -
Uses of RequiredAttachment in com.avoka.fc.core.service
Modifier and TypeMethodDescriptionvoid
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.