Class DisplayNameFilter
java.lang.Object
com.sas.services.information.search.ObjectNameFilter
com.sas.services.information.search.DisplayNameFilter
- All Implemented Interfaces:
SearchFilter,Serializable
The DisplayNameFilter class is used to filter or search for objects by their DisplayName and Name
attributes. For instance, applications can search for only those objects that have the word
"SAS" contained within their name. This class supports searching for this value within an object's
description as well. Since this filter supports searching object names, this class should not
be used in conjunction with
ObjectNameFilter within the same search operation.
Important: This class is intended to be used only when searching on metadata types that support the DisplayName attribute. Not all types support this attribute, so this should not be used generically for all objects. If the type(s) being searched on do not support the DisplayName, the search may return unexpected results.
- Since:
- 9.3
- See Also:
-
Field Summary
FieldsFields inherited from class com.sas.services.information.search.ObjectNameFilter
_filterDescription, _includeDescription, _name, _searchOperator, METADATA_DESC, METADATA_NAME -
Constructor Summary
ConstructorsConstructorDescriptionDisplayNameFilter(String name, boolean includeDescription) DisplayNameFilter(String name, boolean includeDescription, SearchOperator searchOperator) -
Method Summary
Modifier and TypeMethodDescriptionbooleanequals(Object obj) Returns the filter component used for processing this search criteriaMethods inherited from class com.sas.services.information.search.ObjectNameFilter
getDefaultOperator, getFilterDescription, getFilterType, getName, getSearchOperator, isIncludingDescriptionMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sas.services.information.search.SearchFilter
getFilterDescription, getFilterType
-
Field Details
-
METADATA_DISPLAY_NAME
protected static final String METADATA_DISPLAY_NAME- See Also:
-
-
Constructor Details
-
DisplayNameFilter
public DisplayNameFilter(String name, boolean includeDescription) - Parameters:
name-includeDescription-
-
DisplayNameFilter
- Parameters:
name-includeDescription-searchOperator-
-
-
Method Details
-
getFilterComponent
Description copied from interface:SearchFilterReturns the filter component used for processing this search criteria- Specified by:
getFilterComponentin interfaceSearchFilter- Overrides:
getFilterComponentin classObjectNameFilter- Returns:
- filter component
-
equals
public boolean equals(Object obj) - Overrides:
equalsin classObjectNameFilter
-