Interface FieldSearchFacadeStrategy<T>

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      boolean canHandle​(java.lang.String typeCode)
      Returns true, if this strategy can handle given typeCode, otherwise false.
      default boolean canHandle​(java.lang.String typeCode, Context context)
      Returns true, if this strategy can handle given typeCode, otherwise false.
      default java.lang.String getStrategyName()
      Returns unique logical strategy name allowing resolving this strategy by name from the strategy registry
    • Field Detail

      • CONTEXT_ORIGINAL_QUERY

        static final java.lang.String CONTEXT_ORIGINAL_QUERY
        See Also:
        Constant Field Values
    • Method Detail

      • canHandle

        boolean canHandle​(java.lang.String typeCode)
        Returns true, if this strategy can handle given typeCode, otherwise false.
        Parameters:
        typeCode - represents a type identifier
      • canHandle

        default boolean canHandle​(java.lang.String typeCode,
                                  Context context)
        Returns true, if this strategy can handle given typeCode, otherwise false.
        Parameters:
        typeCode - represents a type identifier
        context - represents additional context for making the decision
      • getStrategyName

        default java.lang.String getStrategyName()
        Returns unique logical strategy name allowing resolving this strategy by name from the strategy registry
        Returns:
        strategy name