public abstract class AuthorizationFacetAbstract extends FacetAbstract implements AuthorizationFacet
FacetAbstract.Derivation, FacetAbstract.Disabling, FacetAbstract.Hiding, FacetAbstract.ValidatingNOOP| Constructor and Description |
|---|
AuthorizationFacetAbstract(FacetHolder holder,
AuthorizationManager authorizationManager) |
| 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.
|
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, waitalwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacetpublic AuthorizationFacetAbstract(FacetHolder holder, AuthorizationManager authorizationManager)
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 HidingInteractionAdvisorpublic 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.