Interface SearchUIModel

All Superinterfaces:
SearchModel
All Known Implementing Classes:
AbstractSearchUIModel, DefaultSearchUIModel, DynamicWrappedSearchUIModel, ReferenceTableSearchUIModel, ReferencingContentsWithSameValuesSearchUIModel, SearchModelWrapper, StaticSearchUIModel

public interface SearchUIModel extends SearchModel
Search tool model.
  • Method Details

    • getCriteria

      Description copied from interface: SearchModel
      Get the list of search criteria in simple mode
      Specified by:
      getCriteria in interface SearchModel
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the list of search criteria in simple mode
    • getCriterion

      default SearchUICriterion getCriterion(String id, Map<String,Object> contextualParameters)
      Description copied from interface: SearchModel
      Get a simple search criterion by its id
      Specified by:
      getCriterion in interface SearchModel
      Parameters:
      id - The search criterion id
      contextualParameters - the contextual parameters
      Returns:
      the criterion or null if not found
    • getFacetedCriteria

      Description copied from interface: SearchModel
      Get the list of faceted search criteria.
      Specified by:
      getFacetedCriteria in interface SearchModel
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the list of faceted search criteria.
    • getFacetedCriterion

      default SearchUICriterion getFacetedCriterion(String id, Map<String,Object> contextualParameters)
      Description copied from interface: SearchModel
      Get a faceted search criterion by its id.
      Specified by:
      getFacetedCriterion in interface SearchModel
      Parameters:
      id - The faceted search criterion id.
      contextualParameters - the contextual parameters
      Returns:
      the faceted criterion or null if not found
    • getAdvancedCriteria

      Get the list of search criteria in advanced mode
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the list of search criteria in advanced mode
    • getAdvancedCriterion

      default SearchUICriterion getAdvancedCriterion(String id, Map<String,Object> contextualParameters)
      Get an advanced search criterion by its id.
      Parameters:
      id - The advanced search criterion id.
      contextualParameters - the contextual parameters
      Returns:
      the advanced criterion or null if not found
    • getPageSize

      int getPageSize(Map<String,Object> contextualParameters)
      Get the page size.
      Parameters:
      contextualParameters - the contextual parameters.
      Returns:
      The page size, unlimited or default used when negative or 0.
    • getSearchUrl

      String getSearchUrl(Map<String,Object> contextualParameters)
      Get the URL for search
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for search
    • getSearchUrlPlugin

      String getSearchUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for search
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for search
    • getExportCSVUrl

      String getExportCSVUrl(Map<String,Object> contextualParameters)
      Get the URL for CSV export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for CSV export
    • getExportCSVUrlPlugin

      String getExportCSVUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for CSV export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for CSV export
    • getExportDOCUrl

      String getExportDOCUrl(Map<String,Object> contextualParameters)
      Get the URL for DOC export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for DOC export
    • getExportDOCUrlPlugin

      String getExportDOCUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for DOC export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for DOC export
    • getExportXMLUrl

      String getExportXMLUrl(Map<String,Object> contextualParameters)
      Get the URL for XML export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for XML export
    • getExportXMLUrlPlugin

      String getExportXMLUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for XML export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for XML export
    • getExportPDFUrl

      String getExportPDFUrl(Map<String,Object> contextualParameters)
      Get the URL for PDF export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for PDF export
    • getExportPDFUrlPlugin

      String getExportPDFUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for PDF export of results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for PDF export
    • getPrintUrl

      String getPrintUrl(Map<String,Object> contextualParameters)
      Get the URL for print results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the URL for print results
    • getPrintUrlPlugin

      String getPrintUrlPlugin(Map<String,Object> contextualParameters)
      Get the plugin name for print results
      Parameters:
      contextualParameters - the contextual parameters
      Returns:
      the plugin name for print results
    • getSummaryView

      Get the name of the view to use for summary of the content.
      Returns:
      the name of the view to use for summary of the content. Can be null.
    • allowSortOnMultipleJoin

      default boolean allowSortOnMultipleJoin()
      Indicates if sorting on join columns which contain at least one multiple definition in its path (intermediate ones only) must be allowed.
      If the final metadata of the path is multiple, the column will not be sortable though.
      Returns:
      true if sorting on join columns which contains at least one multiple metadata in its path (intermediate ones only) must be allowed.