com.liferay.portal.service.persistence.impl
Class GroupFinderImpl
java.lang.Object
com.liferay.portal.service.persistence.impl.BasePersistenceImpl<Group>
com.liferay.portal.service.persistence.impl.GroupFinderBaseImpl
com.liferay.portal.service.persistence.impl.GroupFinderImpl
- All Implemented Interfaces:
- SessionFactory, BasePersistence<Group>, GroupFinder
public class GroupFinderImpl
- extends GroupFinderBaseImpl
- implements GroupFinder
| Fields inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
CAST_CLOB_TEXT_OPEN, COUNT_COLUMN_NAME, FINDER_ARGS_EMPTY, listeners, NULL_SAFE_STRING_COMPARATOR, 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_C_PG_N_D(long companyId,
long[] classNameIds,
long parentGroupId,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
protected List<Long> |
countByC_C_PG_N_D(Session session,
long companyId,
long[] classNameIds,
long parentGroupId,
String parentGroupIdComparator,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator)
|
int |
countByG_U(long groupId,
long userId,
boolean inherit)
|
protected int |
countByGroupId(Session session,
long groupId,
LinkedHashMap<String,Object> params)
|
int |
countByLayouts(long companyId,
long parentGroupId,
boolean site)
|
List<Group> |
findByC_C_PG_N_D(long companyId,
long[] classNameIds,
long parentGroupId,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Group> obc)
|
Group |
findByC_GK(long companyId,
String groupKey)
|
List<Long> |
findByC_P(long companyId,
long parentGroupId,
long previousGroupId,
int size)
|
List<Group> |
findByCompanyId(long companyId,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Group> obc)
|
List<Group> |
findByLayouts(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
Deprecated. |
List<Group> |
findByLayouts(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
OrderByComparator<Group> 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<Group> obc)
|
protected void |
setJoin(QueryPos qPos,
LinkedHashMap<String,Object> params)
|
| Methods inherited from class com.liferay.portal.service.persistence.impl.BasePersistenceImpl |
appendOrderByComparator, appendOrderByComparator, clearCache, clearCache, clearCache, closeSession, countWithDynamicQuery, countWithDynamicQuery, fetchByPrimaryKey, fetchByPrimaryKeys, findByPrimaryKey, findWithDynamicQuery, findWithDynamicQuery, findWithDynamicQuery, flush, getClassLoader, getColumnName, getCurrentSession, getDataSource, getDB, getDialect, getListeners, getModelClass, getTableColumnsMap, openNewSession, openSession, processException, registerListener, remove, remove, removeConjunction, removeImpl, setDataSource, setModelClass, setSessionFactory, unregisterListener, update, update, update, update, updateImpl, updateImpl |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
COUNT_BY_LAYOUTS
public static final String COUNT_BY_LAYOUTS
COUNT_BY_GROUP_ID
public static final String COUNT_BY_GROUP_ID
COUNT_BY_C_C_PG_N_D
public static final String COUNT_BY_C_C_PG_N_D
FIND_BY_LAYOUTS
public static final String FIND_BY_LAYOUTS
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_P
public static final String FIND_BY_C_P
FIND_BY_C_GK
public static final String FIND_BY_C_GK
FIND_BY_C_C_PG_N_D
public static final String FIND_BY_C_C_PG_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_MANUAL_MEMBERSHIP
public static final String JOIN_BY_MANUAL_MEMBERSHIP
JOIN_BY_MEMBERSHIP_RESTRICTION
public static final String JOIN_BY_MEMBERSHIP_RESTRICTION
JOIN_BY_PAGE_COUNT
public static final String JOIN_BY_PAGE_COUNT
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
GroupFinderImpl
public GroupFinderImpl()
countByLayouts
public int countByLayouts(long companyId,
long parentGroupId,
boolean site)
- Specified by:
countByLayouts in interface GroupFinder
countByG_U
public int countByG_U(long groupId,
long userId,
boolean inherit)
- Specified by:
countByG_U in interface GroupFinder
countByC_C_PG_N_D
public int countByC_C_PG_N_D(long companyId,
long[] classNameIds,
long parentGroupId,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator)
- Specified by:
countByC_C_PG_N_D in interface GroupFinder
findByLayouts
@Deprecated
public List<Group> findByLayouts(long companyId,
long parentGroupId,
boolean site,
int start,
int end)
- Deprecated.
- Specified by:
findByLayouts in interface GroupFinder
findByLayouts
public List<Group> findByLayouts(long companyId,
long parentGroupId,
boolean site,
int start,
int end,
OrderByComparator<Group> obc)
- Specified by:
findByLayouts in interface GroupFinder
findByLiveGroups
public List<Group> findByLiveGroups()
- Specified by:
findByLiveGroups in interface GroupFinder
findByNoLayouts
public List<Group> findByNoLayouts(long classNameId,
boolean privateLayout,
int start,
int end)
- Specified by:
findByNoLayouts in interface GroupFinder
findByNullFriendlyURL
public List<Group> findByNullFriendlyURL()
- Specified by:
findByNullFriendlyURL in interface GroupFinder
findBySystem
public List<Group> findBySystem(long companyId)
- Specified by:
findBySystem in interface GroupFinder
findByCompanyId
public List<Group> findByCompanyId(long companyId,
LinkedHashMap<String,Object> params,
int start,
int end,
OrderByComparator<Group> obc)
- Specified by:
findByCompanyId in interface GroupFinder
findByC_P
public List<Long> findByC_P(long companyId,
long parentGroupId,
long previousGroupId,
int size)
- Specified by:
findByC_P in interface GroupFinder
findByC_GK
public Group findByC_GK(long companyId,
String groupKey)
throws NoSuchGroupException
- Specified by:
findByC_GK in interface GroupFinder
- Throws:
NoSuchGroupException
findByC_C_PG_N_D
public List<Group> findByC_C_PG_N_D(long companyId,
long[] classNameIds,
long parentGroupId,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator,
int start,
int end,
OrderByComparator<Group> obc)
- Specified by:
findByC_C_PG_N_D in interface GroupFinder
countByGroupId
protected int countByGroupId(Session session,
long groupId,
LinkedHashMap<String,Object> params)
throws Exception
- Throws:
Exception
countByC_C_PG_N_D
protected List<Long> countByC_C_PG_N_D(Session session,
long companyId,
long[] classNameIds,
long parentGroupId,
String parentGroupIdComparator,
String[] names,
String[] descriptions,
LinkedHashMap<String,Object> params,
boolean andOperator)
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<Group> obc)
setJoin
protected void setJoin(QueryPos qPos,
LinkedHashMap<String,Object> params)
throws Exception
- Throws:
Exception