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 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 interface org.apache.wicket.util.convert.IConverter<ObjectReferenceType>
      Throws:
      org.apache.wicket.util.convert.ConversionException
    • convertToString

      public String convertToString(ObjectReferenceType ref, Locale arg1)
      Specified by:
      convertToString in interface org.apache.wicket.util.convert.IConverter<ObjectReferenceType>
    • getReferenceTargetObjectType

      protected <O extends ObjectType> Class<O> getReferenceTargetObjectType()
    • isAllowedNotFoundObjectRef

      protected boolean isAllowedNotFoundObjectRef()