Compiere 3.1

org.compiere.common
Class QueryVO

java.lang.Object
  extended by org.compiere.common.QueryVO
All Implemented Interfaces:
Serializable

public class QueryVO
extends Object
implements Serializable

Query VO. If savedQueryName is passed the query is looked up If savedQueryName & saveQuery & restrictions are passed, the query will be saved for that tab

Version:
$Id$
Author:
Jorg Janke
See Also:
Serialized Form

Field Summary
 boolean onlyCurrentCreated
          onlyCurrentDays using created or updated (default)
 int onlyCurrentDays
          Records with Number of current days
 ArrayList<QueryRestrictionVO> restrictions
          Query Restrictions
 String savedQueryName
          Name of the saved query
 boolean saveQuery
          Code of the saved query
 String textQuery
           
 boolean textSearch
           
 
Constructor Summary
QueryVO()
           
 
Method Summary
 void addRestriction(QueryRestrictionVO qVO)
           
 void addRestrictions(QueryVO p_queryVO)
           
 boolean equals(QueryVO v)
           
 Object[] getParams()
           
 StringBuffer getWhereClause()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

savedQueryName

public String savedQueryName
Name of the saved query


saveQuery

public boolean saveQuery
Code of the saved query


textSearch

public boolean textSearch

textQuery

public String textQuery

restrictions

public ArrayList<QueryRestrictionVO> restrictions
Query Restrictions


onlyCurrentDays

public int onlyCurrentDays
Records with Number of current days


onlyCurrentCreated

public boolean onlyCurrentCreated
onlyCurrentDays using created or updated (default)

Constructor Detail

QueryVO

public QueryVO()
Method Detail

equals

public boolean equals(QueryVO v)

addRestrictions

public void addRestrictions(QueryVO p_queryVO)

addRestriction

public void addRestriction(QueryRestrictionVO qVO)

getWhereClause

public StringBuffer getWhereClause()

getParams

public Object[] getParams()

Compiere 3.1

Compiere® is a registered trademark of ComPiere, Inc. ©2004-2008 HumanFlash.com All rights reserved.