Class ContentIndexSearchServiceImpl
- java.lang.Object
-
- nl.gx.webmanager.wcb.foundation.ComponentBase
-
- nl.gx.webmanager.wcb.servicetype.impl.SimpleServiceComponent
-
- nl.gx.webmanager.api.implementation.ContentIndexSearchServiceImpl
-
- All Implemented Interfaces:
SearchService
,ExtensionConsumer
,DelegatedControllerAware
,Component
,ServiceComponent
public class ContentIndexSearchServiceImpl extends SimpleServiceComponent implements SearchService
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface nl.gx.webmanager.services.contentindex.search.SearchService
SearchService.PAGE_TYPE
-
-
Field Summary
-
Fields inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
myBundleContext, myComponentBundle, myComponentDefinition
-
-
Constructor Summary
Constructors Constructor Description ContentIndexSearchServiceImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int[]
searchPages(Website website, SearchService.PAGE_TYPE type, String keyword)
Searches for pages that match the specified webid, page type and keyword.-
Methods inherited from class nl.gx.webmanager.wcb.servicetype.impl.SimpleServiceComponent
getInstance
-
Methods inherited from class nl.gx.webmanager.wcb.foundation.ComponentBase
dependencyAdded, dependencyRemoved, exportContent, extensionAdded, extensionRemoved, getBundleContext, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getComponentManager, getDelegatedController, getExtensions, getId, getInstanceForName, getPrivateNode, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, internalDoStart, internalDoStop, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentBundle, setComponentDefinition, setComponentManager, setDelegatedController
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface nl.gx.webmanager.wcb.Component
exportContent, getClassesFromBundle, getClassForName, getComponentBundle, getComponentDefinition, getExtensions, getId, getInstanceForName, getPrivateNode, getTypeId, getWrapperDefinitions, importContent, onDestroy, onInit, onInstall, onPurge, onStart, onStop, onUninstall, onUpdate, purgeContent, setBundleContext, setComponentBundle, setComponentDefinition, setComponentManager
-
-
-
-
Method Detail
-
searchPages
public int[] searchPages(Website website, SearchService.PAGE_TYPE type, String keyword)
Description copied from interface:SearchService
Searches for pages that match the specified webid, page type and keyword.- Specified by:
searchPages
in interfaceSearchService
- Parameters:
website
- the website that must be the owner of the returned pagetype
- the type the returned page version should match (either PAGE or BLOCK)keyword
- the keyword to search for. Note that this search method searches in title, body and more properties- Returns:
- An array of page version ids matching the specified webid, page type and keyword.
-
-