Annotation Type NewActions


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

    Applies to @OneToMany/@ManyToMany collections.

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

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

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