public interface PersonService extends IDirService
| Modifier and Type | Method and Description |
|---|---|
void |
create(Person p)
Create a person
|
List<Person> |
findByCriteria(Person p)
Get a person by criteria represented by a person vith filled fields
|
Person |
getEmptyPerson()
Get a person with no valued fields (for search)
|
Person |
getPerson(Name dn)
Get a person by it's full DN
|
Person |
getPerson(String uid)
Get a person by it's uid
|
void |
update(Person p)
Update a person
|
void |
updatePassword(Person p,
String newPassword)
Update the password of a person
|
boolean |
verifyPassword(String uid,
String currentPassword)
Check if a password is correct
|
Person getEmptyPerson()
List<Person> findByCriteria(Person p)
p - a personvoid create(Person p)
p - a personvoid update(Person p)
p - a personboolean verifyPassword(String uid, String currentPassword)
currentPassword - currentPasswordCopyright © 2016. All rights reserved.