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.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 |
getNewMaintainableObject
Maintainable getNewMaintainableObject()
- Description copied from interface:
MaintenanceDocument
- Get the new maintainable object
- Specified by:
getNewMaintainableObject
in interface MaintenanceDocument
- Returns:
- Maintainable which holds the new maintenance record
getOldMaintainableObject
Maintainable getOldMaintainableObject()
- Description copied from interface:
MaintenanceDocument
- Get the old maintainable object
- 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 © 2005-2012 The Kuali Foundation. All Rights Reserved.