Uses of Class
com.jalios.jcms.handler.QueryHandler
-
Packages that use QueryHandler Package Description com.jalios.jcms Contains the core JPlatform classes.com.jalios.jcms.db com.jalios.jcms.handler Contains the javabean classes uses to process HTTP request (aka form handlers).com.jalios.jcms.mail com.jalios.jcms.media Contains all the classes to provide the Media Browser.com.jalios.jcms.search Provides internal search engines classes of JPlatform.com.jalios.jcms.search.queryparser com.jalios.jcms.taglib Provides many of the classes used for JPlatform jsp tags.com.jalios.jcms.trash com.jalios.jcms.webpage -
-
Uses of QueryHandler in com.jalios.jcms
Methods in com.jalios.jcms that return QueryHandler Modifier and Type Method Description QueryHandlerQueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)This method should be overriden to filter the value of the QueryHandlerQueryHandlerNotificationCriteria. getQueryHandler()Methods in com.jalios.jcms with parameters of type QueryHandler Modifier and Type Method Description QueryHandlerQueryFilter. filterQueryHandler(QueryHandler qh, java.util.Map context)This method should be overriden to filter the value of the QueryHandlerQueryResultSetQueryFilter. filterResultSet(QueryHandler qh, QueryResultSet set, java.util.Map context)This method should be overriden to filter the result setprotected java.util.Date[]QueryManager. getBeginAndEndDates(QueryHandler qh)Compute begin and end date of a query from QueryHandler values.protected static intQueryManager. getDateType(QueryHandler qh)Return an integer describing the type of search date from a QueryHandler.protected java.util.HashSet<Category>QueryManager. getQueryAvoidCategorySet(QueryHandler qh)Compute aHashSetofCategoryto exclude during query from the "cidsOff" value of the given QueryHandler.protected java.util.HashSet<java.lang.Class<? extends Publication>>QueryManager. getQueryAvoidClassSet(QueryHandler qh)Compute aHashSetofClass(type) to include during query from the "typesOff" value of the given QueryHandler.protected java.util.HashSet<Group>QueryManager. getQueryAvoidGroupSet(QueryHandler qh)Compute aHashSetofGroupto exclude during query from the "gidsOff" value of the given QueryHandler.protected java.util.HashSet<Member>QueryManager. getQueryAvoidMemberSet(QueryHandler qh)Compute aHashSetofMemberto exclude during query from the "midsOff" value of the given QueryHandler.protected java.util.HashSet<Category>QueryManager. getQueryCategorySet(QueryHandler qh)Compute aHashSetofCategoryto include during query from the "cids" value of the given QueryHandler.protected java.util.HashSet<java.lang.Class<? extends Publication>>QueryManager. getQueryClassSet(QueryHandler qh, boolean addFileDoc)Compute aHashSetofClass(type) to include during query from the "types" value of the given QueryHandler.protected java.util.HashSet<Group>QueryManager. getQueryGroupSet(QueryHandler qh)Compute aHashSetofGroupto include during query from the "gids" value of the given QueryHandler.protected java.util.HashSet<Member>QueryManager. getQueryMemberSet(QueryHandler qh)Compute aHashSetofMemberto include during query from the "mids" value of the given QueryHandler.protected java.util.HashSet<PortalElement>QueryManager. getQueryPortalElementSet(QueryHandler qh)Compute aHashSetofPortalElementincluding all portal ands its children from the "portalIds" value of the given QueryHandler.java.util.SortedSet<? extends Publication>QueryManager. getRelatedPublicationSet(Publication pub, QueryHandler qh)Returns a set of publications related to the given publication and the given query handler.java.util.SortedSet<? extends Publication>QueryManager. getRelatedPublicationSet(java.util.Set<Category> catSet, QueryHandler qh, java.util.Comparator<? extends Publication> superComparator)Returns a set of publications related to the given category set and the given query handler.static booleanQueryFilter. isBackOfficeSearch(QueryHandler qh)Check if the specified QueryHandler is a back office search.static booleanQueryFilter. isFrontOfficeSearch(QueryHandler qh)Check if the specified QueryHandler is a front office search.static booleanQueryFilter. isPortletQuery(QueryHandler qh)Check if the specified QueryHandler is a portlet query.static booleanQueryManager. matchLucenePublicationRefinement(QueryHandler qh, Publication pub)protected QueryResultSetQueryManager. performJStoreQuery(QueryHandler qh, javax.servlet.http.HttpServletRequest request, java.util.Set<? extends Publication> proposedDataSet)QueryResultSetChannel. query(QueryHandler qh, javax.servlet.ServletRequest request, java.util.Set<? extends Publication> proposedDataSet)Perform a query using parameters specified in the givenQueryHandler.QueryResultSetQueryManager. query(QueryHandler qh, javax.servlet.ServletRequest request, java.util.Set<? extends Publication> proposedDataSet)Perform a query using parameters specified in the givenQueryHandler.protected voidQueryManager. reduceDataSetWithCategories(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using Categories options (cids/cidsOff) of the QueryHandler.protected QueryResultSetQueryManager. reduceDataSetWithHistoryRefinement(QueryHandler qh, java.util.Set<? extends Publication> proposedDataSet, javax.servlet.http.HttpServletRequest request, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using query History (hist) of the QueryHandler.protected voidQueryManager. reduceDataSetWithMembers(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using Members options (mids/midsOff) of the QueryHandler.protected voidQueryManager. reduceDataSetWithPortalElements(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using PortalElement options (mids/midsOff) of the QueryHandler.protected voidQueryManager. reduceDataSetWithTextEngine(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using Text Search options of the QueryHandler.protected booleanQueryManager. reduceDataSetWithTypes(QueryHandler qh, java.util.HashSet<Publication> dataToKeepSet, java.util.HashSet<Publication> dataToExcludeSet, boolean[] indexUsed)Fill the givenHashSetwithDatato keep and to exclude using Types options (types/typesOff) of the QueryHandler.protected voidQueryManager. replaceFileDocByReferrers(QueryHandler qh, QueryResultSet resultSet, DataSelector replacedFileDocSelector)This method replace any FileDocuments inside the givenQueryResultSetby their referrer (see getLinkIndexedDataSet(Publication.class)).protected booleanQueryManager. searchFulltext(QueryHandler qh, java.util.HashSet<Publication> dataSet, QueryResultSet resultSet)Perform a full-text search. -
Uses of QueryHandler in com.jalios.jcms.db
Methods in com.jalios.jcms.db that return QueryHandler Modifier and Type Method Description QueryHandlerPublicationCriteria. getQueryHandler()Methods in com.jalios.jcms.db with parameters of type QueryHandler Modifier and Type Method Description PublicationCriteriaPublicationCriteria. setQueryHandler(QueryHandler qh)Constructors in com.jalios.jcms.db with parameters of type QueryHandler Constructor Description PublicationCriteria(java.lang.Class<? extends Publication> clazz, QueryHandler qh) -
Uses of QueryHandler in com.jalios.jcms.handler
Subclasses of QueryHandler in com.jalios.jcms.handler Modifier and Type Class Description classPubChooserHandlerFields in com.jalios.jcms.handler declared as QueryHandler Modifier and Type Field Description protected QueryHandlerPubBrowserHandler. queryHandlerMethods in com.jalios.jcms.handler that return QueryHandler Modifier and Type Method Description QueryHandlerPubBrowserHandler. getQueryHandler()Methods in com.jalios.jcms.handler with parameters of type QueryHandler Modifier and Type Method Description protected static voidQueryHandler. getMostRecentTextInHistoryVisitor(java.lang.String[] textAndMode, QueryHandler qh)Internal recursive method used to look for most recent text.static java.lang.Class<? extends Publication>QueryHandler. getTypesCommonSuperClass(QueryHandler... queryHandlers)Retrieve the common super class of types specified in the QueryHandler.Constructors in com.jalios.jcms.handler with parameters of type QueryHandler Constructor Description QueryHandler(QueryHandler original)Create a QueryHandler by copying all fields of the specified original QueryHandler, omitting all information linked to the current request. -
Uses of QueryHandler in com.jalios.jcms.mail
Methods in com.jalios.jcms.mail with parameters of type QueryHandler Modifier and Type Method Description QueryResultSetMailThreadQueryFilter. filterResultSet(QueryHandler qh, QueryResultSet set, java.util.Map context) -
Uses of QueryHandler in com.jalios.jcms.media
Fields in com.jalios.jcms.media declared as QueryHandler Modifier and Type Field Description protected QueryHandlerMediaBrowserHandler. queryHandlerMethods in com.jalios.jcms.media with parameters of type QueryHandler Modifier and Type Method Description static java.lang.StringMediaBrowserHandler. getMedia(QueryHandler qh)Retrieve the media selected in the specified MediaBrowser's query.static booleanMediaBrowserHandler. isMediaBrowserQuery(QueryHandler qh)Check if the specified QueryHandler is a MediaBrowser's query. -
Uses of QueryHandler in com.jalios.jcms.search
Subclasses of QueryHandler in com.jalios.jcms.search Modifier and Type Class Description classQueryAppHandlerMethods in com.jalios.jcms.search with parameters of type QueryHandler Modifier and Type Method Description floatLuceneCategorySearchEngineScoring. getPublicationNewScore(QueryHandler qh, QueryResultSet resultSet, Category cat, float catScore, float maxCatScore, Publication pub, float pubScore, float maxPubScore, boolean isNewResult)This method is called by the LuceneCategorySearchEngine when searching full text in category, it is used to compute the new score of the Publication (previously found or not by the LucenePublicationSearchEngine).booleanCategorySearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)Perform a full-text search.booleanLuceneCategorySearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)java.util.LinkedHashMap<java.lang.String,java.lang.Float>LucenePublicationSearchEngine. search(QueryHandler qh)Search for JcmsDBPublicationusing lucene search engine.booleanLucenePublicationSearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)Search for JStorePublicationusing lucene search engine.java.util.LinkedHashMap<java.lang.String,java.lang.Float>PublicationSearchEngine. search(QueryHandler qh)Return the list of publication's identifier with a lucene search.booleanPublicationSearchEngine. search(QueryHandler qh, java.util.HashSet<? extends Publication> pubSet, QueryResultSet resultSet)Perform a full-text search.java.util.Collection<Category>LuceneCategorySearchEngine. searchCategories(QueryHandler qh)Find Category matching the specified QueryHandler search options (uses mainly the text search param) -
Uses of QueryHandler in com.jalios.jcms.search.queryparser
Constructors in com.jalios.jcms.search.queryparser with parameters of type QueryHandler Constructor Description ParseOptions(java.lang.String[] fields, QueryHandler qh, ParseOptions.Engine engine)Build a new ParseOptions from the specified QueryHandler -
Uses of QueryHandler in com.jalios.jcms.taglib
Methods in com.jalios.jcms.taglib with parameters of type QueryHandler Modifier and Type Method Description protected java.util.Set<Category>EditTag. computeCategoryAndTypeSet(QueryHandler qh) -
Uses of QueryHandler in com.jalios.jcms.trash
Subclasses of QueryHandler in com.jalios.jcms.trash Modifier and Type Class Description classTrashAppHandlerHandler used to access Trash application.Fields in com.jalios.jcms.trash declared as QueryHandler Modifier and Type Field Description protected QueryHandlerTrashAppHandler. secondQuery -
Uses of QueryHandler in com.jalios.jcms.webpage
Subclasses of QueryHandler in com.jalios.jcms.webpage Modifier and Type Class Description classWebPageQueryHandler
-