Class CMSDocumentContent
java.lang.Object
io.goobi.viewer.model.cms.pages.content.CMSContent
io.goobi.viewer.model.cms.pages.content.types.CMSMediaContent
io.goobi.viewer.model.cms.pages.content.types.CMSDocumentContent
- All Implemented Interfaces:
CMSMediaHolder
,Comparable<CMSMediaContent>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
A regular expression determining which filenames are shown in the media list and may be uploadedA string representing the allowed media formates for a user.Methods inherited from class io.goobi.viewer.model.cms.pages.content.types.CMSMediaContent
compareTo, equals, exportHtmlFragment, getBackendComponentName, getData, getMediaDescription, getMediaItem, getMediaItemWrapper, getMediaMetadata, getMediaName, getMediaType, getUrl, getUrl, handlePageLoad, hashCode, hasMediaItem, isEmpty, setMediaItem
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
-
CMSDocumentContent
public CMSDocumentContent() -
CMSDocumentContent
-
-
Method Details
-
getMediaFilter
Description copied from interface:CMSMediaHolder
A regular expression determining which filenames are shown in the media list and may be uploaded
- Specified by:
getMediaFilter
in interfaceCMSMediaHolder
- Overrides:
getMediaFilter
in classCMSMediaContent
- Returns:
- a
String
object.
-
getMediaTypes
Description copied from interface:CMSMediaHolder
A string representing the allowed media formates for a user. Should be a comma separated list of format names or filename suffixes- Specified by:
getMediaTypes
in interfaceCMSMediaHolder
- Overrides:
getMediaTypes
in classCMSMediaContent
- Returns:
String
-
copy
- Overrides:
copy
in classCMSMediaContent
-