org.kuali.rice.kns.document
Interface MaintenanceDocument
- All Superinterfaces:
- BusinessObject, Document, GloballyUnique, MaintenanceDocument, ModelObjectBasic, PersistableBusinessObject, Serializable, Versioned
public interface MaintenanceDocument
- extends MaintenanceDocument
Common interface for all maintenance documents.
Methods inherited from interface org.kuali.rice.krad.document.MaintenanceDocument |
getDisplayTopicFieldInNotes, getDocumentDataObject, getXmlDocumentContents, isEdit, isFieldsClearedOnCopy, isNew, isNewWithExisting, isOldDataObjectInDocument, populateMaintainablesFromXmlDocumentContents, populateXmlDocumentContentsFromMaintainables, setDisplayTopicFieldInNotes, setFieldsClearedOnCopy, setNewMaintainableObject, setOldMaintainableObject, setXmlDocumentContents |
Methods inherited from interface org.kuali.rice.krad.document.Document |
addNote, addPessimisticLock, 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 |
getNewMaintainableObject
Maintainable getNewMaintainableObject()
- Specified by:
getNewMaintainableObject
in interface MaintenanceDocument
- Returns:
- Maintainable which holds the new maintenance record
getOldMaintainableObject
Maintainable getOldMaintainableObject()
- Specified by:
getOldMaintainableObject
in interface MaintenanceDocument
- Returns:
- Maintainable which holds the old maintenance record
getDocumentBusinessObject
PersistableBusinessObject getDocumentBusinessObject()
- Returns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining.
isOldBusinessObjectInDocument
boolean isOldBusinessObjectInDocument()
- Returns:
- boolean - indicates whether this is an edit or new maintenace document by the existence of an old maintainable
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.