Package org.alfresco.repo.event2.filter
Class EventUserFilter
- java.lang.Object
-
- org.alfresco.repo.event2.filter.EventUserFilter
-
- All Implemented Interfaces:
EventFilter<String>
public class EventUserFilter extends Object implements EventFilter<String>
Implementation of the user filter.- Author:
- Jamal Kaabi-Mofrad
-
-
Constructor Summary
Constructors Constructor Description EventUserFilter(String filteredUsersStr, boolean userNamesAreCaseSensitive)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisExcluded(String user)Indicates whether the given object should be excluded or not.
-
-
-
Constructor Detail
-
EventUserFilter
public EventUserFilter(String filteredUsersStr, boolean userNamesAreCaseSensitive)
-
-
Method Detail
-
isExcluded
public boolean isExcluded(String user)
Description copied from interface:EventFilterIndicates whether the given object should be excluded or not.- Specified by:
isExcludedin interfaceEventFilter<String>- Parameters:
user- the object to be checked against filters- Returns:
- true if it is excluded, otherwise false
-
-