edu.sampleu.travel.bo
Class AttachmentSample
java.lang.Object
   org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.BusinessObjectBase
       org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
           edu.sampleu.travel.bo.AttachmentSample
edu.sampleu.travel.bo.AttachmentSample
- All Implemented Interfaces: 
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableAttachment, PersistableAttachmentList<MultiAttachmentSample>, PersistableBusinessObject
- public class AttachmentSample 
- extends PersistableBusinessObjectBase- implements PersistableAttachment, PersistableAttachmentList<MultiAttachmentSample>
- See Also:
- Serialized Form
 
 
 
 
| Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase | 
| afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postLoad, postPersist, postRemove, postUpdate, prePersist, preRemove, preUpdate, refresh, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber | 
 
 
 
 
AttachmentSample
public AttachmentSample()
getId
public String getId()
- 
 
- 
 
setId
public void setId(String id)
- 
 
- 
 
getDescription
public String getDescription()
- 
 
- 
 
setDescription
public void setDescription(String description)
- 
 
- 
 
getFileName
public String getFileName()
- 
- Specified by:
- getFileNamein interface- PersistableAttachment
 
- 
 
setFileName
public void setFileName(String fileName)
- 
- Specified by:
- setFileNamein interface- PersistableAttachment
 
- 
 
getContentType
public String getContentType()
- 
- Specified by:
- getContentTypein interface- PersistableAttachment
 
- 
 
setContentType
public void setContentType(String contentType)
- 
- Specified by:
- setContentTypein interface- PersistableAttachment
 
- 
 
getAttachmentContent
public byte[] getAttachmentContent()
- 
- Specified by:
- getAttachmentContentin interface- PersistableAttachment
 
- 
 
setAttachmentContent
public void setAttachmentContent(byte[] attachmentContent)
- 
- Specified by:
- setAttachmentContentin interface- PersistableAttachment
 
- 
 
getAttachmentFile
public org.apache.struts.upload.FormFile getAttachmentFile()
- 
 
- 
 
setAttachmentFile
public void setAttachmentFile(org.apache.struts.upload.FormFile attachmentFile)
- 
 
- 
 
getAttachments
public List<MultiAttachmentSample> getAttachments()
- 
- Specified by:
- getAttachmentsin interface- PersistableAttachmentList<MultiAttachmentSample>
 
- 
 
setAttachments
public void setAttachments(List<MultiAttachmentSample> attachments)
- 
- Specified by:
- setAttachmentsin interface- PersistableAttachmentList<MultiAttachmentSample>
 
- 
 
toStringMapper
protected LinkedHashMap toStringMapper()
- 
 
- 
 
buildListOfDeletionAwareLists
public List buildListOfDeletionAwareLists()
- Description copied from interface: PersistableBusinessObject
- If this method is not implemented appropriately for PersistableBusinessObject with collections, then PersistableBusinessObject with collections will not persist deletions correctly.
 Elements that have been deleted will reappear in the DB after retrieval.
 
- 
- Specified by:
- buildListOfDeletionAwareListsin interface- PersistableBusinessObject
- Overrides:
- buildListOfDeletionAwareListsin class- PersistableBusinessObjectBase
 
- 
- Returns:
- List of collections which need to be monitored for changes by OJB
- See Also:
- PersistableBusinessObject.buildListOfDeletionAwareLists()
 
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.