Class AbstractRoleSearchItemWrapper
- java.lang.Object
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper<T>
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.FilterableSearchItemWrapper
-
- com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractRoleSearchItemWrapper
-
- All Implemented Interfaces:
SelectableRow,Serializable
public class AbstractRoleSearchItemWrapper extends FilterableSearchItemWrapper
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringF_INDIRECTstatic StringF_PROJECTstatic StringF_RELATIONstatic StringF_SCOPEstatic StringF_TENANTprotected Stringhelpprotected Stringname-
Fields inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper
F_APPLY_FILTER, F_DISPLAYABLE_VALUE, F_HELP, F_NAME, F_SELECTED, F_TITLE, F_VALUE
-
-
Constructor Summary
Constructors Constructor Description AbstractRoleSearchItemWrapper(SearchBoxConfigurationType config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRemoveSearchItem()ObjectFiltercreateFilter(Class type, PageBase pageBase, VariablesMap variables)DisplayableValuegetDefaultValue()StringgetHelp()StringgetName()ObjectReferenceTypegetProjectValue()RelationSearchItemConfigurationTypegetRelationSearchItemConfiguration()QNamegetRelationValue()SearchBoxScopeTypegetScopeValue()Class<? extends AbstractSearchItemPanel>getSearchItemPanelClass()List<QName>getSupportedRelations()ObjectReferenceTypegetTenantValue()StringgetTitle()booleanisIndirect()booleanisIndirectVisible()booleanisNotEmpty()booleanisParameterSearchVisible()booleanisRelationVisible()booleanisSearchScope(SearchBoxScopeType scope)booleanisSearchScopeVisible()booleanisVisible()voidsetHelp(String help)voidsetName(String name)-
Methods inherited from class com.evolveum.midpoint.gui.impl.component.search.wrapper.AbstractSearchItemWrapper
applyPredefinedFilter, clearValue, equals, getFilterExpression, getParameterName, getParameterValueType, getPredefinedFilter, getValue, hashCode, isApplyFilter, isEnabled, isSelected, setApplyFilter, setCanConfigure, setFilterExpression, setParameterName, setParameterValueType, setPredefinedFilter, setSelected, setValue, setVisible
-
-
-
-
Field Detail
-
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_INDIRECT
public static final String F_INDIRECT
- 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
-
name
protected String name
-
help
protected String help
-
-
Constructor Detail
-
AbstractRoleSearchItemWrapper
public AbstractRoleSearchItemWrapper(SearchBoxConfigurationType config)
-
-
Method Detail
-
createFilter
public ObjectFilter createFilter(Class type, PageBase pageBase, VariablesMap variables)
- Specified by:
createFilterin classFilterableSearchItemWrapper
-
getTenantValue
public ObjectReferenceType getTenantValue()
-
getProjectValue
public ObjectReferenceType getProjectValue()
-
canRemoveSearchItem
public boolean canRemoveSearchItem()
- Overrides:
canRemoveSearchItemin classAbstractSearchItemWrapper
-
getSearchItemPanelClass
public Class<? extends AbstractSearchItemPanel> getSearchItemPanelClass()
- Specified by:
getSearchItemPanelClassin classAbstractSearchItemWrapper
-
getName
public String getName()
- Specified by:
getNamein classAbstractSearchItemWrapper
-
setName
public void setName(String name)
-
getHelp
public String getHelp()
- Specified by:
getHelpin classAbstractSearchItemWrapper
-
getTitle
public String getTitle()
- Specified by:
getTitlein classAbstractSearchItemWrapper
-
getDefaultValue
public DisplayableValue getDefaultValue()
- Specified by:
getDefaultValuein classAbstractSearchItemWrapper
-
setHelp
public void setHelp(String help)
-
isSearchScope
public boolean isSearchScope(SearchBoxScopeType scope)
-
isSearchScopeVisible
public boolean isSearchScopeVisible()
-
isRelationVisible
public boolean isRelationVisible()
-
isIndirectVisible
public boolean isIndirectVisible()
-
isParameterSearchVisible
public boolean isParameterSearchVisible()
-
getRelationValue
public QName getRelationValue()
-
getRelationSearchItemConfiguration
public RelationSearchItemConfigurationType getRelationSearchItemConfiguration()
-
getScopeValue
public SearchBoxScopeType getScopeValue()
-
isIndirect
public boolean isIndirect()
-
isVisible
public boolean isVisible()
- Overrides:
isVisiblein classAbstractSearchItemWrapper
-
isNotEmpty
public boolean isNotEmpty()
-
-