Interface IDfAttachAspectCallback


public interface IDfAttachAspectCallback
Callback interface for use with #IDfAspects.attachAspect.

You should use this callback only if you are attaching 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 attached and after the object has been completely rebuilt.
  • Method Details

    • doPostAttach

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