public interface RiksdagenDocumentApi
Modifier and Type | Method and Description |
---|---|
com.hack23.cia.model.external.riksdagen.documentcontent.impl.DocumentContentData |
getDocumentContent(String id)
Gets the document content.
|
List<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> |
getDocumentList(com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentType documentType,
int maxNumberPages)
Gets the document list.
|
List<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> |
getDocumentList(Integer year,
int maxNumberPages)
Gets the document list.
|
List<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> |
getDocumentList(String changedSinceDate,
String changedToDate,
int maxNumberPages)
Gets the document list.
|
com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentStatusContainer |
getDocumentStatus(String id)
Gets the document status.
|
void |
processDocumentList(String changedSinceDate,
String changedToDate,
com.hack23.cia.service.external.common.api.ProcessDataStrategy<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> processStrategy)
Process document list.
|
com.hack23.cia.model.external.riksdagen.documentcontent.impl.DocumentContentData getDocumentContent(String id) throws DataFailureException
id
- the idDataFailureException
- the data failure exceptionList<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> getDocumentList(com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentType documentType, int maxNumberPages) throws DataFailureException
documentType
- the document typemaxNumberPages
- the max number pagesDataFailureException
- the data failure exceptionList<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> getDocumentList(Integer year, int maxNumberPages) throws DataFailureException
year
- the yearmaxNumberPages
- the max number pagesDataFailureException
- the data failure exceptionList<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> getDocumentList(String changedSinceDate, String changedToDate, int maxNumberPages) throws DataFailureException
changedSinceDate
- the changed since datechangedToDate
- the changed to datemaxNumberPages
- the max number pagesDataFailureException
- the data failure exceptioncom.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentStatusContainer getDocumentStatus(String id) throws DataFailureException
id
- the idDataFailureException
- the data failure exceptionvoid processDocumentList(String changedSinceDate, String changedToDate, com.hack23.cia.service.external.common.api.ProcessDataStrategy<com.hack23.cia.model.external.riksdagen.dokumentlista.impl.DocumentElement> processStrategy) throws DataFailureException
changedSinceDate
- the changed since datechangedToDate
- the changed to dateprocessStrategy
- the process strategyDataFailureException
- the data failure exceptionCopyright © 2010–2017 www.hack23.com. All rights reserved.