Class UserFinderImpl
Object
com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl<com.liferay.portal.kernel.model.User>
com.liferay.portal.service.persistence.impl.UserFinderBaseImpl
com.liferay.portal.service.persistence.impl.UserFinderImpl
- All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.SessionFactory,com.liferay.portal.kernel.service.persistence.BasePersistence<com.liferay.portal.kernel.model.User>,com.liferay.portal.kernel.service.persistence.UserFinder
public class UserFinderImpl
extends UserFinderBaseImpl
implements com.liferay.portal.kernel.service.persistence.UserFinder
- Author:
- Brian Wing Shun Chan, Jon Steer, Raymond Augé, Connor McKay, Shuyang Zhou
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class com.liferay.portal.service.persistence.impl.UserFinderBaseImpl
userPersistenceFields inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, databaseInMaxParameters, dbColumnNames, dummyEntityCache, dummyFinderCache, entityCacheEnabled, FINDER_ARGS_EMPTY, finderCacheEnabled, NULL_SAFE_STRING_COMPARATOR, nullModel, ORDER_BY_ASC, ORDER_BY_ASC_HAS_NEXT, ORDER_BY_CLAUSE, ORDER_BY_DESC, ORDER_BY_DESC_HAS_NEXT, WHERE_AND, WHERE_GREATER_THAN, WHERE_GREATER_THAN_HAS_NEXT, WHERE_LESSER_THAN, WHERE_LESSER_THAN_HAS_NEXT, WHERE_OR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintcountByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator) intcountByC_FN_MN_LN_SN_EA_S(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, int status, LinkedHashMap<String, Object> params, boolean andOperator) intcountByKeywords(long companyId, String keywords, int status, LinkedHashMap<String, Object> params) intcountByOrganizationsAndUserGroups(long[] organizationIds, long[] userGroupIds) intcountBySocialUsers(long companyId, long userId, int socialRelationType, String socialRelationTypeComparator, int status) intcountByUser(long userId, LinkedHashMap<String, Object> params) doFindByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) List<com.liferay.portal.kernel.model.User>findByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) List<com.liferay.portal.kernel.model.User>findByC_FN_MN_LN_SN_EA_S(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) List<com.liferay.portal.kernel.model.User>findByKeywords(long companyId, String keywords, int status, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) List<com.liferay.portal.kernel.model.User>List<com.liferay.portal.kernel.model.User>List<com.liferay.portal.kernel.model.User>findBySocialUsers(long companyId, long userId, int socialRelationType, String socialRelationTypeComparator, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) List<com.liferay.portal.kernel.model.User>findByUsersOrgsGtUserId(long companyId, long organizationId, long gtUserId, int size) List<com.liferay.portal.kernel.model.User>findByUsersUserGroupsGtUserId(long companyId, long userGroupId, long gtUserId, int size) protected StringgetColumnNames(com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) protected Stringprotected StringgetJoin(LinkedHashMap<String, Object> params) protected List<LinkedHashMap<String,Object>> getParamsList(LinkedHashMap<String, Object> params) protected Stringprotected StringgetWhere(LinkedHashMap<String, Object> params) protected StringreplaceJoinAndWhere(String sql, LinkedHashMap<String, Object> params) protected StringreplaceKeywords(String sql, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses) protected voidsetJoin(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, LinkedHashMap<String, Object> params) Methods inherited from class com.liferay.portal.service.persistence.impl.UserFinderBaseImpl
getBadColumnNames, getUserPersistence, setUserPersistenceMethods inherited from class com.liferay.portal.kernel.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, appendOrderByComparator, cacheResult, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, dslQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCompoundPKColumnNames, getCurrentSession, getDataSource, getDB, getDialect, getEntityCache, getFinderCache, getListeners, getModelClass, getPKDBName, getSelectSQL, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeByFunction, removeConjunction, removeImpl, setConfiguration, setDataSource, setDBColumnNames, setEntityCacheEnabled, setModelClass, setModelImplClass, setModelPKClass, setSessionFactory, setTable, unregisterListener, update, update, updateImplMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.service.persistence.BasePersistence
clearCache, dslQueryCount
-
Field Details
-
COUNT_BY_ORGANIZATIONS_AND_USER_GROUPS
-
COUNT_BY_SOCIAL_USERS
-
COUNT_BY_USER
-
FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES
-
FIND_BY_NO_GROUPS
-
FIND_BY_SOCIAL_USERS
-
FIND_BY_USERS_GROUPS
-
FIND_BY_USERS_ORGS
-
FIND_BY_USERS_ORGS_GROUP
-
FIND_BY_USERS_ORGS_GT_USER_ID
-
FIND_BY_USERS_USER_GROUPS
-
FIND_BY_USERS_USER_GROUPS_GT_USER_ID
-
FIND_BY_C_FN_MN_LN_SN_EA_S
-
JOIN_BY_CONTACT_TWITTER_SN
-
JOIN_BY_GROUPS_ORGS
-
JOIN_BY_GROUPS_USER_GROUPS
-
JOIN_BY_NO_ACCOUNT_ENTRIES_AND_NO_ORGANIZATIONS
-
JOIN_BY_NO_ORGANIZATIONS
-
JOIN_BY_USER_GROUP_ROLE
-
JOIN_BY_USER_GROUPS_TEAMS
-
JOIN_BY_USERS_GROUPS
-
JOIN_BY_USERS_ORGS
-
JOIN_BY_USERS_ORGS_TREE
-
JOIN_BY_USERS_PASSWORD_POLICIES
-
JOIN_BY_USERS_ROLES
-
JOIN_BY_USERS_TEAMS
-
JOIN_BY_USERS_USER_GROUPS
-
JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS
-
JOIN_BY_SOCIAL_MUTUAL_RELATION
-
JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE
-
JOIN_BY_SOCIAL_RELATION
-
JOIN_BY_SOCIAL_RELATION_TYPE
-
-
Constructor Details
-
UserFinderImpl
public UserFinderImpl()
-
-
Method Details
-
countByKeywords
public int countByKeywords(long companyId, String keywords, int status, LinkedHashMap<String, Object> params) - Specified by:
countByKeywordsin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
countByOrganizationsAndUserGroups
public int countByOrganizationsAndUserGroups(long[] organizationIds, long[] userGroupIds) - Specified by:
countByOrganizationsAndUserGroupsin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
countBySocialUsers
public int countBySocialUsers(long companyId, long userId, int socialRelationType, String socialRelationTypeComparator, int status) - Specified by:
countBySocialUsersin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
countByUser
- Specified by:
countByUserin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
countByC_FN_MN_LN_SN_EA_S
public int countByC_FN_MN_LN_SN_EA_S(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, int status, LinkedHashMap<String, Object> params, boolean andOperator) - Specified by:
countByC_FN_MN_LN_SN_EA_Sin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
countByC_FN_MN_LN_SN_EA_S
public int countByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator) - Specified by:
countByC_FN_MN_LN_SN_EA_Sin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByKeywords
public List<com.liferay.portal.kernel.model.User> findByKeywords(long companyId, String keywords, int status, LinkedHashMap<String, Object> params, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) - Specified by:
findByKeywordsin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByNoAnnouncementsDeliveries
- Specified by:
findByNoAnnouncementsDeliveriesin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByNoGroups
- Specified by:
findByNoGroupsin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findBySocialUsers
public List<com.liferay.portal.kernel.model.User> findBySocialUsers(long companyId, long userId, int socialRelationType, String socialRelationTypeComparator, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) - Specified by:
findBySocialUsersin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByUsersOrgsGtUserId
public List<com.liferay.portal.kernel.model.User> findByUsersOrgsGtUserId(long companyId, long organizationId, long gtUserId, int size) - Specified by:
findByUsersOrgsGtUserIdin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByUsersUserGroupsGtUserId
public List<com.liferay.portal.kernel.model.User> findByUsersUserGroupsGtUserId(long companyId, long userGroupId, long gtUserId, int size) - Specified by:
findByUsersUserGroupsGtUserIdin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByC_FN_MN_LN_SN_EA_S
public List<com.liferay.portal.kernel.model.User> findByC_FN_MN_LN_SN_EA_S(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) - Specified by:
findByC_FN_MN_LN_SN_EA_Sin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
findByC_FN_MN_LN_SN_EA_S
public List<com.liferay.portal.kernel.model.User> findByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) - Specified by:
findByC_FN_MN_LN_SN_EA_Sin interfacecom.liferay.portal.kernel.service.persistence.UserFinder
-
doFindByC_FN_MN_LN_SN_EA_S
protected List<Long> doFindByC_FN_MN_LN_SN_EA_S(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, int status, LinkedHashMap<String, Object> params, boolean andOperator, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) -
getColumnNames
protected String getColumnNames(com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portal.kernel.model.User> orderByComparator) -
getJoin
-
getJoin
-
getParamsList
-
getWhere
-
getWhere
-
replaceJoinAndWhere
-
replaceKeywords
-
setJoin
protected void setJoin(com.liferay.portal.kernel.dao.orm.QueryPos queryPos, LinkedHashMap<String, Object> params)
-