com.liferay.portal.service.persistence
Class UserFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<User>
com.liferay.portal.service.persistence.UserFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<User>, UserFinder
public class UserFinderImpl
- extends BasePersistenceImpl<User>
- implements UserFinder
Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, 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 |
Method Summary |
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)
|
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)
|
protected List<Long> |
countByC_FN_MN_LN_SN_EA_S(Session session,
long companyId,
String[] firstNames,
String[] middleNames,
String[] lastNames,
String[] screenNames,
String[] emailAddresses,
int status,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
int |
countByKeywords(long companyId,
String keywords,
int status,
LinkedHashMap<String,Object> params)
|
int |
countByUser(long userId,
LinkedHashMap<String,Object> params)
|
List<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,
OrderByComparator obc)
|
List<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,
OrderByComparator obc)
|
List<User> |
findByKeywords(long companyId,
String keywords,
int status,
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 String |
replaceJoinAndWhere(String sql,
LinkedHashMap<String,Object> params)
|
protected void |
setJoin(QueryPos qPos,
LinkedHashMap<String,Object> params)
|
Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, fetchByPrimaryKey, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, getClassLoader, getDataSource, getDB, 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 |
COUNT_BY_USER
public static final String COUNT_BY_USER
COUNT_BY_C_FN_MN_LN_SN_EA_S
public static final String COUNT_BY_C_FN_MN_LN_SN_EA_S
FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES
public static final String FIND_BY_NO_ANNOUNCEMENTS_DELIVERIES
FIND_BY_NO_CONTACTS
public static final String FIND_BY_NO_CONTACTS
FIND_BY_NO_GROUPS
public static final String FIND_BY_NO_GROUPS
FIND_BY_C_FN_MN_LN_SN_EA_S
public static final String FIND_BY_C_FN_MN_LN_SN_EA_S
JOIN_BY_CONTACT_TWITTER_SN
public static final String JOIN_BY_CONTACT_TWITTER_SN
JOIN_BY_NO_ORGANIZATIONS
public static final String JOIN_BY_NO_ORGANIZATIONS
JOIN_BY_PERMISSION
public static final String JOIN_BY_PERMISSION
JOIN_BY_USER_GROUP_ROLE
public static final String JOIN_BY_USER_GROUP_ROLE
JOIN_BY_USERS_GROUPS
public static final String JOIN_BY_USERS_GROUPS
JOIN_BY_USERS_ORGS
public static final String JOIN_BY_USERS_ORGS
JOIN_BY_USERS_ORGS_TREE
public static final String JOIN_BY_USERS_ORGS_TREE
JOIN_BY_USERS_PASSWORD_POLICIES
public static final String JOIN_BY_USERS_PASSWORD_POLICIES
JOIN_BY_USERS_ROLES
public static final String JOIN_BY_USERS_ROLES
JOIN_BY_USERS_TEAMS
public static final String JOIN_BY_USERS_TEAMS
JOIN_BY_USERS_USER_GROUPS
public static final String JOIN_BY_USERS_USER_GROUPS
JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS
public static final String JOIN_BY_ANNOUNCEMENTS_DELIVERY_EMAIL_OR_SMS
JOIN_BY_SOCIAL_MUTUAL_RELATION
public static final String JOIN_BY_SOCIAL_MUTUAL_RELATION
JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE
public static final String JOIN_BY_SOCIAL_MUTUAL_RELATION_TYPE
JOIN_BY_SOCIAL_RELATION
public static final String JOIN_BY_SOCIAL_RELATION
JOIN_BY_SOCIAL_RELATION_TYPE
public static final String JOIN_BY_SOCIAL_RELATION_TYPE
UserFinderImpl
public UserFinderImpl()
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,
int status,
LinkedHashMap<String,Object> params)
throws SystemException
- Specified by:
countByKeywords
in interface UserFinder
- Throws:
SystemException
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)
throws SystemException
- Specified by:
countByC_FN_MN_LN_SN_EA_S
in interface UserFinder
- Throws:
SystemException
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)
throws SystemException
- Specified by:
countByC_FN_MN_LN_SN_EA_S
in interface UserFinder
- Throws:
SystemException
findByKeywords
public List<User> findByKeywords(long companyId,
String keywords,
int status,
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_S
public List<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,
OrderByComparator obc)
throws SystemException
- Specified by:
findByC_FN_MN_LN_SN_EA_S
in interface UserFinder
- Throws:
SystemException
findByC_FN_MN_LN_SN_EA_S
public List<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,
OrderByComparator obc)
throws SystemException
- Specified by:
findByC_FN_MN_LN_SN_EA_S
in interface UserFinder
- Throws:
SystemException
countByC_FN_MN_LN_SN_EA_S
protected List<Long> countByC_FN_MN_LN_SN_EA_S(Session session,
long companyId,
String[] firstNames,
String[] middleNames,
String[] lastNames,
String[] screenNames,
String[] emailAddresses,
int status,
LinkedHashMap<String,Object> params,
boolean andOperator)
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)
replaceJoinAndWhere
protected String replaceJoinAndWhere(String sql,
LinkedHashMap<String,Object> params)
setJoin
protected void setJoin(QueryPos qPos,
LinkedHashMap<String,Object> params)