Interface ItemFilter
- All Known Implementing Classes:
BaseFilter,DeclaringTypeItemFilter,DepthItemFilter,FileFolderNodeFilter,IsMandatoryFilter,IsNodeFilter,NameItemFilter,NodeTypeItemFilter,NtFileItemFilter
The item filter is used to include or exclude a set of repository items.
It is usually part of a
ItemFilterSet.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ItemFilterThe "Catch all" item filter.static final ItemFilterThe "Miss all" item filter. -
Method Summary
-
Field Details
-
ALL
The "Catch all" item filter. -
NONE
The "Miss all" item filter.
-
-
Method Details
-
matches
Checks if the given item matches this filters criteria. The given depth is relative to some invoker related depth and may not reflect the hierarchical depth of the item in the repository. It up to the implementation how to deal with this value.- Parameters:
item- the item to checkdepth- a relative depth.- Returns:
trueif this filter matches the criteria;falseotherwise.- Throws:
RepositoryException- if an error occurs.
-