Class FocusDefinitionsMappingProvider
java.lang.Object
org.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
com.evolveum.midpoint.gui.impl.component.input.FocusDefinitionsMappingProvider
- All Implemented Interfaces:
Serializable
,org.apache.wicket.model.IDetachable
,org.apache.wicket.util.io.IClusterable
- Direct Known Subclasses:
SourceOfFocusMappingProvider
public class FocusDefinitionsMappingProvider
extends org.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
- See Also:
-
Constructor Summary
ConstructorDescriptionFocusDefinitionsMappingProvider
(org.apache.wicket.model.IModel<PrismPropertyWrapper<VariableBindingDefinitionType>> rowModel) -
Method Summary
Modifier and TypeMethodDescriptioncollectAvailableDefinitions
(String input, PrismContainerDefinition<? extends Containerable> focusDef) collectAvailableDefinitions
(String input, ResourceObjectTypeDefinitionType resourceObjectType) protected PrismContainerDefinition<? extends Containerable>
getFocusTypeDefinition
(ResourceObjectTypeDefinitionType resourceObjectType) protected final org.apache.wicket.model.IModel<PrismPropertyWrapper<VariableBindingDefinitionType>>
void
query
(String text, int page, org.wicketstuff.select2.Response<VariableBindingDefinitionType> response) protected boolean
toChoices
(Collection<String> values) Methods inherited from class org.wicketstuff.select2.ChoiceProvider
detach, toJson
-
Constructor Details
-
FocusDefinitionsMappingProvider
public FocusDefinitionsMappingProvider(org.apache.wicket.model.IModel<PrismPropertyWrapper<VariableBindingDefinitionType>> rowModel)
-
-
Method Details
-
getRowModel
protected final org.apache.wicket.model.IModel<PrismPropertyWrapper<VariableBindingDefinitionType>> getRowModel() -
getDisplayValue
- Specified by:
getDisplayValue
in classorg.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
-
getIdValue
- Specified by:
getIdValue
in classorg.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
-
stripVariableSegment
protected boolean stripVariableSegment() -
query
public void query(String text, int page, org.wicketstuff.select2.Response<VariableBindingDefinitionType> response) - Specified by:
query
in classorg.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
-
toChoices
- Specified by:
toChoices
in classorg.wicketstuff.select2.ChoiceProvider<VariableBindingDefinitionType>
-
collectAvailableDefinitions
public List<String> collectAvailableDefinitions(String input, ResourceObjectTypeDefinitionType resourceObjectType) -
collectAvailableDefinitions
protected List<String> collectAvailableDefinitions(String input, PrismContainerDefinition<? extends Containerable> focusDef) -
getFocusTypeDefinition
protected PrismContainerDefinition<? extends Containerable> getFocusTypeDefinition(ResourceObjectTypeDefinitionType resourceObjectType) -
collectAvailableDefinitions
-