Annotation Type ViewActions


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

    Applies to @OneToMany/@ManyToMany collections.

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

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

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