Class ReferenceConverter
java.lang.Object
com.evolveum.midpoint.gui.api.component.autocomplete.ReferenceConverter
- All Implemented Interfaces:
Serializable
,org.apache.wicket.util.convert.IConverter<ObjectReferenceType>
,org.apache.wicket.util.io.IClusterable
public class ReferenceConverter
extends Object
implements org.apache.wicket.util.convert.IConverter<ObjectReferenceType>
- Author:
- honchar
- See Also:
-
Constructor Summary
ConstructorDescriptionReferenceConverter
(org.apache.wicket.util.convert.IConverter<ObjectReferenceType> originConverter, List<ObjectReferenceType> referenceList, org.apache.wicket.markup.html.form.FormComponent baseComponent, PageBase pageBase) -
Method Summary
Modifier and TypeMethodDescriptionconvertToObject
(String value, Locale locale) convertToString
(ObjectReferenceType ref, Locale arg1) protected <O extends ObjectType>
Class<O>protected boolean
-
Constructor Details
-
ReferenceConverter
public ReferenceConverter(org.apache.wicket.util.convert.IConverter<ObjectReferenceType> originConverter, List<ObjectReferenceType> referenceList, org.apache.wicket.markup.html.form.FormComponent baseComponent, PageBase pageBase)
-
-
Method Details
-
convertToObject
public ObjectReferenceType convertToObject(String value, Locale locale) throws org.apache.wicket.util.convert.ConversionException - Specified by:
convertToObject
in interfaceorg.apache.wicket.util.convert.IConverter<ObjectReferenceType>
- Throws:
org.apache.wicket.util.convert.ConversionException
-
convertToString
- Specified by:
convertToString
in interfaceorg.apache.wicket.util.convert.IConverter<ObjectReferenceType>
-
getReferenceTargetObjectType
-
isAllowedNotFoundObjectRef
protected boolean isAllowedNotFoundObjectRef()
-