isEdit() Returns true if this maintenance document is editing an existing Business Object, false if its creating a new one.
public boolean
isFieldsClearedOnCopy() A flag which indicates whether the primary keys have been cleared on a Copy-type of document.
public boolean
isNew() Returns true if this maintenance document is creating a new Business Object, false if its an edit.
public 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.
A flag which indicates whether the primary keys have been cleared on a Copy-type of document. This will be true if the 'clear
keys on a copy' has been done, and it will be false if not.
true if the primary keys have been cleared already, false if not.
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.
isOldBusinessObjectInDocument
public boolean isOldBusinessObjectInDocument()(Code)
boolean - indicates whether this is an edit or new maintenace document by the existence of an old maintainable
populateMaintainablesFromXmlDocumentContents
public void populateMaintainablesFromXmlDocumentContents()(Code)
Populates the old and new maintainables from the xml document contents string.
populateXmlDocumentContentsFromMaintainables
public void populateXmlDocumentContentsFromMaintainables()(Code)
Builds the xml document string from the contents of the old and new maintainbles.
setDisplayTopicFieldInNotes
public void setDisplayTopicFieldInNotes(boolean displayTopicFieldInNotes)(Code)
This method...
setFieldsClearedOnCopy
public void setFieldsClearedOnCopy(boolean keysClearedOnCopy)(Code)
This method sets the value of the fieldsClearedOnCopy.
Parameters: fieldsClearedOnCopy - - true or false
setNewMaintainableObject
public void setNewMaintainableObject(Maintainable newMaintainableObject)(Code)
Parameters: newMaintainableObject - - Initializes the new maintainable
setOldMaintainableObject
public void setOldMaintainableObject(Maintainable oldMaintainableObject)(Code)
Parameters: newMaintainableObject - - Initializes the old maintainable
setXmlDocumentContents
public void setXmlDocumentContents(String documentContents)(Code)
Sets the xml contents of the maintenance document
Parameters: documentContents - - String xml