com.liferay.portlet.enterpriseadmin.util
Class UserIndexer

java.lang.Object
  extended by com.liferay.portlet.enterpriseadmin.util.UserIndexer
All Implemented Interfaces:
com.liferay.portal.kernel.search.Indexer

public class UserIndexer
extends java.lang.Object
implements com.liferay.portal.kernel.search.Indexer

View Source

Author:
Raymond Augé

Field Summary
static java.lang.String PORTLET_ID
           
 
Fields inherited from interface com.liferay.portal.kernel.search.Indexer
DEFAULT_INTERVAL
 
Constructor Summary
UserIndexer()
           
 
Method Summary
static void deleteUser(long companyId, long userId)
           
 java.lang.String[] getClassNames()
           
 com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Document doc, javax.portlet.PortletURL portletURL)
           
static com.liferay.portal.kernel.search.Document getUserDocument(long companyId, long userId, java.lang.String screenName, java.lang.String emailAddress, java.lang.String firstName, java.lang.String middleName, java.lang.String lastName, java.lang.String jobTitle, boolean active, long[] groupIds, long[] organizationIds, long[] roleIds, long[] userGroupIds, java.lang.String[] tagsEntries, com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)
           
static java.lang.String getUserUID(long userId)
           
 void reIndex(java.lang.String[] ids)
           
 void reIndex(java.lang.String className, long classPK)
           
static void setEnabled(boolean enabled)
           
static void updateUser(com.liferay.portal.model.User user)
           
static void updateUsers(java.util.List<com.liferay.portal.model.User> users)
           
static void updateUsers(long[] userIds)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PORTLET_ID

public static final java.lang.String PORTLET_ID
See Also:
Constant Field Values
Constructor Detail

UserIndexer

public UserIndexer()
Method Detail

deleteUser

public static void deleteUser(long companyId,
                              long userId)
                       throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

getUserDocument

public static com.liferay.portal.kernel.search.Document getUserDocument(long companyId,
                                                                        long userId,
                                                                        java.lang.String screenName,
                                                                        java.lang.String emailAddress,
                                                                        java.lang.String firstName,
                                                                        java.lang.String middleName,
                                                                        java.lang.String lastName,
                                                                        java.lang.String jobTitle,
                                                                        boolean active,
                                                                        long[] groupIds,
                                                                        long[] organizationIds,
                                                                        long[] roleIds,
                                                                        long[] userGroupIds,
                                                                        java.lang.String[] tagsEntries,
                                                                        com.liferay.portlet.expando.model.ExpandoBridge expandoBridge)

getUserUID

public static java.lang.String getUserUID(long userId)

setEnabled

public static void setEnabled(boolean enabled)

updateUser

public static void updateUser(com.liferay.portal.model.User user)
                       throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

updateUsers

public static void updateUsers(long[] userIds)
                        throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

updateUsers

public static void updateUsers(java.util.List<com.liferay.portal.model.User> users)
                        throws com.liferay.portal.kernel.search.SearchException
Throws:
com.liferay.portal.kernel.search.SearchException

getClassNames

public java.lang.String[] getClassNames()
Specified by:
getClassNames in interface com.liferay.portal.kernel.search.Indexer

getDocumentSummary

public com.liferay.portal.kernel.search.DocumentSummary getDocumentSummary(com.liferay.portal.kernel.search.Document doc,
                                                                           javax.portlet.PortletURL portletURL)
Specified by:
getDocumentSummary in interface com.liferay.portal.kernel.search.Indexer

reIndex

public void reIndex(java.lang.String className,
                    long classPK)
             throws com.liferay.portal.kernel.search.SearchException
Specified by:
reIndex in interface com.liferay.portal.kernel.search.Indexer
Throws:
com.liferay.portal.kernel.search.SearchException

reIndex

public void reIndex(java.lang.String[] ids)
             throws com.liferay.portal.kernel.search.SearchException
Specified by:
reIndex in interface com.liferay.portal.kernel.search.Indexer
Throws:
com.liferay.portal.kernel.search.SearchException