public class MustSatisfySpecificationOnParameterFacet extends FacetAbstract implements ValidatingInteractionAdvisor
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
MustSatisfySpecificationOnParameterFacet(List<org.apache.isis.applib.spec.Specification> specifications,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
String |
invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> validityContext)
Whether the validation represented by this facet passes or fails.
|
static Class<? extends Facet> |
type() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic MustSatisfySpecificationOnParameterFacet(List<org.apache.isis.applib.spec.Specification> specifications, FacetHolder holder)
public String invalidates(ValidityContext<? extends org.apache.isis.applib.events.ValidityEvent> validityContext)
ValidatingInteractionAdvisor
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.
invalidates in interface ValidatingInteractionAdvisorCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.