public abstract class AttachmentDataSource extends KraPersistableBusinessObjectBase
UPDATE_USER_LENGTH| Constructor and Description |
|---|
AttachmentDataSource() |
| Modifier and Type | Method and Description |
|---|---|
abstract byte[] |
getContent()
This method requires sub classes to define a byteArray that represents the content of the attachment.
|
String |
getContentType() |
String |
getFileName() |
void |
setContentType(String contentType) |
void |
setFileName(String fileName) |
getAuthorPersonName, getKcPersonService, getUpdateTimestamp, getUpdateUser, isUpdateUserSet, postPersist, prePersist, preUpdate, setUpdateTimestamp, setUpdateUser, setUpdateUserSetafterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postRemove, postUpdate, preRemove, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumberpublic String getFileName()
public void setFileName(String fileName)
public String getContentType()
public void setContentType(String contentType)
public abstract byte[] getContent()
Copyright © 2013 The Kuali Foundation. All Rights Reserved.