Annotation Type SaveActions


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface SaveActions
    A group of @SaveAction associated to the same collection.

    Applies to @OneToMany/@ManyToMany collections.

    It allows to define a value different for @SaveAction in each view.
    Example:

      @SaveActions({
        @SaveAction(forViews="DEFAULT", value= ... ),
        @SaveAction(forViews="Simple, VerySimple", value= ... ),
        @SaveAction(forViews="Complete", value= ... )
      })
     
    Since 6.1 @SaveAction is repeatable, so you don't need to use @SaveActions any more.
    Author:
    Javier Paniza
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      SaveAction[] value