public interface IGroupDao extends ICdmEntityDao<Group>
Modifier and Type | Method and Description |
---|---|
long |
countByName(java.lang.String queryString,
MatchMode matchmode,
java.util.List<org.hibernate.criterion.Criterion> criteria)
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> criteria,
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) |
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
Group findGroupByName(java.lang.String groupName)
java.util.List<java.lang.String> listNames(java.lang.Integer pageSize, java.lang.Integer pageNumber)
java.util.List<java.lang.String> listMembers(Group group, java.lang.Integer pageSize, java.lang.Integer pageNumber)
java.util.List<Group> findByName(java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria, java.lang.Integer pageSize, java.lang.Integer pageNumber, java.util.List<OrderHint> orderHints, java.util.List<java.lang.String> propertyPaths)
queryString
- the query string to filter bymatchmode
- use a particular type of matching (can be null - defaults to exact matching)criteria
- 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)propertyPaths
- properties to initialize - see IBeanInitializer.initialize(Object, List)
orderHints
- Supports path like orderHints.propertyNames
which
include *-to-one properties like createdBy.username or
authorTeam.persistentTitleCacheIIdentifiableDao#findByTitle(Class, String, MatchMode, List, Integer, Integer, List, List)}
long countByName(java.lang.String queryString, MatchMode matchmode, java.util.List<org.hibernate.criterion.Criterion> criteria)
clazz
- filter by class - can be null to include all instances of type TqueryString
- the query string to filter bymatchmode
- use a particular type of matching (can be null - defaults to exact matching)criteria
- extra restrictions to applyIIdentifiableDao#countByTitle(Class, String, MatchMode, List)}
Copyright © 2007-2019 EDIT. All Rights Reserved.