Class SearchConfigurationWrapper<C extends Containerable>
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.search.SearchConfigurationWrapper<C>
-
- All Implemented Interfaces:
Serializable
public class SearchConfigurationWrapper<C extends Containerable> extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
F_INDIRECT
static String
F_PROJECT
static String
F_RELATION
static String
F_SCOPE
static String
F_TENANT
-
Constructor Summary
Constructors Constructor Description SearchConfigurationWrapper(Class<C> typeClass, ModelServiceLocator modelServiceLocator)
SearchConfigurationWrapper(Class<C> typeClass, SearchBoxConfigurationType searchBoxConfig, ModelServiceLocator modelServiceLocator)
SearchConfigurationWrapper(Class<C> typeClass, String collectionViewName)
-
Method Summary
-
-
-
Field Detail
-
F_INDIRECT
public static final String F_INDIRECT
- See Also:
- Constant Field Values
-
F_SCOPE
public static final String F_SCOPE
- See Also:
- Constant Field Values
-
F_RELATION
public static final String F_RELATION
- See Also:
- Constant Field Values
-
F_TENANT
public static final String F_TENANT
- See Also:
- Constant Field Values
-
F_PROJECT
public static final String F_PROJECT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SearchConfigurationWrapper
public SearchConfigurationWrapper(Class<C> typeClass, ModelServiceLocator modelServiceLocator)
-
SearchConfigurationWrapper
public SearchConfigurationWrapper(Class<C> typeClass, SearchBoxConfigurationType searchBoxConfig, ModelServiceLocator modelServiceLocator)
-
-
Method Detail
-
getDefaultSearchBoxMode
public SearchBoxModeType getDefaultSearchBoxMode()
-
setDefaultSearchBoxMode
public void setDefaultSearchBoxMode(SearchBoxModeType defaultSearchBoxMode)
-
getAllowedModeList
public List<SearchBoxModeType> getAllowedModeList()
-
addAllowedMode
public SearchConfigurationWrapper addAllowedMode(SearchBoxModeType mode)
-
getAllowedTypeList
public List<Class<? extends Containerable>> getAllowedTypeList()
-
getCollectionViewName
public String getCollectionViewName()
-
setCollectionViewName
public void setCollectionViewName(String collectionViewName)
-
getCollectionRefOid
public String getCollectionRefOid()
-
setCollectionRefOid
public void setCollectionRefOid(String collectionRefOid)
-
getItemsList
public List<AbstractSearchItemWrapper> getItemsList()
-
addSearchItem
public void addSearchItem(AbstractSearchItemWrapper searchItem)
-
getDefaultScope
public SearchBoxScopeType getDefaultScope()
-
setDefaultScope
public void setDefaultScope(SearchBoxScopeType defaultScope)
-
getDefaultRelation
public QName getDefaultRelation()
-
setDefaultRelation
public void setDefaultRelation(QName defaultRelation)
-
isAllowToConfigureSearchItems
public boolean isAllowToConfigureSearchItems()
-
setAllowToConfigureSearchItems
public void setAllowToConfigureSearchItems(boolean allowToConfigureSearchItems)
-
isIndirect
public boolean isIndirect()
-
isSearchScope
public boolean isSearchScope(SearchBoxScopeType scopeType)
-
getProjectRef
public ObjectReferenceType getProjectRef()
-
setProjectRef
public void setProjectRef(ObjectReferenceType projectRef)
-
getTenantRef
public ObjectReferenceType getTenantRef()
-
setTenantRef
public void setTenantRef(ObjectReferenceType tenantRef)
-
isTenantEmpty
public boolean isTenantEmpty()
-
isProjectEmpty
public boolean isProjectEmpty()
-
isAllowAllTypeSearch
public boolean isAllowAllTypeSearch()
-
setAllowAllTypeSearch
public void setAllowAllTypeSearch(boolean allowAllTypeSearch)
-
removePropertySearchItem
public SearchConfigurationWrapper<C> removePropertySearchItem(ItemPath path)
-
-