Method Summary |
|
public void | addMultipleValueLookupResults(MaintenanceDocument document, String collectionName, Collection<PersistableBusinessObject> rawValues) |
public void | addNewLineToCollection(String collectionName) Adds the new line for the given collection to the business object's collection. |
public List<MaintenanceLock> | generateMaintenanceLocks() |
public Class | getBoClass() |
public PersistableBusinessObject | getBusinessObject() Returns instance of the business object that is being maintained. |
public String | getDocumentTitle(MaintenanceDocument document) This is a hook to allow the document to override the generic document title. |
public List<String> | getDuplicateIdentifierFieldsFromDataDictionary(String docTypeName, String collectionName) |
public Map<String, Boolean> | getInactiveRecordDisplay() Returns the Map used to control the state of inactive record collection display. |
public String | getMaintainableTitle() Returns a string that will be displayed as title on the maintenance screen. |
public String | getMaintenanceAction() |
public List<String> | getMultiValueIdentifierList(Collection maintCollection, List<String> duplicateIdentifierFields) |
public PersistableBusinessObject | getNewCollectionLine(String collectionName) |
public List | getSections(Maintainable oldMaintainable) Returns a list of Section objects that specify how to render the view for the maintenance object. |
public boolean | getShowInactiveRecords(String collectionName) Indicates whether inactive records for the given collection should be display. |
public void | handleRouteStatusChange(DocumentHeader documentHeader) |
public boolean | hasBusinessObjectExisted(BusinessObject bo, List<String> existingIdentifierList, List<String> duplicateIdentifierFields) |
public boolean | isBoNotesEnabled() |
public boolean | isGenerateBlankRequiredValues() Indicates whether default values should be generated for blank required fields on this maintainable. |
public boolean | isGenerateDefaultValues() Indicates whether default values are set on this maintainable. |
public Map | populateBusinessObject(Map fieldValues) Populates the business object based on key/value pairs. |
public Map | populateNewCollectionLines(Map fieldValues) Populates the new collection lines based on key/value pairs. |
public void | prepareForSave() This method is a hook to do any necessary pre-save processing. |
public void | processAfterCopy() This method is a hook to do any necessary post-copy processing. |
public void | processAfterEdit() This method is a hook to do any necessary post-edit processing, which is to say that it is called when a document is about to be edited;
this is therefore a hook to write any code to modify the business object before it is displayed to the end user to edit. |
public void | processAfterRetrieve() This method is a hook to do any necessary post-load processing. |
public void | refresh(String refreshCaller, Map fieldValues, MaintenanceDocument document) Called from a lookup return by the maintenance action. |
public void | saveBusinessObject() This method will cause the Maintainable implementation to save/store the relevant business object(s). |
public void | setBoClass(Class boClass) |
public void | setBusinessObject(PersistableBusinessObject object) Sets an instance of a business object to be maintained. |
public void | setDocumentNumber(String documentNumber) |
public void | setGenerateBlankRequiredValues(boolean generateBlankRequiredValues) Indicates to maintainable whether or not to set default values for blank required fields. |
public void | setGenerateDefaultValues(boolean generateDefault) Indicates to maintainable whether or not to set default values. |
public void | setMaintenanceAction(String maintenanceAction) |
public void | setShowInactiveRecords(String collectionName, boolean showInactive) Indicates to maintainble whether or not inactive records should be displayed for the given collection name. |
public void | setupNewFromExisting() This methods will do the setting of some attributes that might be necessary
if we're creating a new business object using on an existing business object. |