Interface GlobalBusinessObject


@Deprecated public interface GlobalBusinessObject
Deprecated.
use BulkUpdate instead
This is a marker interface used to determine whether we are dealing with a GlobalBusinessObject or something else If implementations of this class implement
invalid reference
PersistableBusinessObject
as well, then it is strongly recommended that classes override
invalid reference
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

    Modifier and Type
    Method
    Description
    Deprecated.
    This method generates a list of BusinessObjects that need to be deleted as part of the final processing for a global maintenance document.
    Deprecated.
    This method applies the global changed fields to the list of BOs contained within, and returns the list, with all the relevant values updated.
    Deprecated.
    Returns a list of all global detail objects on this document.
    Deprecated.
    Gets the documentNumber attribute.
    boolean
    Deprecated.
    This method examines the underlying document and determines whether it can be persisted as part of the enclosing MaintenanceDocument.
    void
    setDocumentNumber(String documentNumber)
    Deprecated.
    Sets the documentNumber attribute.
  • Method Details

    • getDocumentNumber

      String getDocumentNumber()
      Deprecated.
      Gets the documentNumber attribute.
      Returns:
      Returns the documentNumber
    • setDocumentNumber

      void setDocumentNumber(String documentNumber)
      Deprecated.
      Sets the documentNumber attribute.
      Parameters:
      documentNumber - The documentNumber to set.
    • generateGlobalChangesToPersist

      List generateGlobalChangesToPersist()
      Deprecated.
      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:
      Returns a List of BusinessObjects that are ready for persisting, with any relevant values changed
    • generateDeactivationsToPersist

      List generateDeactivationsToPersist()
      Deprecated.
      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.
      Returns:
      A List of BusinessObjects that should be deleted as part of this global maint doc's final processing.
    • isPersistable

      boolean isPersistable()
      Deprecated.
      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.
      Returns:
      True if the document can be safely persisted, False if not.
    • getAllDetailObjects

      List<? extends GlobalBusinessObjectDetail> getAllDetailObjects()
      Deprecated.
      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.
      Returns: