@Repository public class GroupDaoImpl extends CdmEntityDaoBase<Group> implements IGroupDao
defaultBeanInitializer, flushAfterNo, LEFTOUTER_OPS, type
INCLUDE_UNPUBLISHED, NO_UNPUBLISHED
Constructor and Description |
---|
GroupDaoImpl() |
Modifier and Type | Method and Description |
---|---|
long |
countByName(java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criterion)
Return a count of groups matching the given query string in the name, optionally filtered by class, optionally with a particular MatchMode
|
java.util.List<Group> |
findByName(java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criterion,
java.lang.Integer pageSize,
java.lang.Integer pageNumber,
java.util.List<OrderHint> orderHints,
java.util.List<java.lang.String> propertyPaths)
Return a List of groups matching the given query string, optionally filtered by class, optionally with a particular MatchMode
|
Group |
findGroupByName(java.lang.String groupName) |
java.util.List<java.lang.String> |
listMembers(Group group,
java.lang.Integer pageSize,
java.lang.Integer pageNumber) |
java.util.List<java.lang.String> |
listNames(java.lang.Integer pageSize,
java.lang.Integer pageNumber) |
addExample, addGroups, clear, count, count, count, count, countByParam, countByParamWithRestrictions, countGroups, createCriteria, delete, entityType, exists, findById, findByParam, findByParamWithRestrictions, findByUuid, findByUuid, findByUuidWithoutFlush, getAuditReader, getCriteria, getSession, getType, group, list, list, list, list, list, list, list, list, list, list, load, load, load, load, loadList, lock, makeAuditQuery, merge, merge, refresh, refresh, replace, save, saveAll, saveCdmObj, saveOrUpdate, saveOrUpdateAll, setDefaultBeanInitializer, setPagingParameter, setPagingParameter, update
addCriteria, addFieldPredicate, addLimitAndStart, addLimitAndStart, addLimitAndStart, addOrder, addOrder, addOrder, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, addPageSizeAndNumber, flush, getSessionFactory, orderByClause, setSessionFactory, splitCollection
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clear, count, count, count, count, countByParam, countByParamWithRestrictions, delete, exists, findById, findByParam, findByParamWithRestrictions, findByUuid, findByUuidWithoutFlush, flush, getSession, getType, group, list, list, list, list, list, list, list, list, list, load, load, load, loadList, lock, merge, merge, refresh, refresh, replace, save, saveAll, saveOrUpdate, saveOrUpdateAll, update
public Group findGroupByName(java.lang.String groupName)
findGroupByName
in interface IGroupDao
public java.util.List<java.lang.String> listNames(java.lang.Integer pageSize, java.lang.Integer pageNumber)
public java.util.List<java.lang.String> listMembers(Group group, java.lang.Integer pageSize, java.lang.Integer pageNumber)
listMembers
in interface IGroupDao
public long countByName(java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criterion)
IGroupDao
countByName
in interface IGroupDao
queryString
- the query string to filter bymatchmode
- use a particular type of matching (can be null - defaults to exact matching)criterion
- extra restrictions to applyIIdentifiableDao#countByTitle(Class, String, MatchMode, List)}
public java.util.List<Group> findByName(java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criterion, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
IGroupDao
findByName
in interface IGroupDao
queryString
- the query string to filter bymatchmode
- use a particular type of matching (can be null - defaults to exact matching)criterion
- extra restrictions to applypageSize
- The maximum number of rights returned (can be null for all rights)pageNumber
- The offset (in pageSize chunks) from the start of the result set (0 - based)orderHints
- Supports path like orderHints.propertyNames
which
include *-to-one properties like createdBy.username or
authorTeam.persistentTitleCachepropertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
IIdentifiableDao#findByTitle(Class, String, MatchMode, List, Integer, Integer, List, List)}
Copyright © 2007-2019 EDIT. All Rights Reserved.