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

java.lang.Objectorg.directdemocracyportal.democracy.service.governmentloader.SwedishGovernmentImporterImpl
public class SwedishGovernmentImporterImpl extends java.lang.Object implements GovernmentImporter
The Class SwedishGovernmentImporterImpl.
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SVERIGES_RIKSDAG
The Constant SVERIGES_RIKSDAG. |
| Constructor and Description |
|---|
SwedishGovernmentImporterImpl(com.gargoylesoftware.htmlunit.WebClient webClient,
java.lang.String url,
PortalService portalService)
Instantiates a new swedish government importer impl. |
| Modifier and Type | Method and Description |
|---|---|
void |
doImport()
Do import. |
void |
importInternationalGovernments(Government government,
Country country)
Import international governments. |
void |
importRegiononalGovernments(Government government,
Country country)
Import regiononal governments. |
void |
importRegionsAndMunicipals(Government government,
Country country)
Import regions and municipals. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String SVERIGES_RIKSDAG
| Constructor Detail |
|---|
public SwedishGovernmentImporterImpl(com.gargoylesoftware.htmlunit.WebClient webClient,
java.lang.String url,
PortalService portalService)
throws java.net.MalformedURLException
webClient - the web clienturl - the urlportalService - the portal servicejava.net.MalformedURLException - the malformed url exception| Method Detail |
|---|
public void doImport()
GovernmentImporter
doImport in interface GovernmentImporter
public void importRegionsAndMunicipals(Government government,
Country country)
throws java.lang.Exception
government - the governmentcountry - the countryjava.lang.Exception - the exception
public void importRegiononalGovernments(Government government,
Country country)
throws java.lang.Exception
government - the governmentcountry - the countryjava.lang.Exception - the exception
public void importInternationalGovernments(Government government,
Country country)
throws java.lang.Exception
government - the governmentcountry - the countryjava.lang.Exception - the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||