Class CMSGeomapContent
java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSContent
io.goobi.viewer.model.cms.pages.content.types.CMSGeomapContent
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
exportHtmlFragment
(String outputFolderPath, String namingScheme) Writes HTML fragment value as file for re-indexing.getMap()
getMapId()
handlePageLoad
(boolean resetResults, CMSComponent component) Method to call when loading a CMSPage including this content itemboolean
isEmpty()
void
void
Methods inherited from class io.goobi.viewer.model.cms.pages.content.CMSContent
getBackendComponentLibrary, getData, getId, getItemId, getOwningComponent, getOwningPage, isRequired, setId, setItemId, setOwningComponent, setRequired
-
Constructor Details
-
CMSGeomapContent
public CMSGeomapContent() -
CMSGeomapContent
-
-
Method Details
-
getBackendComponentName
- Specified by:
getBackendComponentName
in classCMSContent
-
copy
- Specified by:
copy
in classCMSContent
-
exportHtmlFragment
public List<File> exportHtmlFragment(String outputFolderPath, String namingScheme) throws IOException, ViewerConfigurationException Description copied from class:CMSContent
Writes HTML fragment value as file for re-indexing. HTML/text fragments are exported directly. Attached media items are exported as long as their content type is one of the supported text document formats.- Specified by:
exportHtmlFragment
in classCMSContent
- Parameters:
outputFolderPath
- aString
object.namingScheme
- aString
object.- Returns:
- Exported Files
- Throws:
IOException
- if any.ViewerConfigurationException
-
handlePageLoad
public String handlePageLoad(boolean resetResults, CMSComponent component) throws PresentationException Description copied from class:CMSContent
Method to call when loading a CMSPage including this content item- Specified by:
handlePageLoad
in classCMSContent
- Returns:
- a JSF action response
- Throws:
PresentationException
-
getMap
-
setMap
-
getMapId
-
setMapId
-
getData
- Specified by:
getData
in classCMSContent
- Returns:
- a string representing this contentItem for use in frontend-components. May be an empty string for content with no clear String representation
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in classCMSContent
-