Liferay 6.0.5

com.liferay.portal.service.persistence
Class UserFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<User>
      extended by com.liferay.portal.service.persistence.UserFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<User>, UserFinder

public class UserFinderImpl
extends BasePersistenceImpl<User>
implements UserFinder


Field Summary
protected static String ACTIVE_SQL
           
static String COUNT_BY_C_FN_MN_LN_SN_EA_A
           
static String COUNT_BY_USER
           
static String FIND_BY_C_FN_MN_LN_SN_EA_A
           
static String FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES
           
static String FIND_BY_NO_CONTACTS
           
static String FIND_BY_NO_GROUPS
           
static String JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS
           
static String JOIN_BY_CONTACT_TWITTER_SN
           
static String JOIN_BY_PERMISSION
           
static String JOIN_BY_SOCIAL_MUTUAL_RELATION
           
static String JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE
           
static String JOIN_BY_SOCIAL_RELATION
           
static String JOIN_BY_SOCIAL_RELATION_TYPE
           
static String JOIN_BY_USER_GROUP_ROLE
           
static String JOIN_BY_USERS_GROUPS
           
static String JOIN_BY_USERS_ORGS
           
static String JOIN_BY_USERS_ORGS_TREE
           
static String JOIN_BY_USERS_PASSWORD_POLICIES
           
static String JOIN_BY_USERS_ROLES
           
static String JOIN_BY_USERS_TEAMS
           
