public interface ValidatingInteractionAdvisor extends InteractionAdvisorFacet, FacetAbstract.Validating
Facets that can advise as to whether a proposed
value is valid.
For example, MaxLengthFacet does constrain the length of candidate values, whereas DebugFacet or MemberOrderFacet do not - they are basically just UI hints.
NOOP| Modifier and Type | Method and Description |
|---|---|
String |
invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> ic)
Whether the validation represented by this facet passes or fails.
|
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetString invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> ic)
Implementations should use the provided ValidityContext to
determine whether they declare the interaction invalid. They must however
guard against a null target
and session - neither are guaranteed
to be populated.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.