com.dynamide.db
Class RDBTable
java.lang.Object
com.dynamide.DynamideObject
com.dynamide.db.RDBTable
- All Implemented Interfaces:
- IGet
public class RDBTable
- extends DynamideObject
Methods inherited from class com.dynamide.DynamideObject |
clearProfiler, dump, dump, dumpHTML, expand, finalize, findParentExpander, findParentPage, findParentSession, findTopParentPage, get, getCategoryID, getDotName, getID, getNextGetter, getObjectID, getOwner, getProfiler, isDebugEnabled, isInfoEnabled, logDebug, logDebug, logDebug, logDebug, logError, logError, logError, logError, logInfo, logInfo, logInfo, logInfo, logWarn, logWarn, logWarn, logWarn, popLogContext, printf, printProfiler, profileEnter, profileLeave, pushLogContext, setDotName, setID, setNextGetter, setObjectID, setOwner, sprintf, useProfiler, walkParents |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RDBTable
public RDBTable(RDBDatabase database,
java.lang.String tableName)
getDebugSQL
public boolean getDebugSQL()
setDebugSQL
public void setDebugSQL(boolean new_value)
getErrors
public java.lang.String getErrors()
getResultSetMetaData
public java.sql.ResultSetMetaData getResultSetMetaData()
isOpen
public boolean isOpen()
getFields
public StringList getFields()
setFields
public void setFields(StringList new_value)
getColumnCount
public int getColumnCount()
setColumnCount
public void setColumnCount(int new_value)
getColumnNames
public java.util.Iterator getColumnNames()
getResultSet
public java.sql.ResultSet getResultSet()
open
public boolean open()
open
public boolean open(java.lang.String criteria,
java.lang.String orderBy)
- Caller is responsible for closing the connection by calling RDBTable.close after calling this method.
close
public boolean close()
edit
public boolean edit()
cancel
public boolean cancel()
makeKeyConditions
public java.lang.String makeKeyConditions()
post
public boolean post()
post
public boolean post(java.util.Map values,
java.lang.String conditions)
insert
public int insert(java.util.Map values)
update
public int update(java.util.Map values,
java.lang.String conditions)
updateOrInsert
public int updateOrInsert(java.util.Map values,
java.lang.String conditions)
getTestTable
public static RDBTable getTestTable(java.lang.String user,
java.lang.String password)
main
public static void main(java.lang.String[] Args)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2001-2013 DYNAMIDE.COM. All Rights Reserved.