Annotation Type SearchListConditions


  • @Retention(RUNTIME)
    @Target({FIELD,METHOD})
    public @interface SearchListConditions
    A group of @SearchListCondition associated to the same reference or collection.

    Applies to references and @OneToMany/@ManyToMany collections.

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

      @SearchListConditions({
        @SearchListCondition(forViews="DEFAULT", value= ... ),
        @SearchListCondition(forViews="Simple, VerySimple", value= ... ),
        @SearchListCondition(forViews="Complete", value= ... )
      })
     
    Since 6.1 @SearchListCondition is repeatable, so you don't need to use @SearchListConditions any more.
    Author:
    Federico Alcantara