org.mmbase.security
Class Authorization.QueryCheck

java.lang.Object
  extended byorg.mmbase.security.Authorization.QueryCheck
Enclosing class:
Authorization

public static class Authorization.QueryCheck
extends java.lang.Object

Defines the result of a security check on a query. Such a result has two members: A 'Constraint' which has to be added to the query and a boolean which sais if the query (with the given Constraint) has now been fully checked and that it's result does not need further postprocessing.

Since:
MMBase-1.7

Constructor Summary
Authorization.QueryCheck(boolean ch, Constraint co)
           
 
Method Summary
 Constraint getConstraint()
          The stored constraint.
 boolean isChecked()
          Whether the contained result completely checks for security.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authorization.QueryCheck

public Authorization.QueryCheck(boolean ch,
                                Constraint co)
Method Detail

isChecked

public boolean isChecked()
Whether the contained result completely checks for security.


getConstraint

public Constraint getConstraint()
The stored constraint. This can be null if no constraint was needed (if checked), or no helpfull constraint could be constructed (if not checked).



MMBase build 1.7.1.20041002