org.qi4j.library.rest.server.restlet
Interface InteractionConstraints

All Known Implementing Classes:
InteractionConstraintsService

public interface InteractionConstraints

Service interface for checking whether a particular method or a whole class is not valid at this point, for whatever reason (application state or authorization rules usually).


Method Summary
 boolean isValid(java.lang.Class resourceClass, ObjectSelection objectSelection, Module module)
           
 boolean isValid(java.lang.reflect.Method method, ObjectSelection objectSelection, Module module)
           
 

Method Detail

isValid

boolean isValid(java.lang.reflect.Method method,
                ObjectSelection objectSelection,
                Module module)

isValid

boolean isValid(java.lang.Class resourceClass,
                ObjectSelection objectSelection,
                Module module)