001
014
015 package com.liferay.portal.kernel.search;
016
017 import javax.servlet.http.HttpServletRequest;
018
019
022 public interface OpenSearch {
023
024 public String getClassName();
025
026 public boolean isEnabled();
027
028 public String search(
029 HttpServletRequest request, long groupId, long userId,
030 String keywords, int startPage, int itemsPerPage, String format)
031 throws SearchException;
032
033 public String search(
034 HttpServletRequest request, long userId, String keywords,
035 int startPage, int itemsPerPage, String format)
036 throws SearchException;
037
038 public String search(HttpServletRequest request, String url)
039 throws SearchException;
040
041 }