Annotation Type DetailActions


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

    Applies to @OneToMany/@ManyToMany collections.

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

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

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