Liferay 6.1.2-ce-ga3

com.liferay.portal.service.persistence
Class GroupFinderImpl

java.lang.Object
  extended by com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Group>
      extended by com.liferay.portal.service.persistence.GroupFinderImpl
All Implemented Interfaces:
SessionFactory, BasePersistence<Group>, GroupFinder

public class GroupFinderImpl
extends BasePersistenceImpl<Group>
implements GroupFinder


Field Summary
static String COUNT_BY_C_N_D
           
static String COUNT_BY_GROUP_ID
           
static String FIND_BY_C_C
           
static String FIND_BY_C_N
           
static String FIND_BY_C_N_D
           
static String FIND_BY_LIVE_GROUPS
           
static String FIND_BY_NO_LAYOUTS
           
static String FIND_BY_NULL_FRIENDLY_URL
           
static String FIND_BY_SYSTEM
           
static String JOIN_BY_ACTIVE
           
static String JOIN_BY_CREATOR_USER_ID
           
static String JOIN_BY_GROUP_ORG
           
static String JOIN_BY_GROUPS_ORGS
           
static String JOIN_BY_GROUPS_ROLES
           
static String JOIN_BY_GROUPS_USER_GROUPS
           
static String JOIN_BY_LAYOUT_SET
           
static String JOIN_BY_PAGE_COUNT
           
static String JOIN_BY_ROLE_PERMISSIONS
           
static String JOIN_BY_ROLE_RESOURCE_PERMISSIONS
           
static String JOIN_BY_ROLE_RESOURCE_TYPE_PERMISSIONS
           
static String JOIN_BY_SITE
           
static String JOIN_BY_TYPE
           
static String JOIN_BY_USER_GROUP_ROLE
           
static String JOIN_BY_USERS_GROUPS
           
 
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
GroupFinderImpl()
           
 
Method Summary
 int countByC_C_N_D(long companyId, long[] classNameIds, String name, String realName, String description, LinkedHashMap<String,Object> params)
           
protected  List<Long> countByC_C_N_D(Session session, long companyId, long[] classNameIds, String name, String realName, String description, LinkedHashMap<String,Object> params)
           
 int countByC_N_D(long companyId, String name, String realName, String description, LinkedHashMap<String,Object> params)
           
 int countByG_U(long groupId, long userId, boolean inherit)
           
