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 String
F_INDIRECT
static String
F_PROJECT
static String
F_RELATION
static String
F_SCOPE
static String
F_TENANT
protected String
help
protected String
name
-
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 boolean
canRemoveSearchItem()
ObjectFilter
createFilter(Class type, PageBase pageBase, VariablesMap variables)
DisplayableValue
getDefaultValue()
String
getHelp()
String
getName()
ObjectReferenceType
getProjectValue()
RelationSearchItemConfigurationType
getRelationSearchItemConfiguration()
QName
getRelationValue()
SearchBoxScopeType
getScopeValue()
Class<? extends AbstractSearchItemPanel>
getSearchItemPanelClass()
List<QName>
getSupportedRelations()
ObjectReferenceType
getTenantValue()
String
getTitle()
boolean
isIndirect()
boolean
isIndirectVisible()
boolean
isNotEmpty()
boolean
isParameterSearchVisible()
boolean
isRelationVisible()
boolean
isSearchScope(SearchBoxScopeType scope)
boolean
isSearchScopeVisible()
boolean
isVisible()
void
setHelp(String help)
void
setName(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:
createFilter
in classFilterableSearchItemWrapper
-
getTenantValue
public ObjectReferenceType getTenantValue()
-
getProjectValue
public ObjectReferenceType getProjectValue()
-
canRemoveSearchItem
public boolean canRemoveSearchItem()
- Overrides:
canRemoveSearchItem
in classAbstractSearchItemWrapper
-
getSearchItemPanelClass
public Class<? extends AbstractSearchItemPanel> getSearchItemPanelClass()
- Specified by:
getSearchItemPanelClass
in classAbstractSearchItemWrapper
-
getName
public String getName()
- Specified by:
getName
in classAbstractSearchItemWrapper
-
setName
public void setName(String name)
-
getHelp
public String getHelp()
- Specified by:
getHelp
in classAbstractSearchItemWrapper
-
getTitle
public String getTitle()
- Specified by:
getTitle
in classAbstractSearchItemWrapper
-
getDefaultValue
public DisplayableValue getDefaultValue()
- Specified by:
getDefaultValue
in 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:
isVisible
in classAbstractSearchItemWrapper
-
isNotEmpty
public boolean isNotEmpty()
-
-