|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MaintenanceDocument
Common interface for all maintenance documents.
| Method Summary | |
|---|---|
boolean |
getDisplayTopicFieldInNotes()
This method... |
PersistableBusinessObject |
getDocumentBusinessObject()
Returns a reference to the PersistableBusinessObject that this MaintenanceDocument is maintaining. |
Maintainable |
getNewMaintainableObject()
|
Maintainable |
getOldMaintainableObject()
|
String |
getXmlDocumentContents()
|
boolean |
isEdit()
Returns true if this maintenance document is editing an existing Business Object, false if its creating a new one. |
boolean |
isFieldsClearedOnCopy()
A flag which indicates whether the primary keys have been cleared on a Copy-type of document. |
boolean |
isNew()
Returns true if this maintenance document is creating a new Business Object, false if its an edit. |
boolean |
isNewWithExisting()
Returns true if this maintenance document is creating a new Business Object out of an existing Business Object, for example, a new division vendor out of an existing parent vendor. |
boolean |
isOldBusinessObjectInDocument()
|
void |
populateMaintainablesFromXmlDocumentContents()
Populates the old and new maintainables from the xml document contents string. |
void |
populateXmlDocumentContentsFromMaintainables()
Builds the xml document string from the contents of the old and new maintainbles. |
void |
setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
This method... |
void |
setFieldsClearedOnCopy(boolean keysClearedOnCopy)
This method sets the value of the fieldsClearedOnCopy. |
void |
setNewMaintainableObject(Maintainable newMaintainableObject)
|
void |
setOldMaintainableObject(Maintainable oldMaintainableObject)
|
void |
setXmlDocumentContents(String documentContents)
Sets the xml contents of the maintenance document |
| Methods inherited from interface org.kuali.rice.kns.bo.PersistableBusinessObject |
|---|
buildListOfDeletionAwareLists, getExtension, isNewCollectionRecord, linkEditableUserFields, refreshNonUpdateableReferences, refreshReferenceObject, setExtension, setNewCollectionRecord, setObjectId, setVersionNumber |
| Methods inherited from interface org.kuali.rice.kns.bo.BusinessObject |
|---|
refresh |
| Methods inherited from interface org.kuali.rice.core.api.mo.ModelObjectBasic |
|---|
toString |
| Methods inherited from interface org.kuali.rice.core.api.mo.common.Versioned |
|---|
getVersionNumber |
| Methods inherited from interface org.kuali.rice.core.api.mo.common.GloballyUnique |
|---|
getObjectId |
| Method Detail |
|---|
String getXmlDocumentContents()
Maintainable getNewMaintainableObject()
Maintainable getOldMaintainableObject()
void setXmlDocumentContents(String documentContents)
documentContents - - String xmlvoid setNewMaintainableObject(Maintainable newMaintainableObject)
newMaintainableObject - - Initializes the new maintainablevoid setOldMaintainableObject(Maintainable oldMaintainableObject)
newMaintainableObject - - Initializes the old maintainablePersistableBusinessObject getDocumentBusinessObject()
void populateXmlDocumentContentsFromMaintainables()
void populateMaintainablesFromXmlDocumentContents()
boolean isOldBusinessObjectInDocument()
boolean isNew()
boolean isEdit()
boolean isNewWithExisting()
boolean isFieldsClearedOnCopy()
void setFieldsClearedOnCopy(boolean keysClearedOnCopy)
fieldsClearedOnCopy - - true or falseboolean getDisplayTopicFieldInNotes()
void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||