Interface ModelActionContext<R extends Model,​O,​M extends Model>

    • Method Detail

      • getRootModel

        R getRootModel()
        Obtains the root Model.
        Returns:
        Root Model.
      • getOperations

        O getOperations()
        Obtains the operations.
        Returns:
        Operations.
      • getModel

        M getModel()

        Obtains the Model.

        Will only be null if action is to create a Model.

        Returns:
        Model or null.
      • getInjector

        com.google.inject.Injector getInjector()
        Obtains the Injector.
        Returns:
        Injector.
      • position

        M position​(M model)
        Convenience method to position the Model.
        Parameters:
        model - Model to be positioned.
        Returns:
        Input Model.