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
- 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 notegetThumbnailUrl(CMSSingleRecordNote note, int width, int height) get the thumbnail url for the record related to the note for given width and heightvoidinit()
-
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:
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-width-height-- Returns:
- Thumbnail URL
- Throws:
ViewerConfigurationExceptionPresentationExceptionIndexUnreachableException
-
deleteNote
- Throws:
DAOException
-
getRecordUrl
public String getRecordUrl(CMSSingleRecordNote note) throws PresentationException, IndexUnreachableException - Parameters:
note-- Returns:
- Record URL
- Throws:
IndexUnreachableExceptionPresentationException
-
getNotesForRecord
- Throws:
DAOException
-
getSearchUrlForNote
-