public class NotPersistableFacetImpl extends NotPersistableFacetAbstract
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
NotPersistableFacetImpl(org.apache.isis.applib.annotation.NotPersistable.By value,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
String |
disables(UsabilityContext<? extends org.apache.isis.applib.events.UsabilityEvent> ic)
Whether the rule represented by this facet disables the member to which
it applies.
|
typevaluealwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitvaluealwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic NotPersistableFacetImpl(org.apache.isis.applib.annotation.NotPersistable.By value, FacetHolder holder)
public String disables(UsabilityContext<? extends org.apache.isis.applib.events.UsabilityEvent> ic)
DisablingInteractionAdvisor
Implementations should use the provided InteractionContext to
determine whether they disable the member from being modified or used.
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.