|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface E4DBSelect_Intf
Interface for database reading-access classes. This interface becomes implemented by the generated database table access classes.
E4DBSelect,
E4DBModify_Intf,
E4DBSelectFreefields_Intf| Method Summary | |
|---|---|
boolean |
canHaveFreeDefinedFields()
|
void |
close()
Close the database connection (if pooling is enabled #e4s.db.E4DBConnection_Intf#connectionIsPooled). |
E4Fieldset |
createFIELDSET(FORM form)
|
void |
executeQuery()
|
E4Fieldset |
get_FIELDSET(FORM form)
|
void |
get(E4Fieldset fieldset)
|
E4ApplObj_Intf |
getApplObj()
Get the application object. |
boolean |
getBoolean(E4DBColumnName fieldName)
|
E4DBColumnInfo[] |
getColInfo()
Get information about the columns defined for this database table. |
E4DBConnection_Intf |
getConnection()
Get the database connection. |
java.util.Date |
getDate(E4DBColumnName fieldName)
|
E4DBIndexInfo |
getFirstPrimaryIndex()
Get the fields defined in the first unique index, return null if not available. |
float |
getFloat(E4DBColumnName fieldName)
|
long |
getLong(E4DBColumnName fieldName)
|
E4DBResultSetMetaData |
getMetaData()
|
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. |
java.lang.String |
getString(E4DBColumnName col)
|
E4DBTableName |
getTableName()
|
E4DBTypeUsage[] |
getUsage(E4DBColumnName colname)
For the case, that the specified column is a e4s defined type (e.g. |
java.lang.String |
getWhere()
|
boolean |
hasClientDistinctive()
Get the state if data of this table will be distincted by E4Client. |
boolean |
isTable()
Is this data access object a table? |
boolean |
isView()
Is this data access object a view? |
boolean |
isWhereDefined()
|
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)
|
boolean |
next()
|
void |
reset()
|
void |
resetOrderBy()
|
void |
resetWhere()
|
void |
setConnection(E4DBConnection_Intf con)
Sets the database connection. |
void |
setFilter(E4DBColumnName fieldName,
boolean filter)
|
void |
setFilter(E4DBColumnName fieldName,
java.util.Date filter)
|
void |
setFilter(E4DBColumnName fieldName,
float filter)
|
void |
setFilter(E4DBColumnName fieldName,
long filter)
|
void |
setFilter(E4DBColumnName fieldName,
java.lang.String filter)
|
void |
setFilter(E4DBFilter_Intf filter)
|
void |
setOrderBy(E4DBColumnName column,
boolean descending)
|
void |
setWhere(java.lang.String sql)
|
boolean |
supportsSorting()
|
java.lang.String |
toString()
|
| Method Detail |
|---|
E4DBTableName getTableName()
E4DBColumnInfo[] getColInfo()
E4DBColumnType objects
void executeQuery()
throws E4DBException
E4DBException
boolean next()
throws E4DBException
E4DBException
void reset()
throws E4DBException
E4DBException
void close()
throws E4DBException
#e4s.db.E4DBConnection_Intf#connectionIsPooled).
E4DBException
void setOrderBy(E4DBColumnName column,
boolean descending)
E4DBResultSetMetaData getMetaData()
throws E4DBException
E4DBExceptionboolean supportsSorting()
java.lang.Class getModifyClass()
E4DBModify_Intfjava.lang.Class getObjectClass()
java.lang.String getString(E4DBColumnName col)
throws java.lang.Exception
java.lang.Exception
boolean getBoolean(E4DBColumnName fieldName)
throws E4DBException
E4DBException
float getFloat(E4DBColumnName fieldName)
throws E4DBException
E4DBException
long getLong(E4DBColumnName fieldName)
throws E4DBException
E4DBException
java.util.Date getDate(E4DBColumnName fieldName)
throws E4DBException
E4DBExceptionboolean isWhereDefined()
void resetWhere()
void resetOrderBy()
java.lang.String getWhere()
void setWhere(java.lang.String sql)
void setFilter(E4DBFilter_Intf filter)
void setFilter(E4DBColumnName fieldName,
java.lang.String 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,
boolean filter)
throws E4DBException
E4DBException
void setFilter(E4DBColumnName fieldName,
java.util.Date filter)
throws E4DBException
E4DBExceptionboolean hasClientDistinctive()
E4Client.
This is the case, if the E4ApplObj_Intf object was involved during
construction of the object.
E4Clientboolean canHaveFreeDefinedFields()
E4Fieldset createFIELDSET(FORM form)
E4Fieldset get_FIELDSET(FORM form)
throws E4DBException
E4DBException
void get(E4Fieldset fieldset)
throws E4DBException
E4DBExceptionjava.lang.String toString()
toString in class java.lang.Object
E4DBSelect_Intf makeInstance(boolean copy_where)
throws E4DBException
E4DBException
E4DBModify_Intf makeInstance_Modify(boolean copy_where)
throws E4DBException
copy_where - if true, the WHERE statement from the table is also copied to the new created table.
E4DBExceptionmakeInstance(boolean)E4ApplObj_Intf getApplObj()
E4ServletImplementation_Intf.getApplObj(),
E4ServletImplementation_Intf.setApplicationObject(e4s.application.E4ApplObj_Intf)E4DBConnection_Intf getConnection()
void setConnection(E4DBConnection_Intf con)
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.
colname - the column to be checkedE4DBIntegrity
E4DBReference[] getReferenceDelete(E4DBColumnName cName)
throws E4DBException
cName - the column which references needs to be deleted (the "master")
E4DBException
E4DBReference[] getReferenceLookup(E4DBColumnName cName)
throws E4DBException
cName - the column which references needs to be deleted (the "master")
E4DBExceptionboolean isTable()
E4DBSelectView.isTable(),
isView()boolean isView()
E4DBSelectView.isView(),
isTable()E4DBIndexInfo getFirstPrimaryIndex()
|
www.element4solution.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||