org.nakedobjects.metamodel.consent
Interface InteractionAdvisorFacet

All Superinterfaces:
Facet, InteractionAdvisor
All Known Subinterfaces:
ActionValidationFacet, BoundedFacet, CollectionValidateAddToFacet, CollectionValidateRemoveFromFacet, DerivedFacet, DisabledFacet, DisableForContextFacet, DisableForSessionFacet, DisablingInteractionAdvisor, HiddenFacet, HideForContextFacet, HideForSessionFacet, HidingInteractionAdvisor, ImmutableFacet, MandatoryFacet, MaskFacet, MaxLengthFacet, NotPersistableFacet, ObjectValidPropertiesFacet, PropertyValidateFacet, RegExFacet, ValidateObjectFacet, ValidatingInteractionAdvisor
All Known Implementing Classes:
ActionValidationFacetAbstract, ActionValidationFacetViaMethod, BoundedFacetAbstract, BoundedFacetAnnotation, BoundedFacetImpl, BoundedFacetMarkerInterface, CollectionValidateAddToFacetAbstract, CollectionValidateAddToFacetViaMethod, CollectionValidateRemoveFromFacetAbstract, CollectionValidateRemoveFromFacetViaMethod, DerivedFacetAbstract, DerivedFacetInferred, DisabledFacetAbstract, DisabledFacetAlways, DisabledFacetAnnotation, DisabledFacetDerivedFromImmutable, DisabledFacetImpl, DisabledFacetNever, DisableForContextFacetAbstract, DisableForContextFacetNone, DisableForContextFacetViaMethod, DisableForSessionFacetAbstract, DisableForSessionFacetNone, DisableForSessionFacetViaMethod, HiddenFacetAbstract, HiddenFacetAlways, HiddenFacetAnnotation, HiddenFacetImpl, HiddenFacetNever, HideForContextFacetAbstract, HideForContextFacetNone, HideForContextFacetViaMethod, HideForSessionFacetAbstract, HideForSessionFacetNone, HideForSessionFacetViaMethod, ImmutableFacetAbstract, ImmutableFacetAnnotation, ImmutableFacetImpl, ImmutableFacetMarkerInterface, ImmutableFacetNever, ImmutableFacetViaValueSemantics, MandatoryFacetAbstract, MandatoryFacetDefault, MandatoryFacetOverriddenByMethod, MaskFacetAbstract, MaskFacetAnnotation, MaxLengthFacetAbstract, MaxLengthFacetAnnotation, MaxLengthFacetUnlimited, MustSatisfySpecificationFacet, NotPersistableFacetAbstract, NotPersistableFacetAnnotation, NotPersistableFacetImpl, NotPersistableFacetMarkerInterface, NotPersistableFacetNull, ObjectValidPropertiesFacetAbstract, ObjectValidPropertiesFacetImpl, OptionalFacet, PropertyValidateFacetAbstract, PropertyValidateFacetDefault, PropertyValidateFacetNone, PropertyValidateFacetViaMethod, RegExFacetAbstract, RegExFacetAnnotation, ValidateObjectFacetAbstract, ValidateObjectFacetViaValidateMethod

public interface InteractionAdvisorFacet
extends InteractionAdvisor, Facet

Used by Consent (specifically the main implementations Allow and Veto), with the idea being that the only things that can create Consent objects are Facets.

TODO: note, this is a work-in-progress, because the DnD viewer in particular creates its own Allows and Vetos. The constructors that it uses have been deprecated to flag that the DnD logic should move into Facets that implement this interface.

Author:
Dan Haywood

Field Summary
static InteractionAdvisorFacet NOOP
          For testing purposes only.
 
Method Summary
 
Methods inherited from interface org.nakedobjects.metamodel.facets.Facet
alwaysReplace, facetType, getFacetHolder, getUnderlyingFacet, isDerived, isNoop, setFacetHolder, setUnderlyingFacet
 

Field Detail

NOOP

static final InteractionAdvisorFacet NOOP
For testing purposes only.



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