public abstract class HiddenObjectFacetAbstract extends FacetAbstract implements HiddenObjectFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
HiddenObjectFacetAbstract(FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
hiddenReason(ObjectAdapter toHide) |
String |
hides(VisibilityContext<? extends org.apache.isis.applib.events.VisibilityEvent> ic)
Whether the rule represented by this facet hides 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, waitcopyOntoalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic HiddenObjectFacetAbstract(FacetHolder holder)
public String hides(VisibilityContext<? extends org.apache.isis.applib.events.VisibilityEvent> ic)
HidingInteractionAdvisor
Implementations should use the provided InteractionContext to
determine whether they declare the object/member is hidden. They must
however guard against a null
target and
session - neither are guaranteed
to be populated.
hides in interface HidingInteractionAdvisorprotected abstract String hiddenReason(ObjectAdapter toHide)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.