Package io.goobi.viewer.managedbeans
Class CmsRecordNotesBean
java.lang.Object
io.goobi.viewer.managedbeans.CmsRecordNotesBean
- All Implemented Interfaces:
Serializable
Bean used for listing and retrieving
CMSRecordNote
s- Author:
- florian
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteNote
(CMSRecordNote note) get the thumbnail url for the record related to the notegetThumbnailUrl
(CMSSingleRecordNote note, int width, int height) get the thumbnail url for the record related to the note for given width and heightvoid
init()
-
Field Details
-
PI_TITLE_FILTER
- See Also:
-
-
Constructor Details
-
CmsRecordNotesBean
public CmsRecordNotesBean() -
CmsRecordNotesBean
- Parameters:
images
-
-
-
Method Details
-
init
@PostConstruct public void init() -
getDataProvider
- Returns:
- the dataProvider
-
getThumbnailUrl
public String getThumbnailUrl(CMSSingleRecordNote note) throws IndexUnreachableException, PresentationException, ViewerConfigurationException get the thumbnail url for the record related to the note- Parameters:
note
-- Returns:
- Thumbnail URL
- Throws:
ViewerConfigurationException
PresentationException
IndexUnreachableException
-
getThumbnailUrl
public String getThumbnailUrl(CMSSingleRecordNote note, int width, int height) throws IndexUnreachableException, PresentationException, ViewerConfigurationException get the thumbnail url for the record related to the note for given width and height- Parameters:
note
-width
-height
-- Returns:
- Thumbnail URL
- Throws:
ViewerConfigurationException
PresentationException
IndexUnreachableException
-
deleteNote
- Throws:
DAOException
-
getRecordUrl
-
getNotesForRecord
- Throws:
DAOException
-
getSearchUrlForNote
-