org.mmbase.security
Class Authorization.QueryCheck

java.lang.Object
  extended by org.mmbase.security.Authorization.QueryCheck
All Implemented Interfaces:
Serializable
Enclosing class:
Authorization

public static class Authorization.QueryCheck
extends Object
implements Serializable

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
See Also:
Serialized Form

Field Summary
(package private)  boolean check
           
(package private)  Constraint constraint
           
 
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.
 String toString()
           Used for debugging.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

constraint

final Constraint constraint

check

final boolean check
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).


toString

public String toString()
Used for debugging.

Overrides:
toString in class Object
Since:
MMBase-1.8


MMBase 2.0-SNAPSHOT - null