org.kuali.rice.kns.document
Class MaintenanceDocumentBase
java.lang.Object
org.kuali.rice.krad.bo.BusinessObjectBase
org.kuali.rice.krad.bo.PersistableBusinessObjectBase
org.kuali.rice.krad.document.DocumentBase
org.kuali.rice.krad.maintenance.MaintenanceDocumentBase
org.kuali.rice.kns.document.MaintenanceDocumentBase
- All Implemented Interfaces:
- Serializable, org.apache.ojb.broker.PersistenceBrokerAware, GloballyUnique, Versioned, ModelObjectBasic, BusinessObject, PersistableBusinessObject, Document, SessionDocument, MaintenanceDocument
public class MaintenanceDocumentBase
- extends MaintenanceDocumentBase
- implements MaintenanceDocument
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
Field Summary |
protected org.apache.struts.upload.FormFile |
fileAttachment
|
Fields inherited from class org.kuali.rice.krad.maintenance.MaintenanceDocumentBase |
attachment, attachmentCollectionName, attachmentListPropertyName, attachmentPropertyName, attachments, displayTopicFieldInNotes, fieldsClearedOnCopy, MAINTAINABLE_IMPL_CLASS, MAINTENANCE_ACTION_TAG_NAME, NEW_MAINTAINABLE_TAG_NAME, newMaintainableObject, NOTES_TAG_NAME, OLD_MAINTAINABLE_TAG_NAME, oldMaintainableObject, xmlDocumentContents |
Methods inherited from class org.kuali.rice.krad.maintenance.MaintenanceDocumentBase |
checkAllowsRecordDeletion, checkDeletePermission, checkForLockingDocument, checkMaintenanceAction, deleteDocumentAttachment, deleteDocumentAttachmentList, doRouteStatusChange, getAllowsCopy, getAttachment, getAttachmentCollectionName, getAttachmentListPropertyName, getAttachmentPropertyName, getAttachments, getCustomLockDescriptor, getDataObjectFromXML, getDocumentDataObject, getDocumentDictionaryService, getDocumentHeaderService, getDocumentPropertySerizabilityEvaluator, getDocumentService, getDocumentTitle, getMaintenanceAction, getMaintenanceDocumentService, getNoteTarget, getNoteType, getWorkflowEngineDocumentIdsToLock, getXmlDocumentContents, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, isOldMaintainableInDocument, isSessionDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, postLoad, postProcessSave, postRemove, prepareForSave, prepareForSave, prePersist, preUpdate, processAfterRetrieve, refreshAttachment, refreshAttachmentList, serializeDocumentToXml, setAttachment, setAttachmentCollectionName, setAttachmentListPropertyName, setAttachmentPropertyName, setAttachments, setDisplayTopicFieldInNotes, setDocumentNumber, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents, useCustomLockDescriptors, validateBusinessRules |
Methods inherited from class org.kuali.rice.krad.document.DocumentBase |
addCopyErrorDocumentNote, addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, createPropertySerializabilityEvaluator, doActionTaken, doRouteLevelChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAttachmentService, getBasePathToDocumentDuringSerialization, getDocumentHeader, getDocumentNumber, getLockClearningMethodNames, getNonLockingActionTakenCodes, getNote, getNotes, getNoteService, getPessimisticLocks, getXmlForRouteReport, logErrors, populateDocumentForRouting, refresh, refreshIfEmpty, refreshPessimisticLocks, refreshReferenceObject, removeNote, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setNewDocumentHeader, setNotes, setPessimisticLocks, toCopy, wrapDocumentWithMetadataForXmlSerialization |
Methods inherited from class org.kuali.rice.krad.bo.PersistableBusinessObjectBase |
afterDelete, afterInsert, afterLookup, afterUpdate, beforeDelete, beforeInsert, beforeUpdate, buildListOfDeletionAwareLists, getExtension, getObjectId, getPersistenceService, getPersistenceStructureService, getVersionNumber, isNewCollectionRecord, linkEditableUserFields, postPersist, postUpdate, preRemove, refreshNonUpdateableReferences, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
Methods inherited from interface org.kuali.rice.krad.maintenance.MaintenanceDocument |
getDocumentDataObject, getXmlDocumentContents, isDisplayTopicFieldInNotes, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, setDisplayTopicFieldInNotes, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents |
Methods inherited from interface org.kuali.rice.krad.document.Document |
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization |
fileAttachment
protected transient org.apache.struts.upload.FormFile fileAttachment
MaintenanceDocumentBase
public MaintenanceDocumentBase()
MaintenanceDocumentBase
public MaintenanceDocumentBase(String documentTypeName)
getDocumentBusinessObject
public PersistableBusinessObject getDocumentBusinessObject()
- Description copied from interface:
MaintenanceDocument
- Returns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining.
isOldBusinessObjectInDocument
public boolean isOldBusinessObjectInDocument()
- Checks old maintainable bo has key values
- Returns:
- boolean - indicates whether this is an edit or new maintenace document by the existence of an old maintainable
getNewMaintainableObject
public Maintainable getNewMaintainableObject()
- Description copied from interface:
MaintenanceDocument
- Get the new maintainable object
- Specified by:
getNewMaintainableObject
in interface MaintenanceDocument
- Overrides:
getNewMaintainableObject
in class MaintenanceDocumentBase
- Returns:
- Maintainable which holds the new maintenance record
- See Also:
MaintenanceDocument.getNewMaintainableObject()
getOldMaintainableObject
public Maintainable getOldMaintainableObject()
- Description copied from interface:
MaintenanceDocument
- Get the old maintainable object
- Specified by:
getOldMaintainableObject
in interface MaintenanceDocument
- Overrides:
getOldMaintainableObject
in class MaintenanceDocumentBase
- Returns:
- Maintainable which holds the old maintenance record
- See Also:
MaintenanceDocument.getOldMaintainableObject()
getFileAttachment
public org.apache.struts.upload.FormFile getFileAttachment()
setFileAttachment
public void setFileAttachment(org.apache.struts.upload.FormFile fileAttachment)
populateDocumentAttachment
public void populateDocumentAttachment()
- Overrides:
populateDocumentAttachment
in class MaintenanceDocumentBase
populateAttachmentForBO
public void populateAttachmentForBO()
- Overrides:
populateAttachmentForBO
in class MaintenanceDocumentBase
populateAttachmentBeforeSave
public void populateAttachmentBeforeSave()
- Overrides:
populateAttachmentBeforeSave
in class MaintenanceDocumentBase
populateBoAttachmentListBeforeSave
public void populateBoAttachmentListBeforeSave()
- Overrides:
populateBoAttachmentListBeforeSave
in class MaintenanceDocumentBase
populateAttachmentListForBO
public void populateAttachmentListForBO()
- Overrides:
populateAttachmentListForBO
in class MaintenanceDocumentBase
populateDocumentAttachmentList
public void populateDocumentAttachmentList()
- Overrides:
populateDocumentAttachmentList
in class MaintenanceDocumentBase
Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.