public interface PersonDao extends com.whitestein.lsps.common.BasicDao<Person,String>
Person
instances.Modifier and Type | Field and Description |
---|---|
static String |
NAME
The lookup name of the DAO.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkActivePersonWithLoginExists(String loginName)
Check if active person with given loginName exists.
|
Collection<Person> |
findAll()
Returns a collection of all
Person instances that exist in the
persistent storage or an empty collection if there is no such instance. |
QueryResult<Person> |
findAll(PersonCriteria personCriteria)
Returns a result of the query specified by given
personCriteria . |
Person |
findByLoginName(String loginName)
Returns person with the login name.
|
Collection<Person> |
findForSecuirityRole(SecurityRole securityRole)
Returns all persons that save assigned the security role.
|
Collection<String> |
findLikeId(String pattern)
Returns all ids matching the pattern.
|
void |
removeDetail(PersonDetail personDetail)
Removes a person detail.
|
static final String NAME
void removeDetail(PersonDetail personDetail)
personDetail
- Collection<Person> findAll()
Person
instances that exist in the
persistent storage or an empty collection if there is no such instance.Person
instances that exist in the
persistent storage or an empty collection if there is no such
instance.QueryResult<Person> findAll(PersonCriteria personCriteria)
personCriteria
.personCriteria
- The paging and filtering criteria for persons to find.personCriteria
.Person findByLoginName(String loginName)
loginName
- boolean checkActivePersonWithLoginExists(String loginName)
loginName
- of the personCollection<String> findLikeId(String pattern)
pattern
- Collection<Person> findForSecuirityRole(SecurityRole securityRole)
securityRole
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.