public class CoselmarUserTopiaDao extends AbstractCoselmarUserTopiaDao<CoselmarUser>
org.nuiton.topia.persistence.internal.AbstractTopiaDao.FindAllIterator<E extends org.nuiton.topia.persistence.TopiaEntity,O>, org.nuiton.topia.persistence.internal.AbstractTopiaDao.InnerTopiaQueryBuilderAddCriteriaOrRunQueryStep<E extends org.nuiton.topia.persistence.TopiaEntity>, org.nuiton.topia.persistence.internal.AbstractTopiaDao.InnerTopiaQueryBuilderRunQueryStep<E extends org.nuiton.topia.persistence.TopiaEntity>| Constructor and Description |
|---|
CoselmarUserTopiaDao() |
| Modifier and Type | Method and Description |
|---|---|
List<CoselmarUser> |
findAllByExample(CoselmarUser example,
boolean onlyActive,
SearchRequestBean searchRequest)
Retrieve all user that are like the example.
|
List<CoselmarUser> |
findAllLikeKeywords(List<String> keywords,
boolean onlyActive)
Retrieve all user that contains part of the given keywords in at least
one property.
|
delete, findAllByActive, findAllByFirstname, findAllByMail, findAllByName, findAllByOrganization, findAllByPassword, findAllByPhoneNumber, findAllByQualification, findAllByRole, findAllBySalt, findAllUsages, findByActive, findByFirstname, findByMail, findByName, findByOrganization, findByPassword, findByPhoneNumber, findByQualification, findByRole, findBySalt, findUsages, forActiveEquals, forActiveIn, forFirstnameEquals, forFirstnameIn, forMailEquals, forMailIn, forNameEquals, forNameIn, forOrganizationEquals, forOrganizationIn, forPasswordEquals, forPasswordIn, forPhoneNumberEquals, forPhoneNumberIn, forQualificationEquals, forQualificationIn, forRoleEquals, forRoleIn, forSaltEquals, forSaltIn, getAggregate, getComposite, getEntityClass, getTopiaEntityEnumaddTopiaEntityListener, addTopiaEntityVetoable, count, count, create, create, create, create, createAll, deleteAll, exists, find, find, find, findAll, findAll, findAll, findAllIds, findAllLazy, findAllLazy, findAllLazy, findAllLazy, findAllLazy, findAny, findAnyOrNull, findAnyOrNull, findByTopiaId, findFirst, findFirstOrNull, findPage, findUnique, findUniqueOrNull, forAll, forContains, forEquals, forHql, forHql, forHql, forIn, forProperties, forProperties, forTopiaIdEquals, forTopiaIdIn, getBatchSize, getHqlForNoConstraint, getHqlForProperties, getHqlForProperties, getTopiaFiresSupport, hqlContainsCount, hqlContainsOrderBy, hqlStartsWithSelect, init, initPagination, initPagination, iterator, newFromClause, newFromClause, newHqlAndParametersBuilder, newInstance, newQueryBuilder, removeTopiaEntityListener, removeTopiaEntityVetoable, setBatchSize, tryFindAny, tryFindByTopiaId, tryFindFirst, tryFindUnique, update, updateAllpublic List<CoselmarUser> findAllLikeKeywords(List<String> keywords, boolean onlyActive)
onlyActive - : to filter on only active userskeywords - : List of String to search (if several, a "AND" operation
is done)public List<CoselmarUser> findAllByExample(CoselmarUser example, boolean onlyActive, SearchRequestBean searchRequest)
CoselmarUser that have for
each properties values like ones from Example
For Example, a search with an example {firstName :'John', name: 'Doe'}
will return users all users with a firstName containing 'John' and name
containing 'Doe' :
example - : Prototype of User to find. We search all users that
can have properties like ones in example.Copyright © 2014–2015 Ifremer. All rights reserved.