|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecte4s.util.E4Object
e4s.db.E4DBFilter
e4s.db.E4DBFilterAnd
e4s.db.E4DBSelect
e4s.db.freefield.E4DBSelectFreefields
public abstract class E4DBSelectFreefields
| Field Summary | |
|---|---|
static int |
XML_EXPORT_FREEFIELD_NONE
|
static int |
XML_EXPORT_FREEFIELD_ROW
|
static int |
XML_EXPORT_FREEFIELD_TABLE
|
| Fields inherited from class e4s.db.E4DBSelect |
|---|
COLUMN_NAME_COUNT, COLUMN_NAME_SUM, DB_DATEFORMAT, DB_DATEPICTURE, ms_isunicode, NULL |
| Fields inherited from class e4s.db.E4DBFilter |
|---|
COMP_EMPTY, COMP_EQUALS, COMP_GREATER, COMP_GREATER_EQUAL, COMP_IN, COMP_IS_NOT_NULL, COMP_IS_NULL, COMP_LESS, COMP_LESS_EQUAL, COMP_LIKE, COMP_NOT_EMPTY, COMP_NOT_EQUALS, COMP_NOT_IN, COMP_NOT_LIKE |
| Fields inherited from class e4s.util.E4Object |
|---|
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET |
| Constructor Summary | |
|---|---|
E4DBSelectFreefields(E4DBConnection_Intf con,
E4DBTableName tableName)
Construct an object for selecting data from a table, using the specified database connection. |
|
E4DBSelectFreefields(E4DBConnection_Intf con,
E4DBTableName tableName,
E4ApplObj_Intf applobj)
Construct an object for selecting data from a table, using the specified database connection, the table uses client distinction. |
|
E4DBSelectFreefields(E4DBSelect_Intf select,
boolean copy_where)
|
|
E4DBSelectFreefields(E4DBSelect select,
boolean copy_where)
|
|
E4DBSelectFreefields(E4DBTableName tableName)
Construct an object for selecting data from a table, using the default database connection. |
|
E4DBSelectFreefields(E4DBTableName tableName,
E4ApplObj_Intf applobj)
Construct an object for selecting data from a table, using the default database connection, the table uses client distinction. |
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
static void |
copyFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBConnection_Intf con,
E4DBTableName from,
E4DBTableName to)
Copies the freefield definitions from one table to another. |
static void |
copyFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBTableName from,
E4DBTableName to)
Copies the freefield definitions from one table to another. |
protected E4DBFreeFieldName[] |
data2csvHeaderFreefields(E4PrintStream out)
|
protected E4DBFreeFieldName[] |
data2xmlHeaderFreefields(E4PrintStream out)
|
boolean |
getFreeval_Bool(E4DBFreeFieldName fieldname)
Get freedefined value associated with the specified fieldname and the current recordset by the underlaying E4DBSelect_Intf object containing a unique index to identify the
record. |
java.util.Date |
getFreeval_Date(E4DBFreeFieldName fieldname)
Get freedefined value associated with the specified fieldname and the current recordset by the underlaying E4DBSelect_Intf object containing a unique index to identify the
record. |
float |
getFreeval_Float(E4DBFreeFieldName fieldname)
Get freedefined value associated with the specified fieldname and the current recordset by the underlaying E4DBSelect_Intf object containing a unique index to identify the
record. |
long |
getFreeval_Long(E4DBFreeFieldName fieldname)
Get freedefined value associated with the specified fieldname and the current recordset by the underlaying E4DBSelect_Intf object containing a unique index to identify the
record. |
abstract java.lang.String |
getFreeval(E4DBFreeFieldName fieldname)
Get freedefined value associated with the specified fieldname and the current recordset by the underlaying E4DBSelect_Intf object containing a unique index to identify the
record. |
T_E4S_FREEFIELD_DEF_Obj[] |
getFreevalDefinitions()
Get the definitions of the free fields. |
static T_E4S_FREEFIELD_DEF_Obj[] |
getFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBTableName tablename)
Get the definitions of the free fields. |
T_E4S_FREEFIELD_DEF_Obj[] |
getFreevalDefinitions(E4DBConnection_Intf con)
Get the definitions of the free fields. |
static T_E4S_FREEFIELD_DEF_Obj[] |
getFreevalDefinitions(E4DBConnection_Intf con,
E4ApplObj_Intf applobj,
E4DBTableName tablename)
Get the definitions of the free fields. |
E4DBFreeValue[] |
getFreeValues()
Get the defined fields and values, include empty values. |
E4DBFreeValue[] |
getFreeValues(boolean include_empty)
Get the defined fields and values. |
E4DBFreeValue[] |
getFreeValues(E4DBConnection_Intf con,
boolean include_empty)
Get the defined fields and values. |
static boolean |
hasFreeField(E4ApplObj_Intf applobj,
E4DBTableName tablename,
E4DBFreeFieldName freefieldname)
Test, if a free-field is included in the definitions. |
static boolean |
hasFreeField(E4DBConnection_Intf con,
E4ApplObj_Intf applobj,
E4DBTableName tablename,
E4DBFreeFieldName freefieldname)
Test, if a free-field is included in the definitions. |
boolean |
hasFreeField(E4DBFreeFieldName freefieldname)
Test, if a free-field is included in the definitions. |
protected void |
toSqlFreefieldValues(E4PrintStream out,
E4DBFreeFieldName[] freefields)
|
protected void |
toXmlFreefieldValues(E4PrintStream out,
E4DBFreeFieldName[] freefields)
|
| Methods inherited from class e4s.db.E4DBFilterAnd |
|---|
getWhere, isEmpty, isNotEmpty, isNotNull, isNull, OR, setFilter_NOT, setFilter_NOT, setFilter_NOT, setFilter_NOT, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter |
| Methods inherited from class e4s.db.E4DBFilter |
|---|
Escape, Escape, getApplObj, getClient, getSession, getWhere, isWhereDefined, OP, resetWhere, setFilter_IN, setFilter_IN, setFilter_IN, setFilter_IN, setFilter_IN, setFilter_NOT_IN, setFilter_NOT_IN, setFilter_NOT_IN, setFilter_NOT_IN, setFilter_NOT_IN, setFilter, setFilter, setWhere, toString |
| Methods inherited from class e4s.util.E4Object |
|---|
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface e4s.db.E4DBFilter_Intf |
|---|
isWhereDefined, resetWhere |
| Field Detail |
|---|
public static final int XML_EXPORT_FREEFIELD_NONE
public static final int XML_EXPORT_FREEFIELD_ROW
public static final int XML_EXPORT_FREEFIELD_TABLE
| Constructor Detail |
|---|
public E4DBSelectFreefields(E4DBTableName tableName)
throws E4DBException
tableName - the name of a database table
E4DBException
public E4DBSelectFreefields(E4DBSelect select,
boolean copy_where)
throws E4DBException
E4DBException
public E4DBSelectFreefields(E4DBSelect_Intf select,
boolean copy_where)
throws E4DBException
E4DBException
public E4DBSelectFreefields(E4DBConnection_Intf con,
E4DBTableName tableName)
con - the connectiontableName - the name of a database table
public E4DBSelectFreefields(E4DBTableName tableName,
E4ApplObj_Intf applobj)
throws E4DBException
tableName - the name of a database tableapplobj - an application object, containing client and other information
E4DBExceptionE4ModuleImplementation.getApplObj(),
E4ServletImplementation_Intf.getApplObj()
public E4DBSelectFreefields(E4DBConnection_Intf con,
E4DBTableName tableName,
E4ApplObj_Intf applobj)
con - the connectiontableName - the name of a database tableapplobj - an application object, containing client and other informationE4ModuleImplementation.getApplObj(),
E4ServletImplementation_Intf.getApplObj()| Method Detail |
|---|
public abstract java.lang.String getFreeval(E4DBFreeFieldName fieldname)
throws E4DBException
E4DBSelect_Intf object containing a unique index to identify the
record.
fieldname - the name of the freefield.
E4DBExceptiongetFreeval_Bool(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Long(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Float(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Date(e4s.db.freefield.E4DBFreeFieldName)
public boolean getFreeval_Bool(E4DBFreeFieldName fieldname)
throws E4DBException
E4DBSelect_Intf object containing a unique index to identify the
record.
fieldname - the name of the freefield.
E4DBExceptiongetFreeval(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Long(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Float(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Date(e4s.db.freefield.E4DBFreeFieldName)
public long getFreeval_Long(E4DBFreeFieldName fieldname)
throws E4DBException
E4DBSelect_Intf object containing a unique index to identify the
record.
fieldname - the name of the freefield.
E4DBExceptiongetFreeval_Bool(e4s.db.freefield.E4DBFreeFieldName),
getFreeval(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Float(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Date(e4s.db.freefield.E4DBFreeFieldName)
public float getFreeval_Float(E4DBFreeFieldName fieldname)
throws E4DBException
E4DBSelect_Intf object containing a unique index to identify the
record.
fieldname - the name of the freefield.
E4DBExceptiongetFreeval_Bool(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Long(e4s.db.freefield.E4DBFreeFieldName),
getFreeval(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Date(e4s.db.freefield.E4DBFreeFieldName)
public java.util.Date getFreeval_Date(E4DBFreeFieldName fieldname)
throws E4DBException
E4DBSelect_Intf object containing a unique index to identify the
record.
fieldname - the name of the freefield.
E4DBExceptiongetFreeval_Bool(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Long(e4s.db.freefield.E4DBFreeFieldName),
getFreeval_Float(e4s.db.freefield.E4DBFreeFieldName),
getFreeval(e4s.db.freefield.E4DBFreeFieldName)
public static T_E4S_FREEFIELD_DEF_Obj[] getFreevalDefinitions(E4DBConnection_Intf con,
E4ApplObj_Intf applobj,
E4DBTableName tablename)
throws E4DBException
applobj - the application objecttablename - the requested table
E4DBExceptiongetFreevalDefinitions(),
E4DBModifyFreefields.getFreevalInputfields(e4s.application.E4ApplObj_Intf,e4s.db.E4DBTableName)
public static T_E4S_FREEFIELD_DEF_Obj[] getFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBTableName tablename)
throws E4DBException
applobj - the application objecttablename - the requested table
E4DBExceptiongetFreevalDefinitions(),
E4DBModifyFreefields.getFreevalInputfields(e4s.application.E4ApplObj_Intf,e4s.db.E4DBTableName)
public T_E4S_FREEFIELD_DEF_Obj[] getFreevalDefinitions(E4DBConnection_Intf con)
throws E4DBException
E4DBExceptionE4DBModifyFreefields.getFreevalInputfields(),
getFreevalDefinitions(e4s.application.E4ApplObj_Intf,e4s.db.E4DBTableName)
public T_E4S_FREEFIELD_DEF_Obj[] getFreevalDefinitions()
throws E4DBException
E4DBExceptionE4DBModifyFreefields.getFreevalInputfields(),
getFreevalDefinitions(e4s.application.E4ApplObj_Intf,e4s.db.E4DBTableName)
public static boolean hasFreeField(E4DBConnection_Intf con,
E4ApplObj_Intf applobj,
E4DBTableName tablename,
E4DBFreeFieldName freefieldname)
throws E4DBException
applobj - the application objecttablename - the requested tablefreefieldname - the requested field
E4DBException
public static boolean hasFreeField(E4ApplObj_Intf applobj,
E4DBTableName tablename,
E4DBFreeFieldName freefieldname)
throws E4DBException
applobj - the application objecttablename - the requested tablefreefieldname - the requested field
E4DBException
public boolean hasFreeField(E4DBFreeFieldName freefieldname)
throws E4DBException
freefieldname - the requested field
E4DBException
public E4DBFreeValue[] getFreeValues()
throws E4DBException
E4DBException
public E4DBFreeValue[] getFreeValues(boolean include_empty)
throws E4DBException
include_empty - true includes also entries where a field is defined but no value is available
E4DBException
public E4DBFreeValue[] getFreeValues(E4DBConnection_Intf con,
boolean include_empty)
throws E4DBException
include_empty - true includes also entries where a field is defined but no value is available
E4DBException
public static void copyFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBTableName from,
E4DBTableName to)
throws E4DBException
applobj - the application objectfrom - the source tableto - the destination table
E4DBExceptionT_E4S_FREEFIELD_DEF_Sel
public static void copyFreevalDefinitions(E4ApplObj_Intf applobj,
E4DBConnection_Intf con,
E4DBTableName from,
E4DBTableName to)
throws E4DBException
applobj - the application objectcon - the connectionfrom - the source tableto - the destination table
E4DBExceptionT_E4S_FREEFIELD_DEF_Sel
protected E4DBFreeFieldName[] data2csvHeaderFreefields(E4PrintStream out)
throws E4DBException
E4DBException
protected E4DBFreeFieldName[] data2xmlHeaderFreefields(E4PrintStream out)
throws E4DBException
E4DBException
protected void toXmlFreefieldValues(E4PrintStream out,
E4DBFreeFieldName[] freefields)
throws E4DBException
E4DBException
protected void toSqlFreefieldValues(E4PrintStream out,
E4DBFreeFieldName[] freefields)
throws E4DBException
E4DBExceptionpublic static java.lang.String _getSVNVersionString()
E4Util.getRevisionCodeFromSVN(Class)
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||