Interface ISearchable
- All Known Subinterfaces:
IRepositoryFile
public interface ISearchable
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
SEARCH_TYPE_PHRASE Searches for the exact phrasestatic final int
SEARCH_TYPE_WORDS_AND Searches for each word with each column using an AND connectorstatic final int
SEARCH_TYPE_WORDS_OR Searches for each word with each column using an OR connector -
Method Summary
-
Field Details
-
SEARCH_TYPE_PHRASE
static final int SEARCH_TYPE_PHRASESEARCH_TYPE_PHRASE Searches for the exact phrase- See Also:
-
SEARCH_TYPE_WORDS_OR
static final int SEARCH_TYPE_WORDS_ORSEARCH_TYPE_WORDS_OR Searches for each word with each column using an OR connector- See Also:
-
SEARCH_TYPE_WORDS_AND
static final int SEARCH_TYPE_WORDS_ANDSEARCH_TYPE_WORDS_AND Searches for each word with each column using an AND connector- See Also:
-
-
Method Details
-
getSearchableColumns
String[] getSearchableColumns()- Returns:
- Returns an array of the char/varchar columns that can be searched.
-
getSearchableTable
String getSearchableTable()- Returns:
- Returns the name of the hibernated object which will be used in the search.
-
getPhraseSearchQueryName
String getPhraseSearchQueryName()- Returns:
- Returns the fully-package-qualified name of a named query in the Hibernate Schema that supports a full-text search of all searchable columns. The parameter name for the search term in the query must be :searchTerm or the query will fail.
-