|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlBlaster.contrib.db.DbStorage
public class DbStorage
DbStorage
Field Summary | |
---|---|
private java.lang.String |
addSql
|
private java.lang.String |
cleanSql
|
private java.lang.String |
context
|
private static int |
CONTEXT
|
private java.lang.String |
createSql
|
private DbMetaHelper |
dbHelper
|
private java.lang.String |
deleteSql
|
private static int |
ENCODING
|
private java.lang.String |
getKeysSql
|
private java.lang.String |
getSql
|
private static int |
KEY
|
private static java.util.logging.Logger |
log
|
private java.lang.String |
modifySql
|
private I_DbPool |
pool
|
private java.lang.String |
tableName
|
private static int |
TYPE
|
private static int |
VALUE
|
Constructor Summary | |
---|---|
DbStorage(I_Info info,
I_DbPool pool,
java.lang.String context)
|
Method Summary | |
---|---|
boolean |
addProperty(ClientProperty prop)
Adds a new property to the Table. |
int |
clean()
Removes all the properties of this context. |
private void |
createTableOrReadColumnNames(java.lang.String[] originalNames,
I_Info info)
|
java.util.Set |
getKeys()
|
ClientProperty |
getProperty(java.lang.String key)
Modifies an existing property. |
boolean |
modifyProperty(ClientProperty prop)
Modifies an existing property. |
private void |
prepareSql(I_Info info,
java.lang.String ctx)
|
void |
put(ClientProperty prop)
This method tries first to update the entry. |
boolean |
remove(java.lang.String key)
Removes the property with the given key. |
private boolean |
tableExists()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static java.util.logging.Logger log
private static final int CONTEXT
private static final int KEY
private static final int VALUE
private static final int TYPE
private static final int ENCODING
private java.lang.String context
private I_DbPool pool
private DbMetaHelper dbHelper
private java.lang.String tableName
private java.lang.String createSql
private java.lang.String modifySql
private java.lang.String addSql
private java.lang.String getSql
private java.lang.String cleanSql
private java.lang.String deleteSql
private java.lang.String getKeysSql
Constructor Detail |
---|
public DbStorage(I_Info info, I_DbPool pool, java.lang.String context) throws java.lang.Exception
java.lang.Exception
Method Detail |
---|
private final void prepareSql(I_Info info, java.lang.String ctx) throws java.lang.Exception
java.lang.Exception
private final boolean tableExists() throws java.lang.Exception
java.lang.Exception
private void createTableOrReadColumnNames(java.lang.String[] originalNames, I_Info info) throws java.lang.Exception
java.lang.Exception
public boolean addProperty(ClientProperty prop) throws java.lang.Exception
prop
-
java.lang.Exception
public boolean modifyProperty(ClientProperty prop) throws java.lang.Exception
prop
-
java.lang.Exception
public ClientProperty getProperty(java.lang.String key) throws java.lang.Exception
prop
-
java.lang.Exception
public boolean remove(java.lang.String key) throws java.lang.Exception
key
-
java.lang.Exception
public int clean() throws java.lang.Exception
java.lang.Exception
public void put(ClientProperty prop) throws java.lang.Exception
prop
-
java.lang.Exception
public java.util.Set getKeys() throws java.lang.Exception
java.lang.Exception
|
xmlBlaster 2.2.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |