com.hack23.cia.service.external.riksdagen.api
Interface RiksdagenApi

Package class diagram package RiksdagenApi
All Known Implementing Classes:
RiksdagenApiImpl

public interface RiksdagenApi

The Interface RiksdagenApi.


Nested Class Summary
static class RiksdagenApi.DocumentTypeNames
          The Enum DocumentTypeNames.
 
Field Summary
static RoleStatus[] closed
          The Constant closed.
static String RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT
          The Constant RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT.
static String RIKSDAGEN_SQL_STR_TO_DATE_FORMAT
          The Constant RIKSDAGEN_SQL_STR_TO_DATE_FORMAT.
 
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.
 

Field Detail

closed

static final RoleStatus[] closed
The Constant closed.


RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT

static final String RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT
The Constant RIKSDAGEN_JAVA_SIMPLE_DATE_FORMAT.

See Also:
Constant Field Values

RIKSDAGEN_SQL_STR_TO_DATE_FORMAT

static final String RIKSDAGEN_SQL_STR_TO_DATE_FORMAT
The Constant RIKSDAGEN_SQL_STR_TO_DATE_FORMAT.

See Also:
Constant Field Values
Method Detail

getBallot

List<VoteData> getBallot(String id)
                         throws Exception
Gets the ballot.

Parameters:
id - the id
Returns:
the ballot
Throws:
Exception - the exception

getCommitteeProposal

CommitteeProposalComponentData getCommitteeProposal(String id)
                                                    throws Exception
Gets the committee proposal.

Parameters:
id - the id
Returns:
the committee proposal
Throws:
Exception - the exception

getDocumentContent

DocumentContentData getDocumentContent(String id)
                                       throws Exception
Gets the document content.

Parameters:
id - the id
Returns:
the document content
Throws:
Exception - the exception

getDocumentList

List<DocumentElement> getDocumentList(DocumentType documentType,
                                      int maxNumberPages)
                                      throws Exception
Gets the document list.

Parameters:
documentType - the document type
maxNumberPages - the max number pages
Returns:
the document list
Throws:
Exception - the exception

getDocumentList

List<DocumentElement> getDocumentList(DocumentType documentType,
                                      Integer year,
                                      int maxNumberPages)
                                      throws Exception
Gets the document list.

Parameters:
documentType - the document type
year - the year
maxNumberPages - the max number pages
Returns:
the document list
Throws:
Exception - the exception

getDocumentList

List<DocumentElement> getDocumentList(Integer year,
                                      int maxNumberPages)
                                      throws Exception
Gets the document list.

Parameters:
year - the year
maxNumberPages - the max number pages
Returns:
the document list
Throws:
Exception - the exception

getDocumentList

List<DocumentElement> getDocumentList(String changedSinceDate,
                                      int maxNumberPages)
                                      throws Exception
Gets the document list.

Parameters:
changedSinceDate - the changed since date
maxNumberPages - the max number pages
Returns:
the document list
Throws:
Exception - the exception

getDocumentListByPerson

List<DocumentElement> getDocumentListByPerson(String personId,
                                              int maxNumberPages)
                                              throws Exception
Gets the document list by person.

Parameters:
personId - the person id
maxNumberPages - the max number pages
Returns:
the document list by person
Throws:
Exception - the exception

getDocumentStatus

DocumentStatusContainer getDocumentStatus(String id)
                                          throws Exception
Gets the document status.

Parameters:
id - the id
Returns:
the document status
Throws:
Exception - the exception

getPerson

PersonData getPerson(String id)
                     throws Exception
Gets the person.

Parameters:
id - the id
Returns:
the person
Throws:
Exception - the exception

getPersonList

PersonContainerElement getPersonList()
                                     throws Exception
Gets the person list.

Returns:
the person list
Throws:
Exception - the exception

processDocumentList

void processDocumentList(DocumentType documentType,
                         Integer year,
                         ProcessDataStrategy<DocumentElement> processStrategy)
                         throws Exception
Process document list.

Parameters:
documentType - the document type
year - the year
processStrategy - the process strategy
Throws:
Exception - the exception

processDocumentList

void processDocumentList(DocumentType documentType,
                         ProcessDataStrategy<DocumentElement> processStrategy)
                         throws Exception
Process document list.

Parameters:
documentType - the document type
processStrategy - the process strategy
Throws:
Exception - the exception

processDocumentList

void processDocumentList(Integer year,
                         ProcessDataStrategy<DocumentElement> processStrategy)
                         throws Exception
Process document list.

Parameters:
year - the year
processStrategy - the process strategy
Throws:
Exception - the exception

processDocumentList

void processDocumentList(String changedSinceDate,
                         ProcessDataStrategy<DocumentElement> processStrategy)
                         throws Exception
Process document list.

Parameters:
changedSinceDate - the changed since date
processStrategy - the process strategy
Throws:
Exception - the exception

processDocumentListByPerson

void processDocumentListByPerson(String personId,
                                 ProcessDataStrategy<DocumentElement> processStrategy)
                                 throws Exception
Process document list by person.

Parameters:
personId - the person id
processStrategy - the process strategy
Throws:
Exception - the exception

getBallotList

List<BallotDocumentElement> getBallotList()
                                          throws Exception
Gets the ballot list.

Returns:
the ballot list
Throws:
Exception - the exception


Copyright © 2008-2011 www.hack23.com. All Rights Reserved.