public class CkanService extends Object
Constructor and Description |
---|
CkanService() |
Modifier and Type | Method and Description |
---|---|
String |
getDatasetUrlFormat()
Return the dataset URL format
|
String |
getDefault(String strKey)
Get a default value for a given key
|
String |
getMapping(String strKey)
Get the mapping value for a given key
|
static String |
getNameId(fr.paris.lutece.plugins.document.business.Document doc)
Build the name ID
|
String |
getResourceUrlFormat()
Return the resource URL format
|
void |
setDefaults(Map defaults)
Sets defaults (injected)
|
void |
setMappings(Map mappings)
Sets the mappings (injected)
|
public static final String NOT_FOUND
public void setMappings(Map mappings)
mappings
- The mappings mappublic void setDefaults(Map defaults)
defaults
- The defaults mappublic String getDatasetUrlFormat()
public String getResourceUrlFormat()
public String getMapping(String strKey)
strKey
- The keypublic String getDefault(String strKey)
strKey
- The Keypublic static String getNameId(fr.paris.lutece.plugins.document.business.Document doc)
doc
- The documentCopyright © 2016 City of Paris. All rights reserved.