public class HiddenObjectFacetViaHiddenMethod extends HiddenObjectFacetAbstract
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
HiddenObjectFacetViaHiddenMethod(Method method,
FacetHolder holder) |
| Modifier and Type | Method and Description |
|---|---|
void |
copyOnto(FacetHolder holder)
Clone this facet onto another
FacetHolder. |
String |
hiddenReason(ObjectAdapter target) |
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.
|
typealwaysReplace, 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 HiddenObjectFacetViaHiddenMethod(Method method, 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 HidingInteractionAdvisorhides in class HiddenObjectFacetAbstractpublic String hiddenReason(ObjectAdapter target)
hiddenReason in class HiddenObjectFacetAbstractpublic void copyOnto(FacetHolder holder)
HiddenObjectFacetFacetHolder.
Introduced to allow this facet to be installed onto the
ObjectSpecification, and then copied down onto each of the spec's
ObjectMembers.
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.