Uses of Interface
org.mmbase.storage.search.Constraint

Packages that use Constraint
org.mmbase.applications.vprowizards.spring.action   
org.mmbase.bridge The main interface to MMBase, also known as `MMCI' (MMBase Cloud Interface). 
org.mmbase.bridge.implementation This package provides the basic implementations for the interfaces of org.mmbase.bridge. 
org.mmbase.bridge.jsp.taglib.containers Most tags related to 'container' tags are collected here. 
org.mmbase.bridge.jsp.taglib.typehandler Typehandlers are used by the FieldInfo tag to produce html-code based on type and guitype of the field. 
org.mmbase.bridge.util This package contains several bridge related classes which can be used independently of the rest of MMBase. 
org.mmbase.bridge.util.xml.query Functionality to parse XML to Query objects. 
org.mmbase.cache The goal of this package is to centralize the MMBase caches. 
org.mmbase.calendar   
org.mmbase.datatypes.handlers This is a generalization of what used to be org.mmbase.bridge.jsp.taglib.typehandler. 
org.mmbase.security The security infrastructure of MMBase. 
org.mmbase.storage.search Provides interfaces for retrieval of data from SearchQuery objects. 
org.mmbase.storage.search.implementation   
org.mmbase.storage.search.implementation.database   
org.mmbase.storage.search.implementation.database.functions   
org.mmbase.storage.search.implementation.database.informix.excalibur   
org.mmbase.storage.search.legacy   
 

Uses of Constraint in org.mmbase.applications.vprowizards.spring.action
 

Methods in org.mmbase.applications.vprowizards.spring.action with parameters of type Constraint
protected  void AbstractRelationAction.putValues(Step relationStep, Constraint constraint, Map<String,Object> values)
           
 

Uses of Constraint in org.mmbase.bridge
 

Methods in org.mmbase.bridge that return Constraint
 Constraint Query.getCleanConstraint()
          Gets the 'clean' constraint on this query.
 Constraint Query.setInverse(Constraint c, boolean i)
          Changes the given constraint's 'inverse' (if applicable).
 

Methods in org.mmbase.bridge with parameters of type Constraint
 CompositeConstraint Query.createConstraint(Constraint c1, int op, Constraint c2)
          Combines two Constraints to one new one, using a boolean operator (AND or OR).
 void Query.setConstraint(Constraint c)
          The (composite) constraint can actually be set into the query with this method.
 Constraint Query.setInverse(Constraint c, boolean i)
          Changes the given constraint's 'inverse' (if applicable).
 

Uses of Constraint in org.mmbase.bridge.implementation
 

Fields in org.mmbase.bridge.implementation declared as Constraint
protected  Constraint BasicQuery.insecureConstraint
          If a the constraint was made 'secure', in insecureConstraint the original Constraint is stored.
 

Methods in org.mmbase.bridge.implementation that return Constraint
 Constraint BasicQuery.getCleanConstraint()
           
 Constraint BasicQuery.getConstraint()
           
 Constraint BasicQuery.setInverse(Constraint c, boolean i)
           
 

Methods in org.mmbase.bridge.implementation with parameters of type Constraint
 CompositeConstraint BasicQuery.createConstraint(Constraint c1, int operator, Constraint c2)
           
 void BasicQuery.setConstraint(Constraint c)
           
 Constraint BasicQuery.setInverse(Constraint c, boolean i)
           
(package private)  boolean BasicCloud.setSecurityConstraint(Constraint c)
           
 

Uses of Constraint in org.mmbase.bridge.jsp.taglib.containers
 

Fields in org.mmbase.bridge.jsp.taglib.containers declared as Constraint
protected  Constraint QueryAddConstraintTag.constraint
           
 

Methods in org.mmbase.bridge.jsp.taglib.containers with parameters of type Constraint
 void QueryCompositeConstraintTag.addChildConstraint(Constraint cons)
           
 void QueryAddConstraintTag.setConstraint(Constraint c)
           
 

Uses of Constraint in org.mmbase.bridge.jsp.taglib.typehandler
 

Methods in org.mmbase.bridge.jsp.taglib.typehandler that return Constraint
 Constraint TypeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint StringHandler.whereHtmlInput(Field field, Query query)
           
 Constraint NodeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint IntegerHandler.whereHtmlInput(Field field, Query query)
           
 Constraint EnumHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DurationHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DateHandler.whereHtmlInput(Field field, Query query)
           
 Constraint DataTypeHandler.whereHtmlInput(Field field, Query query)
           
 Constraint BooleanHandler.whereHtmlInput(Field field, Query query)
           
 Constraint AbstractTypeHandler.whereHtmlInput(Field field, Query query)
          Adds search constraint to Query object.
 

Uses of Constraint in org.mmbase.bridge.util
 

Fields in org.mmbase.bridge.util declared as Constraint
protected  Constraint GrowingTreeList.cleanConstraint
           
protected  Constraint GrowingTreeList.cleanLeafConstraint
           
(package private)  Constraint TreeList.Branch.leafConstraint
           
 

Methods in org.mmbase.bridge.util that return Constraint
static Constraint Queries.addConstraint(Query query, Constraint newConstraint)
          Adds a Constraint to the already present constraint (with AND).
static Constraint Queries.addConstraints(Query query, String constraints)
          Adds a 'legacy' constraint to the query, i.e.
static Constraint SearchUtil.addORConstraint(Query query, Constraint first, Constraint second)
          Create a OR composite constraint for the query
static Constraint Queries.copyConstraint(Constraint c, Step sourceStep, Query query, Step step)
          Takes a Constraint of a query, and takes al constraints on 'sourceStep' of it, and copies those Constraints to the given step of the receiving query.
static Constraint Queries.createAgeConstraint(NodeQuery q, int minAge, int maxAge)
          As Queries.createAgeConstraint(Query, Step, int int, int), but NodeQuery's have an exceptional step, which can be taken as the default.
static Constraint Queries.createAgeConstraint(Query query, Step step, int minAge, int maxAge)
          Create a constraint for the query which limits to results to nodes of a certain age, based on its number and the 'daymarkers' table.
static Constraint SearchUtil.createANDConstraint(Query query, Constraint first, Constraint second)
          Create a AND composite constraint for the query
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object value)
          Defaulting version of Queries.createConstraint(Query, String, int, Object, Object, boolean, int).
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object value, Object value2, boolean caseSensitive)
          Defaulting version of Queries.createConstraint(Query, String, int, Object, Object, boolean, int).
static Constraint Queries.createConstraint(Query query, String fieldName, int operator, Object originalValue, Object value2, boolean caseSensitive, int datePart)
          Creates a constraint smartly, depending on the type of the field, the value is cast to the right type, and the right type of constraint is created.
static Constraint Queries.createMakeEmptyConstraint(Query q)
          Creates a constraint that would make the result of the query q empty.
 Constraint AbstractQueryWrapper.getCleanConstraint()
           
 Constraint AbstractQueryWrapper.getConstraint()
           
 Constraint AbstractQueryWrapper.setInverse(Constraint c, boolean i)
           
 

Methods in org.mmbase.bridge.util with parameters of type Constraint
static void SearchUtil.addConstraint(Query query, Constraint constraint)
          Add a constraint to the query.
static Constraint Queries.addConstraint(Query query, Constraint newConstraint)
          Adds a Constraint to the already present constraint (with AND).
static void SearchUtil.addConstraint(Query query, Constraint constraint, int operator)
          Add a constraint to the query.
static void SearchUtil.addORConstraint(Query query, Constraint constraint)
          Add a constraint to the query.
static Constraint SearchUtil.addORConstraint(Query query, Constraint first, Constraint second)
          Create a OR composite constraint for the query
static Constraint Queries.copyConstraint(Constraint c, Step sourceStep, Query query, Step step)
          Takes a Constraint of a query, and takes al constraints on 'sourceStep' of it, and copies those Constraints to the given step of the receiving query.
static Constraint SearchUtil.createANDConstraint(Query query, Constraint first, Constraint second)
          Create a AND composite constraint for the query
 CompositeConstraint AbstractQueryWrapper.createConstraint(Constraint c1, int op, Constraint c2)
           
static CompositeConstraint SearchUtil.createLogicalConstraint(Query query, Constraint first, Constraint second, int operator)
          Create a composite constraint for the query
static List<FieldConstraint> Queries.getConstraints(Constraint constraint, Step step)
           
static boolean Queries.removeConstraint(Query q, Constraint cons)
           
 void AbstractQueryWrapper.setConstraint(Constraint c)
           
 Constraint AbstractQueryWrapper.setInverse(Constraint c, boolean i)
           
 void TreeList.setLeafConstraint(Constraint constraint)
          Sets a 'leaf constraint' on the last 'growed' step.
 

Uses of Constraint in org.mmbase.bridge.util.xml.query
 

Methods in org.mmbase.bridge.util.xml.query that return Constraint
protected static Constraint QueryReader.getAgeConstraint(Element constraintElement, QueryDefinition queryDefinition)
           
protected static Constraint QueryReader.getAliasConstraint(Element constraintElement, QueryDefinition queryDefinition)
           
protected static Constraint QueryReader.getCompositeConstraint(Element constraintElement, QueryDefinition queryDefinition)
           
protected static Constraint QueryReader.getConstraint(Element constraintElement, QueryDefinition queryDefinition)
           
protected static Constraint QueryReader.getTypeConstraint(Element constraintElement, QueryDefinition queryDefinition)
           
 

Uses of Constraint in org.mmbase.cache
 

Methods in org.mmbase.cache that return types with arguments of type Constraint
protected static List<Constraint> ReleaseStrategy.getConstraintsForField(String fieldName, MMObjectBuilder builder, Constraint constraint, SearchQuery query)
          utility for specializations: get all the constraints in the query that apply to a certain field TODO MM: This method is used like this: if(getConstraintsForField(fieldName, eventBuilder, constraint, query).size() > 0){ return false;} IOW, only the size of the return list is used, and then even whether it is 0 or not.
 

Methods in org.mmbase.cache with parameters of type Constraint
protected static ConstraintsMatchingStrategy.AbstractConstraintMatcher ConstraintsMatchingStrategy.findMatcherForConstraint(Constraint constraint)
          This method will find a constraint matcher that supports the given constraint, and will return the UnsupportedConstraintMatcher if none is found.
protected static List<Constraint> ReleaseStrategy.getConstraintsForField(String fieldName, MMObjectBuilder builder, Constraint constraint, SearchQuery query)
          utility for specializations: get all the constraints in the query that apply to a certain field TODO MM: This method is used like this: if(getConstraintsForField(fieldName, eventBuilder, constraint, query).size() > 0){ return false;} IOW, only the size of the return list is used, and then even whether it is 0 or not.
 

Uses of Constraint in org.mmbase.calendar
 

Methods in org.mmbase.calendar with parameters of type Constraint
protected static BasicFieldValueConstraint ItemsController.getDate(NodeQuery q, Constraint constraint, String field)
           
 

Uses of Constraint in org.mmbase.datatypes.handlers
 

Methods in org.mmbase.datatypes.handlers that return Constraint
 Constraint Handler.search(Request request, Field field, Query query)
          Uses the user's input to create a constraint for the given query
 Constraint AbstractHandler.search(Request request, Field field, Query query)
           
 

Uses of Constraint in org.mmbase.security
 

Fields in org.mmbase.security declared as Constraint
(package private)  Constraint Authorization.QueryCheck.constraint
           
 

Methods in org.mmbase.security that return Constraint
 Constraint Authorization.QueryCheck.getConstraint()
          The stored constraint.
 

Constructors in org.mmbase.security with parameters of type Constraint
Authorization.QueryCheck(boolean ch, Constraint co)
           
 

Uses of Constraint in org.mmbase.storage.search
 

Subinterfaces of Constraint in org.mmbase.storage.search
 interface CompareFieldsConstraint
          A constraint that compares the value of two stepfields.
 interface CompositeConstraint
          A constraint combining several child constraints, using either logical AND or OR.
 interface FieldCompareConstraint
          A constraint that compares a stepfield value with another value.
 interface FieldConstraint
          A constraint on a stepfield.
 interface FieldNullConstraint
          A constraint that tests if a stepfield value is null.
 interface FieldValueBetweenConstraint
          A constraint that restricts the value of a stepfield to be in a specified range of values (numerical or string).
 interface FieldValueConstraint
          A constraint that compares a stepfield value with a fixed value.
 interface FieldValueDateConstraint
           
 interface FieldValueInConstraint
          A constraint that restricts the value of a stepfield to be in a specified list of values.
 interface FieldValueInQueryConstraint
          A constraint that restricts the value of a stepfield to be in a specfied selection.
 interface FunctionValueConstraint
          This class can solve the following.
 interface LegacyConstraint
          Constraint represented by a string, as it appears in the where-clause of an SQL query.
 interface StringSearchConstraint
          A constraint specifically for advanced types of text searches.
 

Methods in org.mmbase.storage.search that return Constraint
 Constraint SearchQuery.getConstraint()
          Gets the constraints on the search results.
 

Methods in org.mmbase.storage.search that return types with arguments of type Constraint
 List<Constraint> CompositeConstraint.getChilds()
          Gets the child constraints.
 

Methods in org.mmbase.storage.search with parameters of type Constraint
 int SearchQueryHandler.getSupportLevel(Constraint constraint, SearchQuery query)
          Gets the level at which a constraint is supported for a query by this handler.
 

Uses of Constraint in org.mmbase.storage.search.implementation
 

Classes in org.mmbase.storage.search.implementation that implement Constraint
 class BasicCompareFieldsConstraint
          Basic implementation.
 class BasicCompositeConstraint
          Basic implementation.
 class BasicConstraint
          Basic implementation.
 class BasicFieldCompareConstraint
          Basic implementation.
 class BasicFieldConstraint
          Basic implementation.
 class BasicFieldNullConstraint
          Basic implementation.
 class BasicFieldValueBetweenConstraint
          Basic implementation.
 class BasicFieldValueConstraint
          Basic implementation.
 class BasicFieldValueDateConstraint
          A constraint on a 'part' of a DateTime field.
 class BasicFieldValueInConstraint
          Basic implementation.
 class BasicFieldValueInQueryConstraint
          Basic implementation.
 class BasicFunctionValueConstraint
           
 class BasicLegacyConstraint
          Basic implementation.
 class BasicStringSearchConstraint
          Basic implementation.
 

Methods in org.mmbase.storage.search.implementation that return Constraint
protected static Constraint BasicSearchQuery.copyConstraint(SearchQuery q, Constraint c)
          Used by copy-constructor.
 Constraint ModifiableQuery.getConstraint()
           
 Constraint BasicSearchQuery.getConstraint()
           
 

Methods in org.mmbase.storage.search.implementation that return types with arguments of type Constraint
 List<Constraint> BasicCompositeConstraint.getChilds()
           
 

Methods in org.mmbase.storage.search.implementation with parameters of type Constraint
 BasicCompositeConstraint BasicCompositeConstraint.addChild(Constraint child)
          Adds new child constraint.
protected static Constraint BasicSearchQuery.copyConstraint(SearchQuery q, Constraint c)
          Used by copy-constructor.
 BasicCompositeConstraint BasicCompositeConstraint.removeChild(Constraint child)
           
 ModifiableQuery ModifiableQuery.setConstraint(Constraint constraint)
          Sets the constraint property.
 void BasicSearchQuery.setConstraint(Constraint constraint)
          Sets constraint.
 

Constructors in org.mmbase.storage.search.implementation with parameters of type Constraint
BasicCompositeConstraint(int logicalOperator, Constraint... childs)
          Constructor.
 

Uses of Constraint in org.mmbase.storage.search.implementation.database
 

Methods in org.mmbase.storage.search.implementation.database with parameters of type Constraint
 void SqlHandler.appendConstraintToSql(StringBuilder sb, Constraint constraint, SearchQuery query, boolean inverse, boolean inComposite)
          Represents Constraint object, that is not a CompositeConstraint, as a constraint in SQL format, appending the result to a stringbuffer.
 void ChainedSqlHandler.appendConstraintToSql(StringBuilder sb, Constraint constraint, SearchQuery query, boolean inverse, boolean inComposite)
           
 void BasicSqlHandler.appendConstraintToSql(StringBuilder sb, Constraint constraint, SearchQuery query, boolean inverse, boolean inComposite)
           
 int SqlHandler.getSupportLevel(Constraint constraint, SearchQuery query)
          Gets the level at which a constraint is supported for a query by this handler.
 int ChainedSqlHandler.getSupportLevel(Constraint constraint, SearchQuery query)
           
 int BasicSqlHandler.getSupportLevel(Constraint constraint, SearchQuery query)
           
 int BasicQueryHandler.getSupportLevel(Constraint constraint, SearchQuery query)
           
 

Uses of Constraint in org.mmbase.storage.search.implementation.database.functions
 

Methods in org.mmbase.storage.search.implementation.database.functions with parameters of type Constraint
 void FunctionSqlHandler.appendConstraintToSql(StringBuilder sb, Constraint constraint, SearchQuery query, boolean inverse, boolean inComposite)
           
 

Uses of Constraint in org.mmbase.storage.search.implementation.database.informix.excalibur
 

Methods in org.mmbase.storage.search.implementation.database.informix.excalibur with parameters of type Constraint
 void EtxSqlHandler.appendConstraintToSql(StringBuilder sb, Constraint constraint, SearchQuery query, boolean inverse, boolean inComposite)
           
protected  boolean EtxSqlHandler.containsOtherStringSearchConstraints(Constraint constraint, StringSearchConstraint searchConstraint)
          Tests if a constaint is/contains another stringsearch constraint than the specified one.
 int EtxSqlHandler.getSupportLevel(Constraint constraint, SearchQuery query)
           
 

Uses of Constraint in org.mmbase.storage.search.legacy
 

Methods in org.mmbase.storage.search.legacy that return Constraint
(package private)  Constraint DBQuery.toConstraint(BasicSearchQuery query)
          Converts this query to a constraint for a search query.
 Constraint ConstraintParser.toConstraint(String sqlConstraint)
          Parses SQL-search-condition, and produces a corresponding Constraint object.
 



MMBase 2.0-SNAPSHOT - null