Interface SearchFilterValidationStrategy

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.lang.String searchStrategy)
      Checks if strategy can be used in terms of specific search strategy.
      boolean isValid​(java.lang.String typeCode, java.lang.String name, java.lang.Object value)
      Checks if filter of given name is valid for use.
    • Method Detail

      • isValid

        boolean isValid​(java.lang.String typeCode,
                        java.lang.String name,
                        java.lang.Object value)
        Checks if filter of given name is valid for use.
        Parameters:
        typeCode - of item that filter corresponds to
        name - of filter property
        value - of filter
        Returns:
        true if filter is valid
      • canHandle

        boolean canHandle​(java.lang.String searchStrategy)
        Checks if strategy can be used in terms of specific search strategy.
        Parameters:
        searchStrategy - search strategy name
        Returns:
        true if filter validation strategy can handle search strategy