Annotation Type AddActions


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

    Applies to @OneToMany/@ManyToMany collections.

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

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

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