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 SummaryConstructorsConstructorDescriptionConstructor for CMSStaticPage.CMSStaticPage(String name) Constructor for CMSStaticPage.
- 
Method SummaryModifier 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- 
CMSStaticPagepublic CMSStaticPage()Constructor for CMSStaticPage. 
- 
CMSStaticPageConstructor for CMSStaticPage. - Parameters:
- name- a- Stringobject.
- Throws:
- NullPointerException- if the given name is null
 
 
- 
- 
Method Details- 
getCmsPageOptionalgetCmsPageOptional. - Returns:
- the cmsPage
 
- 
getCmsPageGetter for the field cmsPage.- Returns:
- a CMSPageobject.
 
- 
setCmsPageSetter for the field cmsPage.- Parameters:
- cmsPage- the cmsPage to set
 
- 
getIdGetter for the field id.- Returns:
- the id
 
- 
getPageNameGetter for the field pageName.- Returns:
- the pageName
 
- 
isLanguageCompleteisLanguageComplete. - Parameters:
- locale- a- Localeobject.
- Returns:
- a boolean.
 
- 
isHasCmsPagepublic boolean isHasCmsPage()isHasCmsPage. - Returns:
- true only if isUseCmsPage == true and cmsPage != null
 
- 
getCmsPageIdGetter for the field cmsPageId.- Returns:
- the cmsPageId
 
- 
setCmsPageIdSetter for the field cmsPageId.- Parameters:
- cmsPageId- the cmsPageId to set
 
- 
hashCodepublic int hashCode()
- 
equals
- 
getPageType
 
-