|
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.dict.E4DBSelectDict
public class E4DBSelectDict
This class enables direct reading database access, based on the datadictionary definitions. There is no implementation for modification of data, as this would require more information from the program environment rather than available in the data dictionary.
e4s.application.sysmodules.dict.moduleDictionarySQL,
E4EditingElement| Field Summary |
|---|
| 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 | |
|---|---|
E4DBSelectDict(E4DBSelectDict table,
boolean copy_where)
|
|
E4DBSelectDict(E4DBTable table)
|
|
E4DBSelectDict(E4DBTable table,
E4ApplObj_Intf applobj)
|
|
| Method Summary | |
|---|---|
static java.lang.String |
_getSVNVersionString()
Get version info string from subversion. |
boolean |
canHaveFreeDefinedFields()
|
E4Fieldset |
createFIELDSET(E4ApplObj_Intf applobj)
|
E4Fieldset |
createFIELDSET(FORM form)
|
E4Fieldset |
get_FIELDSET(FORM form)
|
void |
get(E4Fieldset fieldset)
|
E4DBColumnInfo[] |
getColInfo()
Get information about the columns defined for this database table. |
java.lang.Class |
getModifyClass()
Get the defined and generated class for the modifications, this means INSERT, UPDATE and DELETE, related to this table. |
java.lang.Class |
getObjectClass()
Get the defined and generated class for the data-object related to this table. |
E4DBReference[] |
getReferenceDelete(E4DBColumnName cName)
Get an array of reference entries that are marked for referential delete in the data dictionary. |
E4DBReference[] |
getReferenceLookup(E4DBColumnName cName)
Get an array of reference entries that are marked for referential lookup in the data dictionary. |
E4DBTypeUsage[] |
getUsage(E4DBColumnName colname)
For the case, that the specified column is a e4s defined type (e.g. |
boolean |
hasClientDistinctive()
Get the state if data of this table will be distincted by E4Client. |
E4DBModify_Intf |
makeInstance_Modify(boolean copy_where)
Make an instance of the associated class for modification of database table entries. |
E4DBSelect_Intf |
makeInstance(boolean copy_where)
|
| 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, toString, wait, wait, wait |
| Methods inherited from interface e4s.db.E4DBSelect_Intf |
|---|
close, executeQuery, getApplObj, getBoolean, getConnection, getDate, getFirstPrimaryIndex, getFloat, getLong, getMetaData, getString, getTableName, getWhere, isTable, isView, isWhereDefined, next, reset, resetOrderBy, resetWhere, setConnection, setFilter, setFilter, setFilter, setFilter, setFilter, setFilter, setOrderBy, setWhere, supportsSorting, toString |
| Methods inherited from interface e4s.db.E4DBFilter_Intf |
|---|
isWhereDefined, resetWhere |
| Constructor Detail |
|---|
public E4DBSelectDict(E4DBTable table)
throws E4DBException
E4DBException
public E4DBSelectDict(E4DBTable table,
E4ApplObj_Intf applobj)
throws E4DBException
E4DBException
public E4DBSelectDict(E4DBSelectDict table,
boolean copy_where)
throws E4DBException
E4DBException| Method Detail |
|---|
public E4DBSelect_Intf makeInstance(boolean copy_where)
throws E4DBException
makeInstance in interface E4DBSelect_IntfE4DBException
public E4DBModify_Intf makeInstance_Modify(boolean copy_where)
throws E4DBException
makeInstance_Modify in interface E4DBSelect_Intfcopy_where - if true, the WHERE statement from the table is also copied to the new created table.
E4DBExceptionmakeInstance(boolean)public boolean hasClientDistinctive()
E4Client.
This is the case, if the E4ApplObj_Intf object was involved during
construction of the object.
hasClientDistinctive in interface E4DBSelect_IntfE4Clientpublic E4DBTypeUsage[] getUsage(E4DBColumnName colname)
E4Long, E4String)
this function returns an array in which tables and columns this type is used, except the current table and the
specified column.
getUsage in interface E4DBSelect_Intfcolname - the column to be checkedE4DBIntegrity
public E4Fieldset get_FIELDSET(FORM form)
throws E4DBException
get_FIELDSET in interface E4DBSelect_IntfE4DBExceptionpublic E4Fieldset createFIELDSET(FORM form)
createFIELDSET in interface E4DBSelect_Intfpublic E4Fieldset createFIELDSET(E4ApplObj_Intf applobj)
public java.lang.Class getObjectClass()
E4DBSelect_Intf
getObjectClass in interface E4DBSelect_Intfpublic java.lang.Class getModifyClass()
E4DBSelect_Intf
getModifyClass in interface E4DBSelect_IntfE4DBModify_Intfpublic E4DBColumnInfo[] getColInfo()
E4DBSelect_Intf
getColInfo in interface E4DBSelect_IntfE4DBColumnType objects
public E4DBReference[] getReferenceDelete(E4DBColumnName cName)
throws E4DBException
getReferenceDelete in interface E4DBSelect_IntfgetReferenceDelete in class E4DBSelectcName - the column which references needs to be deleted (the "master")
E4DBException
public E4DBReference[] getReferenceLookup(E4DBColumnName cName)
throws E4DBException
getReferenceLookup in interface E4DBSelect_IntfgetReferenceLookup in class E4DBSelectcName - the column which references needs to be deleted (the "master")
E4DBExceptionpublic boolean canHaveFreeDefinedFields()
canHaveFreeDefinedFields in interface E4DBSelect_Intf
public void get(E4Fieldset fieldset)
throws E4DBException
get in interface E4DBSelect_IntfE4DBExceptionpublic 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 | ||||||||