public class PropertyAutoCompleteFacetViaMethod extends PropertyAutoCompleteFacetAbstract implements ImperativeFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingImperativeFacet.Flags, ImperativeFacet.Intent, ImperativeFacet.UtilFILTER| Constructor and Description |
|---|
PropertyAutoCompleteFacetViaMethod(Method method,
Class<?> choicesClass,
FacetHolder holder,
SpecificationLoader specificationLookup,
AdapterManager adapterManager) |
| Modifier and Type | Method and Description |
|---|---|
Object[] |
autoComplete(ObjectAdapter owningAdapter,
String searchArg)
Gets the available auto-complete choices for this property.
|
protected AdapterManager |
getAdapterManager() |
ImperativeFacet.Intent |
getIntent(Method method)
The intent of this method, so that the
WrapperFactory knows whether to delegate on or to reject. |
List<Method> |
getMethods()
Returns a singleton list of the
Method provided in the
constructor. |
int |
getMinLength()
The minimum number of characters that need to be entered.
|
boolean |
impliesObjectChanged()
Whether invoking this method requires an
DomainObjectContainer.objectChanged(Object) to occur afterwards. |
boolean |
impliesResolve()
Whether invoking this requires a
DomainObjectContainer.resolve(Object) to occur first. |
protected String |
toStringValues() |
typealwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic PropertyAutoCompleteFacetViaMethod(Method method, Class<?> choicesClass, FacetHolder holder, SpecificationLoader specificationLookup, AdapterManager adapterManager)
public List<Method> getMethods()
Method provided in the
constructor.getMethods in interface ImperativeFacetpublic ImperativeFacet.Intent getIntent(Method method)
ImperativeFacetWrapperFactory knows whether to delegate on or to reject.getIntent in interface ImperativeFacetmethod - - one of the methods returned from ImperativeFacet.getMethods()public int getMinLength()
PropertyAutoCompleteFacetgetMinLength in interface PropertyAutoCompleteFacetgetMinLength in class PropertyAutoCompleteFacetAbstractpublic boolean impliesResolve()
ImperativeFacetDomainObjectContainer.resolve(Object) to occur first.impliesResolve in interface ImperativeFacetpublic boolean impliesObjectChanged()
ImperativeFacetDomainObjectContainer.objectChanged(Object) to occur afterwards.impliesObjectChanged in interface ImperativeFacetpublic Object[] autoComplete(ObjectAdapter owningAdapter, String searchArg)
PropertyAutoCompleteFacetautoComplete in interface PropertyAutoCompleteFacetprotected String toStringValues()
toStringValues in class FacetAbstractprotected AdapterManager getAdapterManager()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.