@Service public class CommonServiceImpl extends java.lang.Object implements CommonService
| Constructor and Description |
|---|
CommonServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clearAllCaches()
Clears down every cache.
|
UriComponents |
constructUriComponents(CsvType csvType,
int year)
Constructs a
UriComponents object using the input parameters,
which can be used to download a CSV file. |
public void clearAllCaches()
CommonServiceclearAllCaches in interface CommonServicepublic UriComponents constructUriComponents(CsvType csvType, int year)
CommonServiceUriComponents object using the input parameters,
which can be used to download a CSV file.constructUriComponents in interface CommonServicecsvType - type of CSVyear - yearUriComponents