protected  int countByGroupId(Session session, long groupId, LinkedHashMap<String,Object> params)
           
 List<Group> findByC_C_N_D(long companyId, long[] classNameIds, String name, String realName, String description, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 List<Group> findByC_N_D(long companyId, String name, String realName, String description, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 Group findByC_N(long companyId, String name)
           
 List<Group> findByCompanyId(long companyId, LinkedHashMap<String,Object> params, int start, int end, OrderByComparator obc)
           
 List<Group> findByLiveGroups()
           
 List<Group> findByNoLayouts(long classNameId, boolean privateLayout, int start, int end)
           
 List<Group> findByNullFriendlyURL()
           
 List<Group> findBySystem(long companyId)
           
protected  String getJoin(LinkedHashMap<String,Object> params)
           
protected  String getWhere(LinkedHashMap<String,Object> params)
           
protected  String replaceJoinAndWhere(String sql, LinkedHashMap<String,Object> params)
           
protected  String replaceOrderBy(String sql, OrderByComparator obc)
           
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_GROUP_ID

public static final String COUNT_BY_GROUP_ID

COUNT_BY_C_N_D

public static final String COUNT_BY_C_N_D

FIND_BY_LIVE_GROUPS

public static final String FIND_BY_LIVE_GROUPS

FIND_BY_NO_LAYOUTS

public static final String FIND_BY_NO_LAYOUTS

FIND_BY_NULL_FRIENDLY_URL

public static final String FIND_BY_NULL_FRIENDLY_URL

FIND_BY_SYSTEM

public static final String FIND_BY_SYSTEM

FIND_BY_C_C

public static final String FIND_BY_C_C

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_ACTIVE

public static final String JOIN_BY_ACTIVE

JOIN_BY_CREATOR_USER_ID

public static final String JOIN_BY_CREATOR_USER_ID

JOIN_BY_GROUP_ORG

public static final String JOIN_BY_GROUP_ORG

JOIN_BY_GROUPS_ORGS

public static final String JOIN_BY_GROUPS_ORGS

JOIN_BY_GROUPS_ROLES

public static final String JOIN_BY_GROUPS_ROLES

JOIN_BY_GROUPS_USER_GROUPS

public static final String JOIN_BY_GROUPS_USER_GROUPS

JOIN_BY_LAYOUT_SET

public static final String JOIN_BY_LAYOUT_SET

JOIN_BY_PAGE_COUNT

public static final String JOIN_BY_PAGE_COUNT

JOIN_BY_ROLE_PERMISSIONS

public static final String JOIN_BY_ROLE_PERMISSIONS

JOIN_BY_ROLE_RESOURCE_PERMISSIONS

public static final String JOIN_BY_ROLE_RESOURCE_PERMISSIONS

JOIN_BY_ROLE_RESOURCE_TYPE_PERMISSIONS

public static final String JOIN_BY_ROLE_RESOURCE_TYPE_PERMISSIONS

JOIN_BY_SITE

public static final String JOIN_BY_SITE

JOIN_BY_TYPE

public static final String JOIN_BY_TYPE

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
Constructor Detail

GroupFinderImpl

public GroupFinderImpl()
Method Detail

countByG_U

public int countByG_U(long groupId,
                      long userId,
                      boolean inherit)
               throws SystemException
Specified by:
countByG_U in interface GroupFinder
Throws:
SystemException

countByC_N_D

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

countByC_C_N_D

public int countByC_C_N_D(long companyId,
                          long[] classNameIds,
                          String name,
                          String realName,
                          String description,
                          LinkedHashMap<String,Object> params)
                   throws SystemException
Specified by:
countByC_C_N_D in interface GroupFinder
Throws:
SystemException

findByLiveGroups

public List<Group> findByLiveGroups()
                             throws SystemException
Specified by:
findByLiveGroups in interface GroupFinder
Throws:
SystemException

findByNoLayouts

public List<Group> findByNoLayouts(long classNameId,
                                   boolean privateLayout,
                                   int start,
                                   int end)
                            throws SystemException
Specified by:
findByNoLayouts in interface GroupFinder
Throws:
SystemException

findByNullFriendlyURL

public List<Group> findByNullFriendlyURL()
                                  throws SystemException
Specified by:
findByNullFriendlyURL in interface GroupFinder
Throws:
SystemException

findBySystem

public List<Group> findBySystem(long companyId)
                         throws SystemException
Specified by:
findBySystem in interface GroupFinder
Throws:
SystemException

findByCompanyId

public List<Group> findByCompanyId(long companyId,
                                   LinkedHashMap<String,Object> params,
                                   int start,
                                   int end,
                                   OrderByComparator obc)
                            throws SystemException
Specified by:
findByCompanyId in interface GroupFinder
Throws:
SystemException

findByC_N

public Group findByC_N(long companyId,
                       String name)
                throws NoSuchGroupException,
                       SystemException
Specified by:
findByC_N in interface GroupFinder
Throws:
NoSuchGroupException
SystemException

findByC_N_D

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

findByC_C_N_D

public List<Group> findByC_C_N_D(long companyId,
                                 long[] classNameIds,
                                 String name,
                                 String realName,
                                 String description,
                                 LinkedHashMap<String,Object> params,
                                 int start,
                                 int end,
                                 OrderByComparator obc)
                          throws SystemException
Specified by:
findByC_C_N_D in interface GroupFinder
Throws:
SystemException

countByGroupId

protected int countByGroupId(Session session,
                             long groupId,
                             LinkedHashMap<String,Object> params)
                      throws Exception
Throws:
Exception

countByC_C_N_D

protected List<Long> countByC_C_N_D(Session session,
                                    long companyId,
                                    long[] classNameIds,
                                    String name,
                                    String realName,
                                    String description,
                                    LinkedHashMap<String,Object> params)
                             throws Exception
Throws:
Exception

getJoin

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

getWhere

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

replaceJoinAndWhere

protected String replaceJoinAndWhere(String sql,
                                     LinkedHashMap<String,Object> params)

replaceOrderBy

protected String replaceOrderBy(String sql,
                                OrderByComparator obc)

setJoin

protected void setJoin(QueryPos qPos,
                       LinkedHashMap<String,Object> params)
                throws Exception
Throws:
Exception

Liferay 6.1.2-ce-ga3