Package | Description |
---|---|
eu.trentorise.opendata.jackan | |
eu.trentorise.opendata.jackan.dcat |
Package for conversions to DCAT.
|
eu.trentorise.opendata.jackan.model |
Modifier and Type | Field and Description |
---|---|
CkanResource |
ResourceResponse.result |
Modifier and Type | Method and Description |
---|---|
CkanResource |
CheckedCkanClient.createResource(CkanResourceBase resource)
Creates ckan resource on the server.
|
CkanResource |
CkanClient.createResource(CkanResourceBase resource)
Creates ckan resource on the server.
|
CkanResource |
CkanClient.getResource(String id) |
CkanResource |
CheckedCkanClient.patchUpdateResource(CkanResourceBase resource) |
CkanResource |
CkanClient.patchUpdateResource(CkanResourceBase resource)
Jackan specific.
|
CkanResource |
CheckedCkanClient.updateResource(CkanResourceBase resource) |
CkanResource |
CkanClient.updateResource(CkanResourceBase resource)
Updates a resource on the server using a straight
resource_update
call. |
Modifier and Type | Method and Description |
---|---|
protected String |
DcatFactory.extractAccessUrl(CkanResource resource) |
protected int |
DcatFactory.extractByteSize(CkanResource resource) |
protected eu.trentorise.opendata.commons.Dict |
DcatFactory.extractDescription(CkanResource dataset,
Locale locale) |
protected String |
DcatFactory.extractDownloadUrl(CkanResource resource) |
protected String |
DcatFactory.extractFieldAsNonEmptyString(CkanResource resource,
String field)
Like
DcatFactory.extractFieldAsString(CkanResource, String) but also checks
for trimmed non-emptiness. |
protected String |
DcatFactory.extractFieldAsString(CkanResource resource,
String field)
Searches a field in
CkanResourceBase.getOthers() . |
protected String |
DcatFactory.extractFormat(CkanResource resource) |
protected String |
DcatFactory.extractIssued(CkanResource resource) |
protected String |
DcatFactory.extractLicense(CkanResource resource,
String license) |
protected String |
DcatFactory.extractMediaType(CkanResource resource) |
protected String |
DcatFactory.extractModified(CkanResource resource) |
protected String |
GreedyDcatFactory.extractModified(CkanResource resource)
Looks for 'modified' and then lastModified field.
|
protected String |
DcatFactory.extractRights(CkanResource resource) |
protected eu.trentorise.opendata.commons.Dict |
DcatFactory.extractTitle(CkanResource resource,
Locale locale) |
protected String |
DcatFactory.extractUri(CkanResource resource,
String catalogUrl,
String datasetId) |
eu.trentorise.opendata.traceprov.dcat.DcatDistribution |
DcatFactory.makeDistribution(CkanResource resource,
String catalogURL,
String datasetIdOrName,
String license,
Locale locale)
Converts a Ckan resource to a DcatDistribution.
|
protected void |
DcatFactory.postProcessDistribution(eu.trentorise.opendata.traceprov.dcat.DcatDistribution.Builder distributionBuilder,
CkanResource resource,
String catalogURL,
String datasetId,
String license,
Locale locale)
Post processes the distribution builder after the extractions and prior
to creating the immutable DcatDistribution object.
|
Modifier and Type | Method and Description |
---|---|
List<CkanResource> |
CkanDatasetBase.getResources() |
Modifier and Type | Method and Description |
---|---|
void |
CkanDatasetBase.setResources(List<CkanResource> resources) |
Copyright © 2015 Trento Rise. All rights reserved.