| org.kuali.core.bo.GlobalBusinessObject
All known Subclasses: org.kuali.module.chart.bo.OrganizationReversionGlobal, org.kuali.module.chart.bo.ObjectCodeGlobal, org.kuali.module.chart.bo.AccountGlobal, org.kuali.module.chart.bo.SubObjCdGlobal, org.kuali.module.chart.bo.DelegateGlobal,
GlobalBusinessObject | public interface GlobalBusinessObject (Code) | | This is a marker interface used to determine whether we are dealing with a GlobalBusinessObject or something else
If implementations of this class implement
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.
|
generateDeactivationsToPersist | public List<PersistableBusinessObject> generateDeactivationsToPersist()(Code) | | This method generates a list of BusinessObjects that need to be deleted as part of the final processing for a global
maintenance document. These records should be deleted before the records from getGlobalChangesToPersist() are persisted.
A List of BusinessObjects that should be deleted as part of this global maint doc's final processing. |
generateGlobalChangesToPersist | public List<PersistableBusinessObject> generateGlobalChangesToPersist()(Code) | | This method applies the global changed fields to the list of BOs contained within, and returns the list, with all the
relevant values updated.
Returns a List of BusinessObjects that are ready for persisting, with any relevant values changed |
getAllDetailObjects | public List<? extends GlobalBusinessObjectDetail> getAllDetailObjects()(Code) | | Returns a list of all global detail objects on this document. This method needs to return all detail
objects, even if they are of different types.
|
getDocumentNumber | public String getDocumentNumber()(Code) | | Gets the documentNumber attribute.
Returns the documentNumber |
isPersistable | public boolean isPersistable()(Code) | | This method examines the underlying document and determines whether it can be persisted as part of the enclosing
MaintenanceDocument. If it returns false, then the Maintenance Document it is part of should not be saved, as a SQL Exception
is likely to result.
True if the document can be safely persisted, False if not. |
setDocumentNumber | public void setDocumentNumber(String documentNumber)(Code) | | Sets the documentNumber attribute.
Parameters: documentNumber - The documentNumber to set. |
|
|