|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4DBFilterOr_Intf
| Method Summary | |
|---|---|
E4DBFilterAnd_Intf |
AND()
Create an AND-where element, linked to this OR-ed where. |
java.lang.String |
getWhere()
|
void |
isEmpty(E4DBColumnName fieldname)
Set a filter on a column that must either be empty or null |
void |
isNotEmpty(E4DBColumnName fieldname)
Set an E4DBFilterAnd filter on a column that must not be empty and not null
(... |
void |
isNotNull(E4DBColumnName fieldname)
Set a filter on a column that must not be null |
void |
isNull(E4DBColumnName fieldname)
Set a filter on a column that must be null |
void |
setFilter_NOT(E4DBColumnName fieldname,
long[] filter)
Creates a filter using the SQL NOT-IN statement. |
void |
setFilter_NOT(E4DBColumnName fieldname,
java.lang.String[] filter)
Creates a filter using the SQL NOT-IN statement. |
void |
setFilter(E4DBColumnName fieldname,
boolean filter)
|
void |
setFilter(E4DBColumnName fieldname,
E4Long filter)
|
void |
setFilter(E4DBColumnName fieldname,
E4String filter)
|
void |
setFilter(E4DBColumnName fieldname,
E4String[] filter)
Creates a filter using the SQL IN statement. |
void |
setFilter(E4DBColumnName fieldname,
float filter)
|
void |
setFilter(E4DBColumnName fieldname,
int filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
boolean filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
java.util.Date filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
E4DBColumnName compareTo)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
E4Long filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
E4String filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
E4String filter,
boolean quote)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
float filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
int filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
long filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
java.lang.String filter)
|
void |
setFilter(E4DBColumnName fieldname,
int comp_operator,
java.lang.String filter,
boolean quote)
|
void |
setFilter(E4DBColumnName fieldname,
long filter)
|
void |
setFilter(E4DBColumnName fieldname,
long[] filter)
Creates a filter using the SQL IN statement. |
void |
setFilter(E4DBColumnName fieldname,
java.lang.String filter)
|
void |
setFilter(E4DBColumnName fieldname,
java.lang.String[] filter)
Creates a filter using the SQL IN statement. |
| Methods inherited from interface e4s.db.E4DBFilter_Intf |
|---|
isWhereDefined, resetWhere |
| Method Detail |
|---|
void isNull(E4DBColumnName fieldname)
throws E4DBException
fieldname - the column to filter
E4DBExceptionisNotNull(e4s.db.E4DBColumnName),
isEmpty(e4s.db.E4DBColumnName)
void isNotNull(E4DBColumnName fieldname)
throws E4DBException
fieldname - the column to filter
E4DBExceptionisNull(e4s.db.E4DBColumnName),
isNotEmpty(e4s.db.E4DBColumnName)
void isEmpty(E4DBColumnName fieldname)
throws E4DBException
fieldname - the column to filter
E4DBExceptionisNull(e4s.db.E4DBColumnName),
isNotEmpty(e4s.db.E4DBColumnName)
void isNotEmpty(E4DBColumnName fieldname)
throws E4DBException
E4DBFilterAnd filter on a column that must not be empty and not null
(... WHERE (x IS NOT NULL AND x != '')...).
fieldname - the column to filter
E4DBExceptionisNull(e4s.db.E4DBColumnName),
isNotEmpty(e4s.db.E4DBColumnName)E4DBFilterAnd_Intf AND()
e.g.E4DBSelectrecord = newE4DBSelect(newe4s.db.TableName("mytable")); record.setFilter("A",1);E4DBFilterOror = record.OR(); or.setFilter("B",2);E4DBFilterAndand = or.AND(); and.setFilter("C",3); and.setFilter("D",4); results in SELECT * FROM mytable WHERE A=1 OR (B=2 OR (C=3 AND D=4))
void setFilter(E4DBColumnName fieldname,
java.lang.String filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
E4String filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
long filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
float filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
E4Long filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
java.lang.String filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
java.lang.String filter,
boolean quote)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
E4String filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
E4String filter,
boolean quote)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
long filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
float filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
E4Long filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
int filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
boolean filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
boolean filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
java.util.Date filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
int comp_operator,
E4DBColumnName compareTo)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldname,
long[] filter)
throws E4DBException
fieldname - the name of the columnfilter - an array of values
E4DBException
void setFilter(E4DBColumnName fieldname,
java.lang.String[] filter)
throws E4DBException
fieldname - the name of the columnfilter - an array of values
E4DBException
void setFilter(E4DBColumnName fieldname,
E4String[] filter)
throws E4DBException
fieldname - the name of the columnfilter - an array of values
E4DBException
void setFilter_NOT(E4DBColumnName fieldname,
long[] filter)
throws E4DBException
fieldname - the name of the columnfilter - an array of values
E4DBException
void setFilter_NOT(E4DBColumnName fieldname,
java.lang.String[] filter)
throws E4DBException
fieldname - the name of the columnfilter - an array of values
E4DBExceptionjava.lang.String getWhere()
getWhere in interface E4DBFilter_Intf
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||