Class CMSRecordNote
java.lang.Object
io.goobi.viewer.model.cms.recordnotes.CMSRecordNote
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CMSMultiRecordNote
,CMSSingleRecordNote
Class holding a formatted text related to a single PI which may be edited in the admin/cms-backend and displayed in a (sidebar) widget
- Author:
- florian
- See Also:
-
Constructor Summary
ModifierConstructorDescriptionprotected
protected
CMSRecordNote
(CMSRecordNote source) protected
CMSRecordNote
(String pi) -
Method Summary
Modifier and TypeMethodDescriptionboolean
getId()
int
hashCode()
boolean
abstract boolean
abstract boolean
abstract boolean
matchesFilter
(String filter) void
setDisplayNote
(boolean displayNote) void
void
setStyleClass
(String styleClass)
-
Constructor Details
-
CMSRecordNote
protected CMSRecordNote() -
CMSRecordNote
- Parameters:
pi
-
-
CMSRecordNote
- Parameters:
source
-
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getId
-
setId
-
getNoteTitle
-
getNoteText
-
isDisplayNote
public boolean isDisplayNote() -
setDisplayNote
public void setDisplayNote(boolean displayNote) -
getStyleClass
-
setStyleClass
-
isSingleRecordNote
public abstract boolean isSingleRecordNote() -
isMultiRecordNote
public abstract boolean isMultiRecordNote() -
matchesFilter
-