Annotation Type DeleteSelectedActions


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

    Applies to @OneToMany/@ManyToMany collections.

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

      @DeleteSelectedActions({
        @DeleteSelectedAction(forViews="DEFAULT", value= ... ),
        @DeleteSelectedAction(forViews="Simple, VerySimple", value= ... ),
        @DeleteSelectedAction(forViews="Complete", value= ... )
      })
     
    Author:
    Chungyen Tsai