com.plumtree.xpshared.htmlconstructs
Class PTQueryCondition

java.lang.Object
  extended by com.plumtree.xpshared.htmlconstructs.PTQueryCondition

public class PTQueryCondition
extends java.lang.Object

Author:
sample This class generates html necessary to construct a single query condition against the array of properties passed in

Field Summary
static int PT_FILTEROP_CONTAINS
           
static int PT_FILTEROP_DOESNOTCONTAIN
           
static int PT_FILTEROP_EQ
           
static int PT_FILTEROP_EQ_NOCASE
           
static int PT_FILTEROP_GT
           
static int PT_FILTEROP_GTE
           
static int PT_FILTEROP_IN
           
static int PT_FILTEROP_ISEMPTY
           
static int PT_FILTEROP_ISNOTEMPTY
           
static int PT_FILTEROP_LT
           
static int PT_FILTEROP_LTE
           
static int PT_FILTEROP_NE
           
static int PT_FILTEROP_NUMERIC_EQ
           
static int PT_FILTEROP_NUMERIC_NOTEQ
           
static int TYPE_DATE
           
static int TYPE_DOUBLE
           
static int TYPE_LONG
           
static int TYPE_REF
           
static int TYPE_STRING
           
 
Constructor Summary
PTQueryCondition()
           
 
Method Summary
 void addProperty(java.lang.String strName, int nID, int nObjectType)
           
 PTQueryCondition CreateDuplicate()
           
 HTMLElement GetTableRow(java.lang.String strTag, java.lang.String strStatementID)
           
 void makeInVisible()
           
 void makeVisible()
          the object type passed in as the second argument to this method should correspond to one of the types defined at the top of this file
 void setSelected(int nID, int nOperator, java.lang.String strValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_LONG

public static final int TYPE_LONG
See Also:
Constant Field Values

TYPE_DOUBLE

public static final int TYPE_DOUBLE
See Also:
Constant Field Values

TYPE_DATE

public static final int TYPE_DATE
See Also:
Constant Field Values

TYPE_STRING

public static final int TYPE_STRING
See Also:
Constant Field Values

TYPE_REF

public static final int TYPE_REF
See Also:
Constant Field Values

PT_FILTEROP_EQ

public static final int PT_FILTEROP_EQ
See Also:
Constant Field Values

PT_FILTEROP_EQ_NOCASE

public static final int PT_FILTEROP_EQ_NOCASE
See Also:
Constant Field Values

PT_FILTEROP_NE

public static final int PT_FILTEROP_NE
See Also:
Constant Field Values

PT_FILTEROP_LT

public static final int PT_FILTEROP_LT
See Also:
Constant Field Values

PT_FILTEROP_GT

public static final int PT_FILTEROP_GT
See Also:
Constant Field Values

PT_FILTEROP_LTE

public static final int PT_FILTEROP_LTE
See Also:
Constant Field Values

PT_FILTEROP_GTE

public static final int PT_FILTEROP_GTE
See Also:
Constant Field Values

PT_FILTEROP_CONTAINS

public static final int PT_FILTEROP_CONTAINS
See Also:
Constant Field Values

PT_FILTEROP_DOESNOTCONTAIN

public static final int PT_FILTEROP_DOESNOTCONTAIN
See Also:
Constant Field Values

PT_FILTEROP_ISEMPTY

public static final int PT_FILTEROP_ISEMPTY
See Also:
Constant Field Values

PT_FILTEROP_ISNOTEMPTY

public static final int PT_FILTEROP_ISNOTEMPTY
See Also:
Constant Field Values

PT_FILTEROP_IN

public static final int PT_FILTEROP_IN
See Also:
Constant Field Values

PT_FILTEROP_NUMERIC_EQ

public static final int PT_FILTEROP_NUMERIC_EQ
See Also:
Constant Field Values

PT_FILTEROP_NUMERIC_NOTEQ

public static final int PT_FILTEROP_NUMERIC_NOTEQ
See Also:
Constant Field Values
Constructor Detail

PTQueryCondition

public PTQueryCondition()
Method Detail

setSelected

public void setSelected(int nID,
                        int nOperator,
                        java.lang.String strValue)
Parameters:
ID -
operator -
strValue -

CreateDuplicate

public PTQueryCondition CreateDuplicate()
Returns:

GetTableRow

public HTMLElement GetTableRow(java.lang.String strTag,
                               java.lang.String strStatementID)
Parameters:
strTag -
strStatementID -
Returns:
Throws:
XPException

addProperty

public void addProperty(java.lang.String strName,
                        int nID,
                        int nObjectType)
Parameters:
strName -
ID -
ObjectType -

makeInVisible

public void makeInVisible()

makeVisible

public void makeVisible()
the object type passed in as the second argument to this method should correspond to one of the types defined at the top of this file




Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.