public abstract class DisableForSessionFacetAbstract extends FacetAbstract implements DisableForSessionFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
DisableForSessionFacetAbstract(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.
|
static Class<? extends Facet> |
type() |
alwaysReplace, facetType, getFacetHolder, getIdentified, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet, toString, toStringValuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitdisabledReasonalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic DisableForSessionFacetAbstract(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.
disables in interface DisablingInteractionAdvisorCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.