|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectcom.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl
com.hack23.cia.service.external.riksdagen.impl.RiksdagenApiImpl
@Component public class RiksdagenApiImpl
The Class RiksdagenApiImpl.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface com.hack23.cia.service.external.riksdagen.api.RiksdagenApi |
|---|
RiksdagenApi.DocumentTypeNames |
| Field Summary |
|---|
| Fields inherited from interface com.hack23.cia.service.external.riksdagen.api.RiksdagenApi |
|---|
closed, RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT, RIKSDAGEN_SQL_STR_TO_DATE_FORMAT |
| Constructor Summary | |
|---|---|
RiksdagenApiImpl()
|
|
| Method Summary | |
|---|---|
List<VoteData> |
getBallot(String id)
Gets the ballot. |
List<BallotDocumentElement> |
getBallotList()
Gets the ballot list. |
CommitteeProposalComponentData |
getCommitteeProposal(String id)
Gets the committee proposal. |
DocumentContentData |
getDocumentContent(String id)
Gets the document content. |
List<DocumentElement> |
getDocumentList(DocumentType documentType,
int maxNumberPages)
Gets the document list. |
List<DocumentElement> |
getDocumentList(DocumentType documentType,
Integer year,
int maxNumberPages)
Gets the document list. |
List<DocumentElement> |
getDocumentList(Integer year,
int maxNumberPages)
Gets the document list. |
List<DocumentElement> |
getDocumentList(String changedSinceDate,
int maxNumberPages)
Gets the document list. |
List<DocumentElement> |
getDocumentListByPerson(String personId,
int maxNumberPages)
Gets the document list by person. |
DocumentStatusContainer |
getDocumentStatus(String id)
Gets the document status. |
PersonData |
getPerson(String id)
Gets the person. |
PersonContainerElement |
getPersonList()
Gets the person list. |
void |
processDocumentList(DocumentType documentType,
Integer year,
ProcessDataStrategy<DocumentElement> processStrategy)
Process document list. |
void |
processDocumentList(DocumentType documentType,
ProcessDataStrategy<DocumentElement> processStrategy)
Process document list. |
void |
processDocumentList(Integer year,
ProcessDataStrategy<DocumentElement> processStrategy)
Process document list. |
void |
processDocumentList(String changedSinceDate,
ProcessDataStrategy<DocumentElement> processStrategy)
Process document list. |
void |
processDocumentListByPerson(String personId,
ProcessDataStrategy<DocumentElement> processStrategy)
Process document list by person. |
| Methods inherited from class com.hack23.cia.service.external.common.impl.AbstractXmlAgentImpl |
|---|
retriveContent, setNameSpaceOnXmlStream, unmarshallXml, unmarshallXml |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RiksdagenApiImpl()
| Method Detail |
|---|
public List<VoteData> getBallot(String id)
throws Exception
RiksdagenApi
getBallot in interface RiksdagenApiid - the id
Exception - the exception
public List<BallotDocumentElement> getBallotList()
throws Exception
RiksdagenApi
getBallotList in interface RiksdagenApiException - the exception
public CommitteeProposalComponentData getCommitteeProposal(String id)
throws Exception
RiksdagenApi
getCommitteeProposal in interface RiksdagenApiid - the id
Exception - the exception
public DocumentContentData getDocumentContent(String id)
throws Exception
RiksdagenApi
getDocumentContent in interface RiksdagenApiid - the id
Exception - the exception
public List<DocumentElement> getDocumentList(DocumentType documentType,
int maxNumberPages)
throws Exception
RiksdagenApi
getDocumentList in interface RiksdagenApidocumentType - the document typemaxNumberPages - the max number pages
Exception - the exception
public List<DocumentElement> getDocumentList(DocumentType documentType,
Integer year,
int maxNumberPages)
throws Exception
RiksdagenApi
getDocumentList in interface RiksdagenApidocumentType - the document typeyear - the yearmaxNumberPages - the max number pages
Exception - the exception
public List<DocumentElement> getDocumentList(Integer year,
int maxNumberPages)
throws Exception
RiksdagenApi
getDocumentList in interface RiksdagenApiyear - the yearmaxNumberPages - the max number pages
Exception - the exception
public List<DocumentElement> getDocumentList(String changedSinceDate,
int maxNumberPages)
throws Exception
RiksdagenApi
getDocumentList in interface RiksdagenApichangedSinceDate - the changed since datemaxNumberPages - the max number pages
Exception - the exception
public List<DocumentElement> getDocumentListByPerson(String personId,
int maxNumberPages)
throws Exception
RiksdagenApi
getDocumentListByPerson in interface RiksdagenApipersonId - the person idmaxNumberPages - the max number pages
Exception - the exception
public DocumentStatusContainer getDocumentStatus(String id)
throws Exception
RiksdagenApi
getDocumentStatus in interface RiksdagenApiid - the id
Exception - the exception
public PersonData getPerson(String id)
throws Exception
RiksdagenApi
getPerson in interface RiksdagenApiid - the id
Exception - the exception
public PersonContainerElement getPersonList()
throws Exception
RiksdagenApi
getPersonList in interface RiksdagenApiException - the exception
public void processDocumentList(DocumentType documentType,
Integer year,
ProcessDataStrategy<DocumentElement> processStrategy)
throws Exception
RiksdagenApi
processDocumentList in interface RiksdagenApidocumentType - the document typeyear - the yearprocessStrategy - the process strategy
Exception - the exception
public void processDocumentList(DocumentType documentType,
ProcessDataStrategy<DocumentElement> processStrategy)
throws Exception
RiksdagenApi
processDocumentList in interface RiksdagenApidocumentType - the document typeprocessStrategy - the process strategy
Exception - the exception
public void processDocumentList(Integer year,
ProcessDataStrategy<DocumentElement> processStrategy)
throws Exception
RiksdagenApi
processDocumentList in interface RiksdagenApiyear - the yearprocessStrategy - the process strategy
Exception - the exception
public void processDocumentList(String changedSinceDate,
ProcessDataStrategy<DocumentElement> processStrategy)
throws Exception
RiksdagenApi
processDocumentList in interface RiksdagenApichangedSinceDate - the changed since dateprocessStrategy - the process strategy
Exception - the exception
public void processDocumentListByPerson(String personId,
ProcessDataStrategy<DocumentElement> processStrategy)
throws Exception
RiksdagenApi
processDocumentListByPerson in interface RiksdagenApipersonId - the person idprocessStrategy - the process strategy
Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||