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
CMSRecordNotes.- Author:
- Florian Alpers
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleandeleteNote(CMSRecordNote note) Get the thumbnail url for the record related to the note.getThumbnailUrl(CMSSingleRecordNote note, int width, int height) Get the thumbnail url for the record related to the note for given width and height.voidinit()
-
Field Details
-
PI_TITLE_FILTER
- See Also:
-
-
Constructor Details
-
CmsRecordNotesBean
public CmsRecordNotesBean() -
CmsRecordNotesBean
- Parameters:
images- Bean used for image delivery
-
-
Method Details
-
init
-
getDataProvider
-
getThumbnailUrl
public String getThumbnailUrl(CMSSingleRecordNote note) throws IndexUnreachableException, PresentationException, ViewerConfigurationException Get the thumbnail url for the record related to the note.- Parameters:
note- Note whose related record's thumbnail is requested- Returns:
- Thumbnail URL
- Throws:
ViewerConfigurationExceptionPresentationExceptionIndexUnreachableException
-
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- Note whose related record's thumbnail is requestedwidth- Desired thumbnail width in pixelsheight- Desired thumbnail height in pixels- Returns:
- Thumbnail URL
- Throws:
ViewerConfigurationExceptionPresentationExceptionIndexUnreachableException
-
deleteNote
- Throws:
DAOException
-
getRecordUrl
public String getRecordUrl(CMSSingleRecordNote note) throws PresentationException, IndexUnreachableException - Parameters:
note- Note whose related record URL is requested- Returns:
- Record URL
- Throws:
IndexUnreachableExceptionPresentationException
-
getNotesForRecord
- Throws:
DAOException
-
getSearchUrlForNote
-