Develop Code to Extend a Framework – Chain of Command

CoC is a design pattern where a request is handled by a series of receivers. An extension class is used to wrap protected or public methods of classes, tables, data entities, and forms. You should be aware of some restrictions when wrapping methods:

  • The wrapper method must have the same signature as the base method.
  • When you augment form classes, only root-level methods can be wrapped, not methods that are defined in nested classes.