Class CmsNavigationFilter
java.lang.Object
org.opencms.ui.components.fileselect.CmsNavigationFilter
- All Implemented Interfaces:
com.vaadin.v7.data.Container.Filter,Serializable
Filter used to hide folder tree items which are not either navigation items themselves or are required to navigate
from the site root to a navigation item.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCmsNavigationFilter(CmsObject cms, CmsResource root) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionbooleanappliesToProperty(Object propertyId) booleanpassesFilter(Object itemId, com.vaadin.v7.data.Item item)
-
Constructor Details
-
CmsNavigationFilter
Creates a new instance.- Parameters:
cms- the CMS contextroot- the root folder- Throws:
CmsException- if something goes wrong
-
-
Method Details
-
appliesToProperty
- Specified by:
appliesToPropertyin interfacecom.vaadin.v7.data.Container.Filter- See Also:
-
passesFilter
public boolean passesFilter(Object itemId, com.vaadin.v7.data.Item item) throws UnsupportedOperationException - Specified by:
passesFilterin interfacecom.vaadin.v7.data.Container.Filter- Throws:
UnsupportedOperationException- See Also:
-