All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.nakedobjects.metamodel.facets.disable.DisableForSessionFacet Maven / Gradle / Ivy

The newest version!
package org.nakedobjects.metamodel.facets.disable;

import org.nakedobjects.metamodel.authentication.AuthenticationSession;
import org.nakedobjects.metamodel.facets.Facet;
import org.nakedobjects.metamodel.interactions.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. */ public interface DisableForSessionFacet extends Facet, DisablingInteractionAdvisor { /** * The reason this is disabled, or null if not. */ public String disabledReason(AuthenticationSession session); } // Copyright (c) Naked Objects Group Ltd.





© 2015 - 2024 Weber Informatics LLC | Privacy Policy