Class AttachmentPersistBuildData
java.lang.Object
de.xima.fc.mdl.attachment.AttachmentPersistBuildData
- All Implemented Interfaces:
Serializable
POJO class used when a form with uploads was submitted. Describes which newly uploaded files need to be persisted,
which existing attachments need to be deleted, and which existing attachments need to be preserved.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic interfacestatic interface -
Method Summary
-
Method Details
-
getToDelete
- Returns:
- List of existing attachments that need to be deleted.
-
getToPersist
- Returns:
- List of newly uploaded attachments that need to be persisted.
-
getUserName
- Returns:
- Username of the user who initiated the persist process.
-
empty
- Returns:
- a new instance with the passed user name as the initiator of the persist process and empty immutable 'toDelete' and 'toPersist' lists
-