public final class FilterHelper
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
extendFilter(java.lang.String filter,
java.lang.String frameworkUUID)
Extends a given filter with the framework UUID filter
|
static java.util.Set<Filter> |
getFiltersFromEEL(<any> eelReference)
Extracts the scopes out of the service property from the service reference and converts it into
Filters |
static java.lang.String |
getFullFilter(java.lang.String objectClass,
java.lang.String filter)
Returns an object class filter for a given object class and filter parameter
|
static java.lang.String |
getObjectClass(java.lang.String filter)
Returns the object class from the given filter string
|
static boolean |
isClassExcluded(java.lang.String className)
Returns
true, if the given string class name is part of the SYSTEM_PACKAGE list |
static java.util.List<java.lang.String> |
normalize(java.lang.Object object)
Normalizes the given input object to the corresponding rules.
|
public static java.lang.String getObjectClass(java.lang.String filter)
filter - the filter string to extract the object class fromnullpublic static boolean isClassExcluded(java.lang.String className)
true, if the given string class name is part of the SYSTEM_PACKAGE listclassName - the class name to checktrue, if the class name is null or part of the system package listpublic static java.lang.String getFullFilter(java.lang.String objectClass,
java.lang.String filter)
objectClass - the object class namefilter - an existing filterpublic static java.lang.String extendFilter(java.lang.String filter,
java.lang.String frameworkUUID)
filter - the given filterframeworkUUID - the framework UUIDpublic static java.util.Set<Filter> getFiltersFromEEL(<any> eelReference)
FilterseelReference - the service reference of the end-point event listenerSet of filters or an empty Setpublic static java.util.List<java.lang.String> normalize(java.lang.Object object)
object - the object to be normalized.Data In Motion Consulting GmbH