Package org.ametys.odf.person
Class PersonDAO
- java.lang.Object
-
- org.ametys.odf.person.PersonDAO
-
- All Implemented Interfaces:
Component,Serviceable
public class PersonDAO extends Object implements Serviceable, Component
DAO for manipulatingPerson
-
-
Constructor Summary
Constructors Constructor Description PersonDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>getPersonInfos(String personId)Gets the information about the given personMap<String,Object>getPersonInfos(Person person)Gets the information about the given personMap<String,Object>getPersonsInfos(List<String> personIds)Gets the information about the given personsvoidservice(ServiceManager manager)
-
-
-
Constructor Detail
-
PersonDAO
public PersonDAO()
-
-
Method Detail
-
service
public void service(ServiceManager manager) throws ServiceException
- Specified by:
servicein interfaceServiceable- Throws:
ServiceException
-
getPersonsInfos
public Map<String,Object> getPersonsInfos(List<String> personIds)
Gets the information about the given persons- Parameters:
personIds- The person ids- Returns:
- A map of information
-
getPersonInfos
public Map<String,Object> getPersonInfos(String personId)
Gets the information about the given person- Parameters:
personId- The person id- Returns:
- A map of information
-
getPersonInfos
public Map<String,Object> getPersonInfos(Person person)
Gets the information about the given person- Parameters:
person- The person- Returns:
- A map of information
-
-