Class AdminfacesProperties
- java.lang.Object
- 
- org.joinfaces.autoconfigure.adminfaces.AdminfacesProperties
 
- 
- All Implemented Interfaces:
- Serializable
 
 @ConfigurationProperties(prefix="joinfaces.adminfaces") public class AdminfacesProperties extends Object implements Serializable Configuration properties of AdminFaces.Taken from - https://github.com/adminfaces/admin-template#configuration
- https://github.com/adminfaces/admin-template/blob/master/src/main/java/com/github/adminfaces/template/config/AdminConfig.java
 - See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classAdminfacesProperties.ControlSidebarControlSidebar properties.
 - 
Constructor SummaryConstructors Constructor Description AdminfacesProperties()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)BooleangetAutoHideMessages()If true PrimeFaces info messages will be hidden after a certain timeout.BooleangetAutoShowNavbar()Automatic shows navbar when users scrolls page up (on small screens).IntegergetBreadcrumbSize()Number of breadcrumbs to queue before removing the older ones.AdminfacesProperties.ControlSidebargetControlSidebar()When true it will activate control sidebar component.StringgetDateFormat()Date format used in error page (500.xhtml), by default it is JVM default format.BooleangetDisableFilter()Disables AdminFilter, responsible for redirecting user after session timeout, sending user to logon page when it is not logged in among other things.BooleangetEnableRipple()When true it will create a wave/ripple effect on elements specified by rippleElements.BooleangetEnableSlideMenu()If true will make left menu touch enable (can be closed or opened via touch).BooleangetExtensionLessUrls()Removes extension suffix from breadCrumb links.BooleangetIconsEffect()Enables material effect when icons (e.g modal close, calendar) are clicked.StringgetIgnoredResources()Comma separated resources (pages or urls) to be skiped by AdminFilter.StringgetIndexPage()index page location.StringgetLoadingImage()image used for the loading popup.StringgetLoginPage()login page location (relative to webapp).StringgetMessagesHideTimeout()Timeout to hide info messages.BooleangetRenderAjaxStatus()When false ajaxStatus, which triggers the loading bar on every ajax request, will not be rendered.BooleangetRenderBreadCrumb()When false, the breadCrumb component, declared in admin template, will not be rendered.BooleangetRenderControlSidebar()When true it will activate control sidebar component.BooleangetRenderMenuSearch()Enables or disables menu search.BooleangetRenderMessages()When false, p:messages defined in admin template will not be rendered.StringgetRippleElements()A list of comma separated list of (jquery) selector which elements will be affected by ripple effect.BooleangetRippleMobileOnly()When true the ripple effect will be enabled only on mobile (small) screens.StringgetSkin()Default template skin.StringgetTemplatePath()Template path.inthashCode()voidsetAutoHideMessages(Boolean autoHideMessages)If true PrimeFaces info messages will be hidden after a certain timeout.voidsetAutoShowNavbar(Boolean autoShowNavbar)Automatic shows navbar when users scrolls page up (on small screens).voidsetBreadcrumbSize(Integer breadcrumbSize)Number of breadcrumbs to queue before removing the older ones.voidsetDateFormat(String dateFormat)Date format used in error page (500.xhtml), by default it is JVM default format.voidsetDisableFilter(Boolean disableFilter)Disables AdminFilter, responsible for redirecting user after session timeout, sending user to logon page when it is not logged in among other things.voidsetEnableRipple(Boolean enableRipple)When true it will create a wave/ripple effect on elements specified by rippleElements.voidsetEnableSlideMenu(Boolean enableSlideMenu)If true will make left menu touch enable (can be closed or opened via touch).voidsetExtensionLessUrls(Boolean extensionLessUrls)Removes extension suffix from breadCrumb links.voidsetIconsEffect(Boolean iconsEffect)Enables material effect when icons (e.g modal close, calendar) are clicked.voidsetIgnoredResources(String ignoredResources)Comma separated resources (pages or urls) to be skiped by AdminFilter.voidsetIndexPage(String indexPage)index page location.voidsetLoadingImage(String loadingImage)image used for the loading popup.voidsetLoginPage(String loginPage)login page location (relative to webapp).voidsetMessagesHideTimeout(String messagesHideTimeout)Timeout to hide info messages.voidsetRenderAjaxStatus(Boolean renderAjaxStatus)When false ajaxStatus, which triggers the loading bar on every ajax request, will not be rendered.voidsetRenderBreadCrumb(Boolean renderBreadCrumb)When false, the breadCrumb component, declared in admin template, will not be rendered.voidsetRenderControlSidebar(Boolean renderControlSidebar)When true it will activate control sidebar component.voidsetRenderMenuSearch(Boolean renderMenuSearch)Enables or disables menu search.voidsetRenderMessages(Boolean renderMessages)When false, p:messages defined in admin template will not be rendered.voidsetRippleElements(String rippleElements)A list of comma separated list of (jquery) selector which elements will be affected by ripple effect.voidsetRippleMobileOnly(Boolean rippleMobileOnly)When true the ripple effect will be enabled only on mobile (small) screens.voidsetSkin(String skin)Default template skin.voidsetTemplatePath(String templatePath)Template path.StringtoString()
 