static String JOIN_BY_USERS_USER_GROUPS
           
 
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
COUNT_COLUMN_NAME, listeners, 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
UserFinderImpl()
           
 
Method Summary
 int countByC_FN_MN_LN_SN_EA_A(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, Boolean active, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByC_FN_MN_LN_SN_EA_A(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, Boolean active, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByKeywords(long companyId, String keywords, Boolean active, LinkedHashMap<String,Object> params)
           
 int countByUser(long userId, LinkedHashMap<String,Object> params)
           
 List<User> findByC_FN_MN_LN_SN_EA_A(long companyId, String[] firstNames, String[] middleNames, String[] lastNames, String[] screenNames, String[] emailAddresses, Boolean active, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<User> findByC_FN_MN_LN_SN_EA_A(long companyId, String firstName, String middleName, String lastName, String screenName, String emailAddress, Boolean active, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<User> findByKeywords(long companyId, String keywords, Boolean active, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 List<User> findByNoAnnouncementsDeliveries(String type)
           
 List<User> findByNoContacts()
           
 List<User> findByNoGroups()
           
protected  String getJoin(LinkedHashMap<String,Object> params)
           
protected  String getJoin(String key, Object value)
           
protected  String getWhere(LinkedHashMap<String,Object> params)
           
protected  String getWhere(String key, Object value)
           
protected  void setJoin(QueryPos qPos, LinkedHashMap<String,Object> params)
           
 
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl
appendOrderByComparator, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getDataSource, getDialect, getListeners, openNewSession, openSession, processException, registerListener, remove, remove, removeImpl, setDataSource, setSessionFactory, unregisterListener, update, update, updateImpl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

COUNT_BY_USER

public static String COUNT_BY_USER

COUNT_BY_C_FN_MN_LN_SN_EA_A

public static String COUNT_BY_C_FN_MN_LN_SN_EA_A

FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES

public static String FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES

FIND_BY_NO_CONTACTS

public static String FIND_BY_NO_CONTACTS

FIND_BY_NO_GROUPS

public static String FIND_BY_NO_GROUPS

FIND_BY_C_FN_MN_LN_SN_EA_A

public static String FIND_BY_C_FN_MN_LN_SN_EA_A

JOIN_BY_CONTACT_TWITTER_SN

public static String JOIN_BY_CONTACT_TWITTER_SN

JOIN_BY_PERMISSION

public static String JOIN_BY_PERMISSION

JOIN_BY_USER_GROUP_ROLE

public static String JOIN_BY_USER_GROUP_ROLE

JOIN_BY_USERS_GROUPS

public static String JOIN_BY_USERS_GROUPS

JOIN_BY_USERS_ORGS

public static String JOIN_BY_USERS_ORGS

JOIN_BY_USERS_ORGS_TREE

public static String JOIN_BY_USERS_ORGS_TREE

JOIN_BY_USERS_PASSWORD_POLICIES

public static String JOIN_BY_USERS_PASSWORD_POLICIES

JOIN_BY_USERS_ROLES

public static String JOIN_BY_USERS_ROLES

JOIN_BY_USERS_TEAMS

public static String JOIN_BY_USERS_TEAMS

JOIN_BY_USERS_USER_GROUPS

public static String JOIN_BY_USERS_USER_GROUPS

JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS

public static String JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS

JOIN_BY_SOCIAL_MUTUAL_RELATION

public static String JOIN_BY_SOCIAL_MUTUAL_RELATION

JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE

public static String JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE

JOIN_BY_SOCIAL_RELATION

public static String JOIN_BY_SOCIAL_RELATION

JOIN_BY_SOCIAL_RELATION_TYPE

public static String JOIN_BY_SOCIAL_RELATION_TYPE

ACTIVE_SQL

protected static String ACTIVE_SQL
Constructor Detail

UserFinderImpl

public UserFinderImpl()
Method Detail

countByUser

public int countByUser(long userId,
                       LinkedHashMap<String,Object> params)
                throws SystemException
Specified by:
countByUser in interface UserFinder
Throws:
SystemException

countByKeywords

public int countByKeywords(long companyId,
                           String keywords,
                           Boolean active,
                           LinkedHashMap<String,Object> params)
                    throws SystemException
Specified by:
countByKeywords in interface UserFinder
Throws:
SystemException

countByC_FN_MN_LN_SN_EA_A

public int countByC_FN_MN_LN_SN_EA_A(long companyId,
                                     String firstName,
                                     String middleName,
                                     String lastName,
                                     String screenName,
                                     String emailAddress,
                                     Boolean active,
                                     LinkedHashMap<String,Object> params,
                                     boolean andOperator)
                              throws SystemException
Specified by:
countByC_FN_MN_LN_SN_EA_A in interface UserFinder
Throws:
SystemException

countByC_FN_MN_LN_SN_EA_A

public int countByC_FN_MN_LN_SN_EA_A(long companyId,
                                     String[] firstNames,
                                     String[] middleNames,
                                     String[] lastNames,
                                     String[] screenNames,
                                     String[] emailAddresses,
                                     Boolean active,
                                     LinkedHashMap<String,Object> params,
                                     boolean andOperator)
                              throws SystemException
Specified by:
countByC_FN_MN_LN_SN_EA_A in interface UserFinder
Throws:
SystemException

findByKeywords

public List<User> findByKeywords(long companyId,
                                 String keywords,
                                 Boolean active,
                                 LinkedHashMap<String,Object> params,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws SystemException
Specified by:
findByKeywords in interface UserFinder
Throws:
SystemException

findByNoAnnouncementsDeliveries

public List<User> findByNoAnnouncementsDeliveries(String type)
                                           throws SystemException
Specified by:
findByNoAnnouncementsDeliveries in interface UserFinder
Throws:
SystemException

findByNoContacts

public List<User> findByNoContacts()
                            throws SystemException
Specified by:
findByNoContacts in interface UserFinder
Throws:
SystemException

findByNoGroups

public List<User> findByNoGroups()
                          throws SystemException
Specified by:
findByNoGroups in interface UserFinder
Throws:
SystemException

findByC_FN_MN_LN_SN_EA_A

public List<User> findByC_FN_MN_LN_SN_EA_A(long companyId,
                                           String firstName,
                                           String middleName,
                                           String lastName,
                                           String screenName,
                                           String emailAddress,
                                           Boolean active,
                                           LinkedHashMap<String,Object> params,
                                           boolean andOperator,
                                           int start,
                                           int end,
                                           OrderByComparator obc)
                                    throws SystemException
Specified by:
findByC_FN_MN_LN_SN_EA_A in interface UserFinder
Throws:
SystemException

findByC_FN_MN_LN_SN_EA_A

public List<User> findByC_FN_MN_LN_SN_EA_A(long companyId,
                                           String[] firstNames,
                                           String[] middleNames,
                                           String[] lastNames,
                                           String[] screenNames,
                                           String[] emailAddresses,
                                           Boolean active,
                                           LinkedHashMap<String,Object> params,
                                           boolean andOperator,
                                           int start,
                                           int end,
                                           OrderByComparator obc)
                                    throws SystemException
Specified by:
findByC_FN_MN_LN_SN_EA_A in interface UserFinder
Throws:
SystemException

getJoin

protected String getJoin(LinkedHashMap<String,Object> params)

getJoin

protected String getJoin(String key,
                         Object value)

getWhere

protected String getWhere(LinkedHashMap<String,Object> params)

getWhere

protected String getWhere(String key,
                          Object value)

setJoin

protected void setJoin(QueryPos qPos,
                       LinkedHashMap<String,Object> params)

Liferay 6.0.5