Class Search<T extends Serializable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.search.Search<T>
-
- All Implemented Interfaces:
DebugDumpable
,Serializable
public class Search<T extends Serializable> extends Object implements Serializable, DebugDumpable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_ADVANCED_SEARCH
static String
F_ALLOWED_MODES
static String
F_AXIOM_SEARCH
static String
F_BASIC_SEARCH
static String
F_FULL_TEXT
static String
F_FULLTEXT_SEARCH
static String
F_MODE
static String
F_OID_SEARCH
static String
F_TYPE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description Search(ObjectTypeSearchItemWrapper type, SearchBoxConfigurationType searchBoxConfigurationType)
-
Method Summary
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
F_FULL_TEXT
public static final String F_FULL_TEXT
- See Also:
- Constant Field Values
-
F_TYPE
public static final String F_TYPE
- See Also:
- Constant Field Values
-
F_MODE
public static final String F_MODE
- See Also:
- Constant Field Values
-
F_ALLOWED_MODES
public static final String F_ALLOWED_MODES
- See Also:
- Constant Field Values
-
F_OID_SEARCH
public static final String F_OID_SEARCH
- See Also:
- Constant Field Values
-
F_ADVANCED_SEARCH
public static final String F_ADVANCED_SEARCH
- See Also:
- Constant Field Values
-
F_AXIOM_SEARCH
public static final String F_AXIOM_SEARCH
- See Also:
- Constant Field Values
-
F_FULLTEXT_SEARCH
public static final String F_FULLTEXT_SEARCH
- See Also:
- Constant Field Values
-
F_BASIC_SEARCH
public static final String F_BASIC_SEARCH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Search
public Search(ObjectTypeSearchItemWrapper type, SearchBoxConfigurationType searchBoxConfigurationType)
-
-
Method Detail
-
getCollectionViewName
public String getCollectionViewName()
-
setCollectionViewName
public void setCollectionViewName(String collectionViewName)
-
getCollectionRefOid
public String getCollectionRefOid()
-
setCollectionRefOid
public void setCollectionRefOid(String collectionRefOid)
-
setOidSearchItemWrapper
public void setOidSearchItemWrapper(OidSearchItemWrapper oidSearchItemWrapper)
-
getItems
public List<FilterableSearchItemWrapper<?>> getItems()
-
getSearchMode
public SearchBoxModeType getSearchMode()
-
setSearchMode
public void setSearchMode(SearchBoxModeType searchMode)
-
isFullTextSearchEnabled
public boolean isFullTextSearchEnabled()
-
getAllowedModeList
public List<SearchBoxModeType> getAllowedModeList()
-
setAllowedModeList
public void setAllowedModeList(List<SearchBoxModeType> allowedModeList)
-
addAllowedModelType
public void addAllowedModelType(SearchBoxModeType allowedModeType)
-
isAdvancedQueryValid
public boolean isAdvancedQueryValid(PageBase pageBase)
-
getAdvancedError
public String getAdvancedError()
-
getAdvancedQuery
public String getAdvancedQuery()
-
getDslQuery
public String getDslQuery()
-
setDslQuery
public void setDslQuery(String dslQuery)
-
createObjectQuery
public ObjectQuery createObjectQuery(PageBase pageBase)
-
createObjectQuery
public ObjectQuery createObjectQuery(VariablesMap variables, PageBase pageBase)
-
createObjectQuery
public ObjectQuery createObjectQuery(VariablesMap variables, PageBase pageBase, ObjectQuery customizeContentQuery)
-
findOidSearchItemWrapper
public OidSearchItemWrapper findOidSearchItemWrapper()
-
findObjectCollectionSearchItemWrapper
public ObjectCollectionSearchItemWrapper findObjectCollectionSearchItemWrapper()
-
findMemberSearchItem
public AbstractRoleSearchItemWrapper findMemberSearchItem()
-
getFilterVariables
public VariablesMap getFilterVariables(VariablesMap defaultVariables, PageBase pageBase)
-
setAdvancedQuery
public void setAdvancedQuery(String advancedQuery)
-
getFullText
public String getFullText()
-
setFullText
public void setFullText(String fullText)
-
findPropertyItemByPath
public PropertySearchItemWrapper findPropertyItemByPath(ItemPath path)
-
findPropertySearchItem
public PropertySearchItemWrapper findPropertySearchItem(ItemPath path)
-
debugDump
public String debugDump(int indent)
- Specified by:
debugDump
in interfaceDebugDumpable
-
searchByNameEquals
public boolean searchByNameEquals(String nameValueToCompare)
-
isForceReload
public boolean isForceReload()
-
getAvailableFilterTypes
public List<AvailableFilterType> getAvailableFilterTypes()
-
reloadSavedFilters
public void reloadSavedFilters(PageAdminLTE parentPage)
todo review temporary decision to fix MID-8734, should be discussed later saved filters cannot be reloaded from the compiledGuiProfile at the moment, because GuiProfileCompiler.compileFocusProfile doesn't get the new filter changes while its saving- Parameters:
parentPage
-
-
-