Interface IDfDetachAspectCallback


public interface IDfDetachAspectCallback
Callback interface for use with #IDfAspects.detachAspect.

You should use this callback only if you are detaching the aspect from within a TBO or aspect implementation. Otherwise prefer to simply refetch the object and perform the operations inline.

You should use this callback for client-level operations. For initialization operations internal to an aspect or TBO implementation prefer #DfPersistentObject.onObjectReinitEx.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Callback method invoked after an aspect has been detached and after the object has been completely rebuilt.
  • Method Details

    • doPostDetach

      void doPostDetach(IDfPersistentObject object) throws Exception
      Callback method invoked after an aspect has been detached and after the object has been completely rebuilt.
      Parameters:
      object - the object from which the aspect has just been detached
      Throws:
      Exception - if your callback encounters an error