org.nakedobjects.metamodel.facets.disable
Interface DisableForSessionFacet

All Superinterfaces:
DisablingInteractionAdvisor, Facet, InteractionAdvisor, InteractionAdvisorFacet
All Known Implementing Classes:
DisableForSessionFacetAbstract, DisableForSessionFacetNone, DisableForSessionFacetViaMethod

public interface DisableForSessionFacet
extends Facet, DisablingInteractionAdvisor

Disable a property, collection or action based on the current session.

In the standard Naked Objects Programming Model, corresponds to invoking the disableXxx(UserMemento) support method for the member.


Field Summary
 
Fields inherited from interface org.nakedobjects.metamodel.consent.InteractionAdvisorFacet
NOOP
 
Method Summary
 java.lang.String disabledReason(AuthenticationSession session)
          The reason this is disabled, or null if not.
 
Methods inherited from interface org.nakedobjects.metamodel.interactions.DisablingInteractionAdvisor
disables
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Method Detail

disabledReason

java.lang.String disabledReason(AuthenticationSession session)
The reason this is disabled, or null if not.



Copyright © 2001-2009 Naked Objects Group Ltd.. All Rights Reserved.