Liferay 6.1.2-ce-ga3

com.liferay.portal.service.persistence
Class UserGroupFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<UserGroup>
      extended by com.liferay.portal.service.persistence.UserGroupFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<UserGroup>, UserGroupFinder

public class UserGroupFinderImpl
extends BasePersistenceImpl<UserGroup>
implements UserGroupFinder


Field Summary
static String COUNT_BY_C_N_D
           
static String FIND_BY_C_N
           
static String FIND_BY_C_N_D
           
static String JOIN_BY_GROUPS_PERMISSIONS
           
static String JOIN_BY_USER_GROUP_GROUP_ROLE
           
static String JOIN_BY_USER_GROUPS_GROUPS
           
static String JOIN_BY_USER_GROUPS_ROLES
           
static String JOIN_BY_USER_GROUPS_TEAMS
           
static String JOIN_BY_USER_GROUPS_USERS
           
 
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
 
Constructor Summary
UserGroupFinderImpl()
           
 
Method Summary
 int countByC_N_D(long companyId, String[] names, String[] descriptions, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByC_N_D(long companyId, String name, String description, LinkedHashMap<String,Object> params, boolean andOperator)
           
 int countByKeywords(long companyId, String keywords, LinkedHashMap<String,Object> params)
           
 List<UserGroup> findByC_N_D(long companyId, String[] names, String[] descriptions, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 List<UserGroup> findByC_N_D(long companyId, String name, String description, LinkedHashMap<String,Object> params, boolean andOperator, int start, int end, OrderByComparator obc)
           
 UserGroup findByC_N(long companyId, String name)
           
 List<UserGroup> findByKeywords(long companyId, String keywords, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
protected  String getJoin(LinkedHashMap<String,Object> params)
           
protected  String getJoin(String key)
           
protected  String getWhere(LinkedHashMap<String,Object> params)
           
protected  String getWhere(String key)
           
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
 

Field Detail

COUNT_BY_C_N_D

public static final String COUNT_BY_C_N_D

FIND_BY_C_N

public static final String FIND_BY_C_N

FIND_BY_C_N_D

public static final String FIND_BY_C_N_D

JOIN_BY_GROUPS_PERMISSIONS

public static final String JOIN_BY_GROUPS_PERMISSIONS

JOIN_BY_USER_GROUP_GROUP_ROLE

public static final String JOIN_BY_USER_GROUP_GROUP_ROLE

JOIN_BY_USER_GROUPS_GROUPS

public static final String JOIN_BY_USER_GROUPS_GROUPS

JOIN_BY_USER_GROUPS_ROLES

public static final String JOIN_BY_USER_GROUPS_ROLES

JOIN_BY_USER_GROUPS_TEAMS

public static final String JOIN_BY_USER_GROUPS_TEAMS

JOIN_BY_USER_GROUPS_USERS

public static final String JOIN_BY_USER_GROUPS_USERS
Constructor Detail

UserGroupFinderImpl

public UserGroupFinderImpl()
Method Detail

countByKeywords

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

countByC_N_D

public int countByC_N_D(long companyId,
                        String name,
                        String description,
                        LinkedHashMap<String,Object> params,
                        boolean andOperator)
                 throws SystemException
Specified by:
countByC_N_D in interface UserGroupFinder
Throws:
SystemException

countByC_N_D

public int countByC_N_D(long companyId,
                        String[] names,
                        String[] descriptions,
                        LinkedHashMap<String,Object> params,
                        boolean andOperator)
                 throws SystemException
Specified by:
countByC_N_D in interface UserGroupFinder
Throws:
SystemException

findByKeywords

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

findByC_N

public UserGroup findByC_N(long companyId,
                           String name)
                    throws NoSuchUserGroupException,
                           SystemException
Specified by:
findByC_N in interface UserGroupFinder
Throws:
NoSuchUserGroupException
SystemException

findByC_N_D

public List<UserGroup> findByC_N_D(long companyId,
                                   String name,
                                   String description,
                                   LinkedHashMap<String,Object> params,
                                   boolean andOperator,
                                   int start,
                                   int end,
                                   OrderByComparator obc)
                            throws SystemException
Specified by:
findByC_N_D in interface UserGroupFinder
Throws:
SystemException

findByC_N_D

public List<UserGroup> findByC_N_D(long companyId,
                                   String[] names,
                                   String[] descriptions,
                                   LinkedHashMap<String,Object> params,
                                   boolean andOperator,
                                   int start,
                                   int end,
                                   OrderByComparator obc)
                            throws SystemException
Specified by:
findByC_N_D in interface UserGroupFinder
Throws:
SystemException

getJoin

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

getJoin

protected String getJoin(String key)

getWhere

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

getWhere

protected String getWhere(String key)

setJoin

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

Liferay 6.1.2-ce-ga3