Package de.xima.fc.mdl.attachment
Class AttachmentPersistData
- java.lang.Object
-
- de.xima.fc.mdl.attachment.AttachmentPersistData
-
- All Implemented Interfaces:
Serializable
public class AttachmentPersistData extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AttachmentPersistData
forExistingAttachment(Attachment attachment, String oldFileName)
static AttachmentPersistData
forNewAttachment(Attachment attachment)
Attachment
getAttachment()
String
getOldFileName()
-
-
-
Method Detail
-
getAttachment
public Attachment getAttachment()
-
getOldFileName
@Nullable public String getOldFileName()
-
forNewAttachment
public static AttachmentPersistData forNewAttachment(Attachment attachment)
-
forExistingAttachment
public static AttachmentPersistData forExistingAttachment(Attachment attachment, String oldFileName)
-
-