|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portal.kernel.search.SearchEngineUtil
public class SearchEngineUtil
Field Summary | |
---|---|
static int |
ALL_POS
Deprecated. QueryUtil.ALL_POS |
static String |
GENERIC_ENGINE_ID
|
static String |
SYSTEM_ENGINE_ID
|
Constructor Summary | |
---|---|
SearchEngineUtil()
|
Method Summary | |
---|---|
static void |
addDocument(long companyId,
Document document)
Deprecated. addDocument(String, long, Document) |
static void |
addDocument(String searchEngineId,
long companyId,
Document document)
|
static void |
addDocuments(long companyId,
Collection<Document> documents)
Deprecated. addDocuments(String, long, Collection) |
static void |
addDocuments(String searchEngineId,
long companyId,
Collection<Document> documents)
|
static void |
addSearchEngine(SearchEngine searchEngine)
Deprecated. setSearchEngine(String, SearchEngine) |
static void |
deleteDocument(long companyId,
String uid)
Deprecated. deleteDocument(String, long, String) |
static void |
deleteDocument(String searchEngineId,
long companyId,
String uid)
|
static void |
deleteDocuments(long companyId,
Collection<String> uids)
Deprecated. deleteDocuments(String, long, Collection) |
static void |
deleteDocuments(String searchEngineId,
long companyId,
Collection<String> uids)
|
static void |
deletePortletDocuments(long companyId,
String portletId)
Deprecated. deletePortletDocuments(String, long, String) |
static void |
deletePortletDocuments(String searchEngineId,
long companyId,
String portletId)
|
static String |
getDefaultSearchEngineId()
|
static String[] |
getEntryClassNames()
|
static SearchEngine |
getSearchEngine()
Deprecated. getSearchEngine(String) |
static SearchEngine |
getSearchEngine(String searchEngineId)
|
static Set<String> |
getSearchEngineIds()
|
static SearchEngine |
getSearchEngineSilent(String searchEngineId)
|
static SearchPermissionChecker |
getSearchPermissionChecker()
|
static String |
getSearchReaderDestinationName(String searchEngineId)
|
static String |
getSearchWriterDestinationName(String searchEngineId)
|
static boolean |
isIndexReadOnly()
|
static SearchEngine |
removeSearchEngine(String searchEngineId)
|
static Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
Query query,
int start,
int end)
Deprecated. |
static Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
Query query,
Sort[] sorts,
int start,
int end)
Deprecated. |
static Hits |
search(long companyId,
long[] groupIds,
long userId,
String className,
Query query,
Sort sort,
int start,
int end)
Deprecated. |
static Hits |
search(long companyId,
Query query,
int start,
int end)
Deprecated. search(String, long, Query, int, int) |
static Hits |
search(long companyId,
Query query,
Sort[] sorts,
int start,
int end)
Deprecated. search(String, long, Query, Sort[], int, int) |
static Hits |
search(long companyId,
Query query,
Sort sort,
int start,
int end)
Deprecated. search(String, long, Query, Sort, int, int) |
static Hits |
search(SearchContext searchContext,
Query query)
|
static Hits |
search(String searchEngineId,
long companyId,
Query query,
int start,
int end)
|
static Hits |
search(String searchEngineId,
long companyId,
Query query,
Sort[] sorts,
int start,
int end)
|
static Hits |
search(String searchEngineId,
long companyId,
Query query,
Sort sort,
int start,
int end)
|
static void |
setDefaultSearchEngineId(String defaultSearchEngineId)
|
void |
setExcludedEntryClassNames(List<String> excludedEntryClassNames)
|
static void |
setIndexReadOnly(boolean indexReadOnly)
|
void |
setSearchEngine(SearchEngine searchEngine)
Deprecated. setSearchEngine(String, SearchEngine) |
static void |
setSearchEngine(String searchEngineId,
SearchEngine searchEngine)
|
void |
setSearchPermissionChecker(SearchPermissionChecker searchPermissionChecker)
|
static void |
updateDocument(long companyId,
Document document)
Deprecated. updateDocument(String, long, Document) |
static void |
updateDocument(String searchEngineId,
long companyId,
Document document)
|
static void |
updateDocuments(long companyId,
Collection<Document> documents)
Deprecated. updateDocuments(String, long, Collection) |
static void |
updateDocuments(String searchEngineId,
long companyId,
Collection<Document> documents)
|
static void |
updatePermissionFields(long resourceId)
|
static void |
updatePermissionFields(String name,
String primKey)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int ALL_POS
QueryUtil.ALL_POS
public static final String GENERIC_ENGINE_ID
public static final String SYSTEM_ENGINE_ID
Constructor Detail |
---|
public SearchEngineUtil()
Method Detail |
---|
public static void addDocument(long companyId, Document document) throws SearchException
addDocument(String, long, Document)
SearchException
public static void addDocument(String searchEngineId, long companyId, Document document) throws SearchException
SearchException
public static void addDocuments(long companyId, Collection<Document> documents) throws SearchException
addDocuments(String, long, Collection)
SearchException
public static void addDocuments(String searchEngineId, long companyId, Collection<Document> documents) throws SearchException
SearchException
public static void addSearchEngine(SearchEngine searchEngine)
setSearchEngine(String, SearchEngine)
public static void deleteDocument(long companyId, String uid) throws SearchException
deleteDocument(String, long, String)
SearchException
public static void deleteDocument(String searchEngineId, long companyId, String uid) throws SearchException
SearchException
public static void deleteDocuments(long companyId, Collection<String> uids) throws SearchException
deleteDocuments(String, long, Collection)
SearchException
public static void deleteDocuments(String searchEngineId, long companyId, Collection<String> uids) throws SearchException
SearchException
public static void deletePortletDocuments(long companyId, String portletId) throws SearchException
deletePortletDocuments(String, long, String)
SearchException
public static void deletePortletDocuments(String searchEngineId, long companyId, String portletId) throws SearchException
SearchException
public static String getDefaultSearchEngineId()
public static String[] getEntryClassNames()
public static SearchEngine getSearchEngine()
getSearchEngine(String)
public static SearchEngine getSearchEngine(String searchEngineId)
public static Set<String> getSearchEngineIds()
public static SearchEngine getSearchEngineSilent(String searchEngineId)
public static SearchPermissionChecker getSearchPermissionChecker()
public static String getSearchReaderDestinationName(String searchEngineId)
public static String getSearchWriterDestinationName(String searchEngineId)
public static boolean isIndexReadOnly()
public static SearchEngine removeSearchEngine(String searchEngineId)
public static Hits search(long companyId, long[] groupIds, long userId, String className, Query query, int start, int end) throws SearchException
SearchException
public static Hits search(long companyId, long[] groupIds, long userId, String className, Query query, Sort sort, int start, int end) throws SearchException
SearchException
public static Hits search(long companyId, long[] groupIds, long userId, String className, Query query, Sort[] sorts, int start, int end) throws SearchException
SearchException
public static Hits search(long companyId, Query query, int start, int end) throws SearchException
search(String, long, Query, int, int)
SearchException
public static Hits search(long companyId, Query query, Sort sort, int start, int end) throws SearchException
search(String, long, Query, Sort, int, int)
SearchException
public static Hits search(long companyId, Query query, Sort[] sorts, int start, int end) throws SearchException
search(String, long, Query, Sort[], int, int)
SearchException
public static Hits search(SearchContext searchContext, Query query) throws SearchException
SearchException
public static Hits search(String searchEngineId, long companyId, Query query, int start, int end) throws SearchException
SearchException
public static Hits search(String searchEngineId, long companyId, Query query, Sort sort, int start, int end) throws SearchException
SearchException
public static Hits search(String searchEngineId, long companyId, Query query, Sort[] sorts, int start, int end) throws SearchException
SearchException
public static void setDefaultSearchEngineId(String defaultSearchEngineId)
public static void setIndexReadOnly(boolean indexReadOnly)
public static void setSearchEngine(String searchEngineId, SearchEngine searchEngine)
public static void updateDocument(long companyId, Document document) throws SearchException
updateDocument(String, long, Document)
SearchException
public static void updateDocument(String searchEngineId, long companyId, Document document) throws SearchException
SearchException
public static void updateDocuments(long companyId, Collection<Document> documents) throws SearchException
updateDocuments(String, long, Collection)
SearchException
public static void updateDocuments(String searchEngineId, long companyId, Collection<Document> documents) throws SearchException
SearchException
public static void updatePermissionFields(long resourceId)
public static void updatePermissionFields(String name, String primKey)
public void setExcludedEntryClassNames(List<String> excludedEntryClassNames)
public void setSearchEngine(SearchEngine searchEngine)
setSearchEngine(String, SearchEngine)
public void setSearchPermissionChecker(SearchPermissionChecker searchPermissionChecker)
|
Liferay 6.1.2-ce-ga3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |