public interface GlobalBusinessObject
PersistableBusinessObject
as well, then it is strongly recommended that
classes override PersistableBusinessObject.buildListOfDeletionAwareLists()
as well. If this is not done correctly, then
deleted collection elements will not be persisted, and upon reload from the DB, the deleted items will appear in the collection.Modifier and Type | Method and Description |
---|---|
List<PersistableBusinessObject> |
generateDeactivationsToPersist()
This method generates a list of BusinessObjects that need to be deleted as part of the final processing for a global
maintenance document.
|
List<PersistableBusinessObject> |
generateGlobalChangesToPersist()
This method applies the global changed fields to the list of BOs contained within, and returns the list, with all the
relevant values updated.
|
List<? extends GlobalBusinessObjectDetail> |
getAllDetailObjects()
Returns a list of all global detail objects on this document.
|
String |
getDocumentNumber()
Gets the documentNumber attribute.
|
boolean |
isPersistable()
This method examines the underlying document and determines whether it can be persisted as part of the enclosing
MaintenanceDocument.
|
void |
setDocumentNumber(String documentNumber)
Sets the documentNumber attribute.
|
String getDocumentNumber()
void setDocumentNumber(String documentNumber)
documentNumber
- The documentNumber to set.List<PersistableBusinessObject> generateGlobalChangesToPersist()
List<PersistableBusinessObject> generateDeactivationsToPersist()
boolean isPersistable()
List<? extends GlobalBusinessObjectDetail> getAllDetailObjects()
Copyright © 2005–2016 The Kuali Foundation. All rights reserved.