public class DBConnection
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
close() |
static java.util.Properties |
configure(java.lang.String dialect,
java.lang.String driver,
java.lang.String url,
java.lang.String username,
java.lang.String password) |
static boolean |
delete(java.lang.Object obj) |
static void |
deleteAll(Item itemType) |
static void |
deleteAll(java.lang.String className) |
static java.util.List |
execQuery(java.lang.String query) |
static int |
execUpdate(java.lang.String query) |
static java.util.List |
getObjectsForClass(java.lang.String className) |
static java.util.List |
getObjectsForClassWhere(java.lang.String className,
java.lang.String whereClause) |
static StoredItem |
getSelectedStoredItem(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static java.util.List |
getSelectedStoredItems(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static StoredItem |
getStoredItem(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static java.util.List |
getStoredItems(Item itemType) |
static java.util.List |
getStoredItems(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static HibernateEngine |
init(java.util.Properties props) |
static boolean |
insert(java.lang.Object obj) |
static void |
setStoredItemSelected(StoredItem item) |
static void |
setStoredItemSelected(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static void |
setStoredItemsSelected(java.util.List items) |
static void |
setStoredItemsSelected(java.lang.String classID,
java.lang.String procletID,
java.lang.String blockID,
Item itemType) |
static boolean |
update(java.lang.Object obj) |
public static HibernateEngine init(java.util.Properties props)
public static java.util.Properties configure(java.lang.String dialect, java.lang.String driver, java.lang.String url, java.lang.String username, java.lang.String password) throws org.hibernate.HibernateException
org.hibernate.HibernateException
public static void close()
public static boolean insert(java.lang.Object obj)
public static boolean update(java.lang.Object obj)
public static boolean delete(java.lang.Object obj)
public static java.util.List getObjectsForClass(java.lang.String className)
public static java.util.List getObjectsForClassWhere(java.lang.String className, java.lang.String whereClause)
public static void deleteAll(java.lang.String className)
public static void deleteAll(Item itemType)
public static java.util.List execQuery(java.lang.String query)
public static int execUpdate(java.lang.String query)
public static java.util.List getStoredItems(Item itemType)
public static StoredItem getStoredItem(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static java.util.List getStoredItems(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static StoredItem getSelectedStoredItem(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static java.util.List getSelectedStoredItems(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static void setStoredItemSelected(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static void setStoredItemsSelected(java.lang.String classID, java.lang.String procletID, java.lang.String blockID, Item itemType)
public static void setStoredItemSelected(StoredItem item)
public static void setStoredItemsSelected(java.util.List items)
Copyright © 2004-2014 The YAWL Foundation.