Class NotesFilter
java.lang.Object
com.sas.services.information.search.NotesFilter
- All Implemented Interfaces:
SearchFilter,Serializable
The NotesFilter class is used to filter or search for objects by their associated
notes. This includes both private notes (such as quick notes) and associated public (or
shared) notes.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<String> protected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
ConstructorsConstructorDescriptionNotesFilter(List<String> notes) Constructs a new notes filter that allows objects to be searched their associated notes. -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DOCUMENTS_ASSOCIATION_NAME
protected static final String DOCUMENTS_ASSOCIATION_NAME- See Also:
-
DOCUMENTS_ASSOCIATION_TYPE
protected static final String DOCUMENTS_ASSOCIATION_TYPE- See Also:
-
NOTES_ASSOCIATION_NAME
protected static final String NOTES_ASSOCIATION_NAME- See Also:
-
NOTES_ASSOCIATION_TYPE
protected static final String NOTES_ASSOCIATION_TYPE- See Also:
-
ATTRIBUTE_STOREDTEXT
protected static final String ATTRIBUTE_STOREDTEXT- See Also:
-
ATTRIBUTE_PUBLICTYPE
protected static final String ATTRIBUTE_PUBLICTYPE- See Also:
-
ATTRIBUTE_TEXTROLE
protected static final String ATTRIBUTE_TEXTROLE- See Also:
-
_notes
protected List<String> _notes
-
-
Constructor Details
-
NotesFilter
public NotesFilter(List<String> notes) Constructs a new notes filter that allows objects to be searched their associated notes.- Parameters:
text- the note text to search on
-
-
Method Details
-
getFilterType
public String getFilterType()Description copied from interface:SearchFilterReturns the localized name of this filter. This method is typically used to help identify to the user what type of search is being performed. For instance, a name search, or a type search.- Specified by:
getFilterTypein interfaceSearchFilter- Returns:
- filter type
-
getFilterDescription
public String getFilterDescription()Description copied from interface:SearchFilterReturns the description of this filter. This description is typically used for display purposes, or a log file, to inform the user what the intention of this filter is.- Specified by:
getFilterDescriptionin interfaceSearchFilter- Returns:
- the filter description
-
getNotes
public List<String> getNotes()Returns the notes being searched for- Returns:
- notes
-
getFilterComponent
Description copied from interface:SearchFilterReturns the filter component used for processing this search criteria- Specified by:
getFilterComponentin interfaceSearchFilter- Returns:
- filter component
-
equals
public boolean equals(Object obj) - Overrides:
equalsin classObject
-