Interface ValApi


public interface ValApi
The Interface ValApi.
  • Method Summary

    Modifier and Type
    Method
    Description
    List<com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion>
    Gets the county electoral regions.
    List<com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenCountyData>
    Gets the county regions.
    List<com.hack23.cia.model.external.val.partier.impl.SwedenElectionType>
    Gets the election types.
    List<com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion>
    Gets the parliament electoral regions.
    com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion
    Gets the sweden election region.
    List<com.hack23.cia.model.external.val.partier.impl.SwedenPoliticalParty>
    Gets the sweden political parties.
  • Method Details

    • getElectionTypes

      List<com.hack23.cia.model.external.val.partier.impl.SwedenElectionType> getElectionTypes() throws ValApiException
      Gets the election types.
      Returns:
      the election types
      Throws:
      Exception - the exception
      ValApiException
    • getParliamentElectoralRegions

      List<com.hack23.cia.model.external.val.riksdagsvalkrets.impl.SwedenParliamentElectoralRegion> getParliamentElectoralRegions() throws ValApiException
      Gets the parliament electoral regions.
      Returns:
      the parliament electoral regions
      Throws:
      Exception - the exception
      ValApiException
    • getCountyElectoralRegions

      List<com.hack23.cia.model.external.val.landstingvalkrets.impl.SwedenCountyElectoralRegion> getCountyElectoralRegions() throws ValApiException
      Gets the county electoral regions.
      Returns:
      the county electoral regions
      Throws:
      Exception - the exception
      ValApiException
    • getCountyRegions

      List<com.hack23.cia.model.external.val.kommunvalkrets.impl.SwedenCountyData> getCountyRegions() throws ValApiException
      Gets the county regions.
      Returns:
      the county regions
      Throws:
      Exception - the exception
      ValApiException
    • getSwedenElectionRegion

      com.hack23.cia.model.external.val.partier.impl.SwedenElectionRegion getSwedenElectionRegion() throws ValApiException
      Gets the sweden election region.
      Returns:
      the sweden election region
      Throws:
      ValApiException
    • getSwedenPoliticalParties

      List<com.hack23.cia.model.external.val.partier.impl.SwedenPoliticalParty> getSwedenPoliticalParties() throws ValApiException
      Gets the sweden political parties.
      Returns:
      the sweden political parties
      Throws:
      ValApiException