Package io.goobi.viewer.model.cms
Class CMSStaticPage
java.lang.Object
io.goobi.viewer.model.cms.CMSStaticPage
- All Implemented Interfaces:
Serializable
CMSStaticPage class.
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructor for CMSStaticPage.CMSStaticPage
(String name) Constructor for CMSStaticPage. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Getter for the fieldcmsPage
.Getter for the fieldcmsPageId
.getCmsPageOptional.getId()
Getter for the fieldid
.Getter for the fieldpageName
.int
hashCode()
boolean
isHasCmsPage.boolean
isLanguageComplete
(Locale locale) isLanguageComplete.void
setCmsPage
(CMSPage cmsPage) Setter for the fieldcmsPage
.void
setCmsPageId
(Long cmsPageId) Setter for the fieldcmsPageId
.
-
Constructor Details
-
CMSStaticPage
public CMSStaticPage()Constructor for CMSStaticPage.
-
CMSStaticPage
Constructor for CMSStaticPage.
- Parameters:
name
- aString
object.- Throws:
NullPointerException
- if the given name is null
-
-
Method Details
-
getCmsPageOptional
getCmsPageOptional.
- Returns:
- the cmsPage
-
getCmsPage
Getter for the field
cmsPage
.- Returns:
- a
CMSPage
object.
-
setCmsPage
Setter for the field
cmsPage
.- Parameters:
cmsPage
- the cmsPage to set
-
getId
Getter for the field
id
.- Returns:
- the id
-
getPageName
Getter for the field
pageName
.- Returns:
- the pageName
-
isLanguageComplete
isLanguageComplete.
- Parameters:
locale
- aLocale
object.- Returns:
- a boolean.
-
isHasCmsPage
public boolean isHasCmsPage()isHasCmsPage.
- Returns:
- true only if isUseCmsPage == true and cmsPage != null
-
getCmsPageId
Getter for the field
cmsPageId
.- Returns:
- the cmsPageId
-
setCmsPageId
Setter for the field
cmsPageId
.- Parameters:
cmsPageId
- the cmsPageId to set
-
hashCode
public int hashCode() -
equals
-
getPageType
-