public class PersonDAO extends Object implements Serviceable, Component
Person
Modifier and Type | Field and Description |
---|---|
private AmetysObjectResolver |
_resolver
The Ametys Object Resolver
|
static String |
ROLE
The Avalon role
|
Constructor and Description |
---|
PersonDAO() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getPersonInfos(Person person)
Gets the information about the given person
|
Map<String,Object> |
getPersonInfos(String personId)
Gets the information about the given person
|
Map<String,Object> |
getPersonsInfos(List<String> personIds)
Gets the information about the given persons
|
void |
service(ServiceManager manager) |
private AmetysObjectResolver _resolver
public PersonDAO()
public void service(ServiceManager manager) throws ServiceException
service
in interface Serviceable
ServiceException
public Map<String,Object> getPersonsInfos(List<String> personIds)
personIds
- The person idspublic Map<String,Object> getPersonInfos(String personId)
personId
- The person idpublic Map<String,Object> getPersonInfos(Person person)
person
- The person