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
ConstructorsConstructorDescriptionConstructor for CMSStaticPage.CMSStaticPage(String name) Constructor for CMSStaticPage. -
Method Summary
Modifier and TypeMethodDescriptionbooleanGetter for the fieldcmsPage.Getter for the fieldcmsPageId.getCmsPageOptional.getId()Getter for the fieldid.Getter for the fieldpageName.inthashCode()booleanisHasCmsPage.booleanisLanguageComplete(Locale locale) isLanguageComplete.voidsetCmsPage(CMSPage cmsPage) Setter for the fieldcmsPage.voidsetCmsPageId(Long cmsPageId) Setter for the fieldcmsPageId.
-
Constructor Details
-
CMSStaticPage
public CMSStaticPage()Constructor for CMSStaticPage.
-
CMSStaticPage
Constructor for CMSStaticPage.
- Parameters:
name- aStringobject.- Throws:
NullPointerException- if the given name is null
-
-
Method Details
-
getCmsPageOptional
getCmsPageOptional.
- Returns:
- the cmsPage
-
getCmsPage
Getter for the field
cmsPage.- Returns:
- a
CMSPageobject.
-
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- aLocaleobject.- 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
-