|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GlobalBusinessObject
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.
Method Summary | |
---|---|
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. |
Method Detail |
---|
String getDocumentNumber()
void setDocumentNumber(String documentNumber)
documentNumber
- The documentNumber to set.List<PersistableBusinessObject> generateGlobalChangesToPersist()
List<PersistableBusinessObject> generateDeactivationsToPersist()
boolean isPersistable()
List<? extends GlobalBusinessObjectDetail> getAllDetailObjects()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |