@Component public final class RiksdagenPersonApiImpl extends Object implements RiksdagenPersonApi
Constructor and Description |
---|
RiksdagenPersonApiImpl()
Instantiates a new riksdagen person api impl.
|
Modifier and Type | Method and Description |
---|---|
com.hack23.cia.model.external.riksdagen.person.impl.PersonData |
getPerson(String id)
Gets the person.
|
com.hack23.cia.model.external.riksdagen.personlista.impl.PersonContainerElement |
getPersonList()
Gets the person list.
|
public RiksdagenPersonApiImpl()
public com.hack23.cia.model.external.riksdagen.person.impl.PersonData getPerson(String id) throws DataFailureException
RiksdagenPersonApi
getPerson
in interface RiksdagenPersonApi
id
- the idDataFailureException
- the data failure exceptionpublic com.hack23.cia.model.external.riksdagen.personlista.impl.PersonContainerElement getPersonList() throws DataFailureException
RiksdagenPersonApi
getPersonList
in interface RiksdagenPersonApi
DataFailureException
- the data failure exceptionCopyright © 2010–2017 www.hack23.com. All rights reserved.