public class AttachmentSample extends PersistableBusinessObjectBase implements PersistableAttachment, PersistableAttachmentList<MultiAttachmentSample>
extension, newCollectionRecord, objectId, versionNumber| Constructor and Description |
|---|
AttachmentSample() |
| Modifier and Type | Method and Description |
|---|---|
List |
buildListOfDeletionAwareLists()
If this method is not implemented appropriately for PersistableBusinessObject with collections, then PersistableBusinessObject with collections will not persist deletions correctly.
|
byte[] |
getAttachmentContent() |
org.apache.struts.upload.FormFile |
getAttachmentFile() |
List<MultiAttachmentSample> |
getAttachments() |
String |
getContentType() |
String |
getDescription() |
String |
getFileName() |
String |
getId() |
void |
setAttachmentContent(byte[] attachmentContent) |
void |
setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile) |
void |
setAttachments(List<MultiAttachmentSample> attachments) |
void |
setContentType(String contentType) |
void |
setDescription(String description) |
void |
setFileName(String fileName) |
void |
setId(String id) |
protected LinkedHashMap |
toStringMapper() |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getLegacyDataAdapter, getObjectId, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumbertoStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waittoStringpublic AttachmentSample()
public String getDescription()
public void setDescription(String description)
public String getFileName()
getFileName in interface PersistableAttachmentpublic void setFileName(String fileName)
setFileName in interface PersistableAttachmentpublic String getContentType()
getContentType in interface PersistableAttachmentpublic void setContentType(String contentType)
setContentType in interface PersistableAttachmentpublic byte[] getAttachmentContent()
getAttachmentContent in interface PersistableAttachmentpublic void setAttachmentContent(byte[] attachmentContent)
setAttachmentContent in interface PersistableAttachmentpublic org.apache.struts.upload.FormFile getAttachmentFile()
public void setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile)
public List<MultiAttachmentSample> getAttachments()
getAttachments in interface PersistableAttachmentList<MultiAttachmentSample>public void setAttachments(List<MultiAttachmentSample> attachments)
setAttachments in interface PersistableAttachmentList<MultiAttachmentSample>protected LinkedHashMap toStringMapper()
public List buildListOfDeletionAwareLists()
PersistableBusinessObjectbuildListOfDeletionAwareLists in interface PersistableBusinessObjectbuildListOfDeletionAwareLists in class PersistableBusinessObjectBaseCopyright © 2005–2016 The Kuali Foundation. All rights reserved.