|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.opencms.search.galleries.CmsGallerySearch
public class CmsGallerySearch
Contains the functions for the gallery search.
Field Summary | |
---|---|
protected CmsObject |
m_cms
The OpenCms object used for the search. |
protected java.lang.Exception |
m_lastException
The latest exception. |
Constructor Summary | |
---|---|
CmsGallerySearch()
|
Method Summary | |
---|---|
java.lang.String |
getIndex()
Returns the name of the current search index. |
java.lang.Exception |
getLastException()
Returns the last exception that occurred during the last search operation. |
CmsGallerySearchResultList |
getResult(CmsGallerySearchParameters params)
Returns the gallery search result list. |
CmsGallerySearchIndex |
getSearchIndex()
Returns the current gallery search index. |
void |
init(CmsObject cms)
Initializes the bean with the provided OpenCms context object. |
void |
setIndex(java.lang.String indexName)
Set the name of the index to search. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected transient CmsObject m_cms
protected java.lang.Exception m_lastException
Constructor Detail |
---|
public CmsGallerySearch()
Method Detail |
---|
public java.lang.String getIndex()
public java.lang.Exception getLastException()
public CmsGallerySearchResultList getResult(CmsGallerySearchParameters params)
params
- the gallery search parameters
public CmsGallerySearchIndex getSearchIndex()
public void init(CmsObject cms)
cms
- the OpenCms context to use for the searchpublic void setIndex(java.lang.String indexName)
A former search result will be deleted.
indexName
- the name of the index
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |