Package org.kuali.rice.krad.bo
Class PersistableAttachmentBase
java.lang.Object
org.kuali.rice.krad.bo.DataObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
org.kuali.rice.krad.bo.PersistableAttachmentBase
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.GloballyUnique,org.kuali.rice.core.api.mo.common.Versioned,PersistableAttachment
- Direct Known Subclasses:
DocumentAttachment,MultiDocumentAttachment
@MappedSuperclass
public class PersistableAttachmentBase
extends PersistableBusinessObjectBaseAdapter
implements PersistableAttachment
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
extension, newCollectionRecordFields inherited from class org.kuali.rice.krad.bo.DataObjectBase
objectId, versionNumber -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyte[]voidsetAttachmentContent(byte[] attachmentContent) voidsetContentType(String contentType) voidsetFileName(String fileName) Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBaseAdapter
buildListOfDeletionAwareLists, getExtension, getLegacyDataAdapter, isNewCollectionRecord, linkEditableUserFields, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecordMethods inherited from class org.kuali.rice.krad.bo.DataObjectBase
generateAndSetObjectIdIfNeeded, getExtensionObject, getObjectId, getVersionNumber, prePersist, preUpdate, setExtensionObject, setObjectId, setVersionNumber, toString
-
Constructor Details
-
PersistableAttachmentBase
public PersistableAttachmentBase()
-
-
Method Details
-
getAttachmentContent
public byte[] getAttachmentContent()- Specified by:
getAttachmentContentin interfacePersistableAttachment
-
setAttachmentContent
public void setAttachmentContent(byte[] attachmentContent) - Specified by:
setAttachmentContentin interfacePersistableAttachment
-
getFileName
- Specified by:
getFileNamein interfacePersistableAttachment
-
setFileName
- Specified by:
setFileNamein interfacePersistableAttachment
-
getContentType
- Specified by:
getContentTypein interfacePersistableAttachment
-
setContentType
- Specified by:
setContentTypein interfacePersistableAttachment
-