- 
- 
- 
Method Detail- 
getLoginPagepublic String getLoginPage() login page location (relative to webapp). It you only be used if you configure Admin Session.
 - 
getIndexPagepublic String getIndexPage() index page location. User will be redirected to it when it access app root (contextPath/).
 - 
getDateFormatpublic String getDateFormat() Date format used in error page (500.xhtml), by default it is JVM default format.
 - 
getTemplatePathpublic String getTemplatePath() Template path.
 - 
getBreadcrumbSizepublic Integer getBreadcrumbSize() Number of breadcrumbs to queue before removing the older ones.
 - 
getRenderMessagespublic Boolean getRenderMessages() When false, p:messages defined in admin template will not be rendered.
 - 
getRenderAjaxStatuspublic Boolean getRenderAjaxStatus() When false ajaxStatus, which triggers the loading bar on every ajax request, will not be rendered.
 - 
getDisableFilterpublic Boolean getDisableFilter() Disables AdminFilter, responsible for redirecting user after session timeout, sending user to logon page when it is not logged in among other things.
 - 
getRenderBreadCrumbpublic Boolean getRenderBreadCrumb() When false, the breadCrumb component, declared in admin template, will not be rendered.
 - 
getEnableSlideMenupublic Boolean getEnableSlideMenu() If true will make left menu touch enable (can be closed or opened via touch). Can be enable/disabled per page with<ui:param name="enableSlideMenu" value="false" />.
 - 
getEnableRipplepublic Boolean getEnableRipple() When true it will create a wave/ripple effect on elements specified by rippleElements.
 - 
getRippleElementspublic String getRippleElements() A list of comma separated list of (jquery) selector which elements will be affected by ripple effect.
 - 
getSkinpublic String getSkin() Default template skin.
 - 
getAutoShowNavbarpublic Boolean getAutoShowNavbar() Automatic shows navbar when users scrolls page up (on small screens). Can be enable/disabled per page with<ui:param name="autoShowNavbar" value="false" />.
 - 
getIgnoredResourcespublic String getIgnoredResources() Comma separated resources (pages or urls) to be skiped by AdminFilter. Ex: /rest, /pages/car-list. Note that by default the filter skips pages under CONTEXT/public/ folder.
 - 
getLoadingImagepublic String getLoadingImage() image used for the loading popup. It must be under webapp/resources/images folder.
 - 
getExtensionLessUrlspublic Boolean getExtensionLessUrls() Removes extension suffix from breadCrumb links.
 - 
getRenderControlSidebarpublic Boolean getRenderControlSidebar() When true it will activate control sidebar component.
 - 
getRippleMobileOnlypublic Boolean getRippleMobileOnly() When true the ripple effect will be enabled only on mobile (small) screens.
 - 
getRenderMenuSearchpublic Boolean getRenderMenuSearch() Enables or disables menu search.
 - 
getAutoHideMessagespublic Boolean getAutoHideMessages() If true PrimeFaces info messages will be hidden after a certain timeout.
 - 
