public interface MaintenanceDocument extends Document
Modifier and Type | Method and Description |
---|---|
Object |
getDocumentDataObject()
Return the data object that this MaintenanceDocument is maintaining
|
Maintainable |
getNewMaintainableObject()
Get the new maintainable object
|
Maintainable |
getOldMaintainableObject()
Get the old maintainable object
|
String |
getXmlDocumentContents()
Get the XML representation of the maintenance document
|
boolean |
isDisplayTopicFieldInNotes()
Check if the topic field should be displayed in the notes section
|
boolean |
isEdit()
Check if maintenance document is editing an existing Business Object
|
boolean |
isFieldsClearedOnCopy()
Check if fields are cleared on copy
|
boolean |
isNew()
Check if maintenance document is creating a new Business Object
|
boolean |
isNewWithExisting()
Check if maintenance document is creating a new Business Object out of an existing Business Object
|
boolean |
isOldDataObjectInDocument()
Check if maintenance document has old maintenance data
|
void |
populateMaintainablesFromXmlDocumentContents()
Populates the old and new maintainables from the xml document contents string.
|
void |
populateXmlDocumentContentsFromMaintainables()
Build the xml document string from the contents of the old and new maintainables.
|
void |
setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
Set the display topic field in notes flag
|
void |
setFieldsClearedOnCopy(boolean keysClearedOnCopy)
Set the keys cleared on copy flag
|
void |
setNewMaintainableObject(Maintainable newMaintainableObject)
Set the new maintainable object
|
void |
setOldMaintainableObject(Maintainable oldMaintainableObject)
Set the old maintainable object
|
void |
setXmlDocumentContents(String documentContents)
Sets the xml contents of the maintenance document
|
addNote, addPessimisticLock, afterActionTaken, afterWorkflowEngineProcess, beforeWorkflowEngineProcess, doActionTaken, doRouteLevelChange, doRouteStatusChange, generateSaveEvents, getActionRequests, getAdHocRoutePersons, getAdHocRouteWorkgroups, getAllowsCopy, getBasePathToDocumentDuringSerialization, getCustomLockDescriptor, getDocumentHeader, getDocumentNumber, getDocumentPropertySerizabilityEvaluator, getDocumentTitle, getLockClearingMethodNames, getLockClearningMethodNames, getNote, getNotes, getNoteTarget, getNoteType, getPessimisticLocks, getSuperUserAnnotation, getWorkflowEngineDocumentIdsToLock, getXmlForRouteReport, populateDocumentForRouting, postProcessSave, prepareForSave, prepareForSave, processAfterRetrieve, refreshPessimisticLocks, removeNote, serializeDocumentToXml, setAdHocRoutePersons, setAdHocRouteWorkgroups, setDocumentHeader, setDocumentNumber, setNotes, setSuperUserAnnotation, useCustomLockDescriptors, validateBusinessRules, wrapDocumentWithMetadataForXmlSerialization
getObjectId
String getXmlDocumentContents()
Maintainable getNewMaintainableObject()
Maintainable getOldMaintainableObject()
void setXmlDocumentContents(String documentContents)
documentContents
- String xmlvoid setNewMaintainableObject(Maintainable newMaintainableObject)
newMaintainableObject
- maintainable with the new maintenance recordvoid setOldMaintainableObject(Maintainable oldMaintainableObject)
oldMaintainableObject
- maintainable with the old maintenance recordObject getDocumentDataObject()
void populateXmlDocumentContentsFromMaintainables()
void populateMaintainablesFromXmlDocumentContents()
boolean isOldDataObjectInDocument()
boolean isNew()
boolean isEdit()
boolean isNewWithExisting()
For example, a new division vendor out of an existing parent vendor.
boolean isFieldsClearedOnCopy()
For copy action the primary keys need to be cleared. This flag indicates if the clearing has occurred.
void setFieldsClearedOnCopy(boolean keysClearedOnCopy)
keysClearedOnCopy
- boolean isDisplayTopicFieldInNotes()
void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.