com.liferay.portlet.enterpriseadmin.util
Class UserIndexer
java.lang.Object
com.liferay.portal.search.BaseIndexer
com.liferay.portlet.enterpriseadmin.util.UserIndexer
- All Implemented Interfaces:
- com.liferay.portal.kernel.search.Indexer
public class UserIndexer
- extends com.liferay.portal.search.BaseIndexer
View Source
- Author:
- Raymond Augé, Zsigmond Rab
Fields inherited from interface com.liferay.portal.kernel.search.Indexer |
DEFAULT_INTERVAL |
Method Summary |
protected void |
addContextQueryParams(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
java.lang.String key,
java.lang.Object value)
|
protected void |
addSearchQueryParams(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge,
java.util.Set<java.lang.String> attributeNames,
java.lang.String key,
java.lang.Object value,
boolean andSearch)
|
protected void |
doDelete(java.lang.Object obj)
|
protected com.liferay.portal.kernel.search.Document |
doGetDocument(java.lang.Object obj)
|
protected void |
doReindex(java.lang.Object obj)
|
protected void |
doReindex(java.lang.String[] ids)
|
protected void |
doReindex(java.lang.String className,
long classPK)
|
protected long[] |
getAncestorOrganizationIds(long userId,
long[] organizationIds)
|
java.lang.String[] |
getClassNames()
|
protected java.lang.String |
getPortletId(com.liferay.portal.kernel.search.SearchContext searchContext)
|
com.liferay.portal.kernel.search.Summary |
getSummary(com.liferay.portal.kernel.search.Document document,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
|
protected void |
postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
|
protected void |
postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
|
protected void |
reindexUsers(long companyId)
|
protected void |
reindexUsers(long companyId,
int start,
int end)
|
Methods inherited from class com.liferay.portal.search.BaseIndexer |
addSearchCategoryIds, addSearchFolderIds, addSearchGroupId, addSearchKeywords, addSearchNodeIds, addSearchOwnerUserId, checkSearchCategoryId, checkSearchFolderId, checkSearchNodeId, createFullQuery, delete, getClassName, getDocument, getParentGroupId, postProcessFullQuery, reindex, reindex, reindex, search |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLASS_NAMES
public static final java.lang.String[] CLASS_NAMES
PORTLET_ID
public static final java.lang.String PORTLET_ID
- See Also:
- Constant Field Values
UserIndexer
public UserIndexer()
getClassNames
public java.lang.String[] getClassNames()
getSummary
public com.liferay.portal.kernel.search.Summary getSummary(com.liferay.portal.kernel.search.Document document,
java.lang.String snippet,
javax.portlet.PortletURL portletURL)
addContextQueryParams
protected void addContextQueryParams(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
java.lang.String key,
java.lang.Object value)
throws java.lang.Exception
- Throws:
java.lang.Exception
addSearchQueryParams
protected void addSearchQueryParams(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portlet.expando.model.ExpandoBridge expandoBridge,
java.util.Set<java.lang.String> attributeNames,
java.lang.String key,
java.lang.Object value,
boolean andSearch)
throws java.lang.Exception
- Throws:
java.lang.Exception
doDelete
protected void doDelete(java.lang.Object obj)
throws java.lang.Exception
- Specified by:
doDelete
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
doGetDocument
protected com.liferay.portal.kernel.search.Document doGetDocument(java.lang.Object obj)
throws java.lang.Exception
- Specified by:
doGetDocument
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
doReindex
protected void doReindex(java.lang.Object obj)
throws java.lang.Exception
- Specified by:
doReindex
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
doReindex
protected void doReindex(java.lang.String className,
long classPK)
throws java.lang.Exception
- Specified by:
doReindex
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
doReindex
protected void doReindex(java.lang.String[] ids)
throws java.lang.Exception
- Specified by:
doReindex
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
getAncestorOrganizationIds
protected long[] getAncestorOrganizationIds(long userId,
long[] organizationIds)
throws java.lang.Exception
- Throws:
java.lang.Exception
getPortletId
protected java.lang.String getPortletId(com.liferay.portal.kernel.search.SearchContext searchContext)
- Specified by:
getPortletId
in class com.liferay.portal.search.BaseIndexer
postProcessContextQuery
protected void postProcessContextQuery(com.liferay.portal.kernel.search.BooleanQuery contextQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
- Overrides:
postProcessContextQuery
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
postProcessSearchQuery
protected void postProcessSearchQuery(com.liferay.portal.kernel.search.BooleanQuery searchQuery,
com.liferay.portal.kernel.search.SearchContext searchContext)
throws java.lang.Exception
- Overrides:
postProcessSearchQuery
in class com.liferay.portal.search.BaseIndexer
- Throws:
java.lang.Exception
reindexUsers
protected void reindexUsers(long companyId)
throws java.lang.Exception
- Throws:
java.lang.Exception
reindexUsers
protected void reindexUsers(long companyId,
int start,
int end)
throws java.lang.Exception
- Throws:
java.lang.Exception