getMessagesHideTimeoutpublic String getMessagesHideTimeout() Timeout to hide info messages. Note that the timeout is also composed by configured timeout + number of words in message.
 - 
getIconsEffectpublic Boolean getIconsEffect() Enables material effect when icons (e.g modal close, calendar) are clicked.
 - 
getControlSidebarpublic AdminfacesProperties.ControlSidebar getControlSidebar() When true it will activate control sidebar component.
 - 
setLoginPagepublic void setLoginPage(String loginPage) login page location (relative to webapp). It you only be used if you configure Admin Session.
 - 
setIndexPagepublic void setIndexPage(String indexPage) index page location. User will be redirected to it when it access app root (contextPath/).
 - 
setDateFormatpublic void setDateFormat(String dateFormat) Date format used in error page (500.xhtml), by default it is JVM default format.
 - 
setTemplatePathpublic void setTemplatePath(String templatePath) Template path.
 - 
setBreadcrumbSizepublic void setBreadcrumbSize(Integer breadcrumbSize) Number of breadcrumbs to queue before removing the older ones.
 - 
setRenderMessagespublic void setRenderMessages(Boolean renderMessages) When false, p:messages defined in admin template will not be rendered.
 - 
setRenderAjaxStatuspublic void setRenderAjaxStatus(Boolean renderAjaxStatus) When false ajaxStatus, which triggers the loading bar on every ajax request, will not be rendered.
 - 
setDisableFilterpublic void setDisableFilter(Boolean disableFilter) Disables AdminFilter, responsible for redirecting user after session timeout, sending user to logon page when it is not logged in among other things.
 - 
setRenderBreadCrumbpublic void setRenderBreadCrumb(Boolean renderBreadCrumb) When false, the breadCrumb component, declared in admin template, will not be rendered.
 - 
setEnableSlideMenupublic void setEnableSlideMenu(Boolean enableSlideMenu) If true will make left menu touch enable (can be closed or opened via touch). Can be enable/disabled per page with<ui:param name="enableSlideMenu" value="false" />.
 - 
setEnableRipplepublic void setEnableRipple(Boolean enableRipple) When true it will create a wave/ripple effect on elements specified by rippleElements.
 - 
setRippleElementspublic void setRippleElements(String rippleElements) A list of comma separated list of (jquery) selector which elements will be affected by ripple effect.
 - 
setSkinpublic void setSkin(String skin) Default template skin.
 - 
setAutoShowNavbarpublic void setAutoShowNavbar(Boolean autoShowNavbar) Automatic shows navbar when users scrolls page up (on small screens). Can be enable/disabled per page with<ui:param name="autoShowNavbar" value="false" />.
 - 
setIgnoredResourcespublic void setIgnoredResources(String ignoredResources) Comma separated resources (pages or urls) to be skiped by AdminFilter. Ex: /rest, /pages/car-list. Note that by default the filter skips pages under CONTEXT/public/ folder.
 - 
setLoadingImagepublic void setLoadingImage(String loadingImage) image used for the loading popup. It must be under webapp/resources/images folder.
 - 
setExtensionLessUrlspublic void setExtensionLessUrls(Boolean extensionLessUrls) Removes extension suffix from breadCrumb links.
 - 
setRenderControlSidebarpublic void setRenderControlSidebar(Boolean renderControlSidebar) When true it will activate control sidebar component.
 - 
setRippleMobileOnlypublic void setRippleMobileOnly(Boolean rippleMobileOnly) When true the ripple effect will be enabled only on mobile (small) screens.
 - 
setRenderMenuSearchpublic void setRenderMenuSearch(Boolean renderMenuSearch) Enables or disables menu search.
 - 
setAutoHideMessagespublic void setAutoHideMessages(Boolean autoHideMessages) If true PrimeFaces info messages will be hidden after a certain timeout.
 - 
setMessagesHideTimeoutpublic void setMessagesHideTimeout(String messagesHideTimeout) Timeout to hide info messages. Note that the timeout is also composed by configured timeout + number of words in message.
 - 
setIconsEffectpublic void setIconsEffect(Boolean iconsEffect) Enables material effect when icons (e.g modal close, calendar) are clicked.
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-