|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portal.kernel.search.BaseOpenSearchImpl
public abstract class BaseOpenSearchImpl
| Constructor Summary | |
|---|---|
BaseOpenSearchImpl()
|
|
BaseOpenSearchImpl(String openSearchURL,
String openSearchDescriptionURL)
|
|
| Method Summary | |
|---|---|
protected void |
addSearchResult(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
double score,
String format)
|
protected void |
addSearchResult(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score,
String format)
|
protected void |
addSearchResultAtom(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score)
|
protected void |
addSearchResultRSS(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score)
|
protected Object[] |
addSearchResults(String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
String title,
String searchPath,
String format,
ThemeDisplay themeDisplay)
|
protected Object[] |
addSearchResultsAtom(Document doc,
String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
int totalPages,
int previousPage,
int nextPage,
String title,
String searchPath,
ThemeDisplay themeDisplay)
|
protected Object[] |
addSearchResultsRSS(Document doc,
String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
int totalPages,
int previousPage,
int nextPage,
String title,
String searchPath,
ThemeDisplay themeDisplay)
|
String |
getClassName()
|
protected String |
getOpenSearchDescriptionURL(String searchPath,
ThemeDisplay themeDisplay)
|
protected String |
getOpenSearchURL(String searchPath,
ThemeDisplay themeDisplay)
|
protected long |
getPlid(javax.servlet.http.HttpServletRequest request,
String portletId,
long scopeGroupId)
|
protected PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId)
|
protected PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId,
long scopeGroupId)
|
protected PortletURL |
getPortletURL(javax.servlet.http.HttpServletRequest request,
String className,
PortletProvider.Action action,
long scopeGroupId)
|
boolean |
isEnabled()
|
abstract String |
search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
|
String |
search(javax.servlet.http.HttpServletRequest request,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
|
String |
search(javax.servlet.http.HttpServletRequest request,
String url)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseOpenSearchImpl()
public BaseOpenSearchImpl(String openSearchURL,
String openSearchDescriptionURL)
| Method Detail |
|---|
public String getClassName()
getClassName in interface OpenSearchpublic boolean isEnabled()
isEnabled in interface OpenSearch
public abstract String search(javax.servlet.http.HttpServletRequest request,
long groupId,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
throws SearchException
search in interface OpenSearchSearchException
public String search(javax.servlet.http.HttpServletRequest request,
long userId,
String keywords,
int startPage,
int itemsPerPage,
String format)
throws SearchException
search in interface OpenSearchSearchException
public String search(javax.servlet.http.HttpServletRequest request,
String url)
throws SearchException
search in interface OpenSearchSearchException
protected void addSearchResult(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
double score,
String format)
protected void addSearchResult(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score,
String format)
protected void addSearchResultAtom(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score)
protected void addSearchResultRSS(Element root,
long groupId,
long scopeGroupId,
String entryClassName,
long entryClassPK,
String title,
String link,
Date updated,
String summary,
String[] tags,
double ratings,
double score)
protected Object[] addSearchResults(String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
String title,
String searchPath,
String format,
ThemeDisplay themeDisplay)
protected Object[] addSearchResultsAtom(Document doc,
String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
int totalPages,
int previousPage,
int nextPage,
String title,
String searchPath,
ThemeDisplay themeDisplay)
protected Object[] addSearchResultsRSS(Document doc,
String[] queryTerms,
String keywords,
int startPage,
int itemsPerPage,
int total,
int start,
int totalPages,
int previousPage,
int nextPage,
String title,
String searchPath,
ThemeDisplay themeDisplay)
protected String getOpenSearchDescriptionURL(String searchPath,
ThemeDisplay themeDisplay)
protected String getOpenSearchURL(String searchPath,
ThemeDisplay themeDisplay)
protected long getPlid(javax.servlet.http.HttpServletRequest request,
String portletId,
long scopeGroupId)
throws Exception
Exception
protected PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId)
throws Exception
Exception
protected PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
String portletId,
long scopeGroupId)
throws Exception
Exception
protected PortletURL getPortletURL(javax.servlet.http.HttpServletRequest request,
String className,
PortletProvider.Action action,
long scopeGroupId)
throws Exception
Exception
|
Liferay 7.0-ce-b4 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||