public class JDBCDMLProcessor<T> extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
delete(IBean pBean)
Convenience wrapper for the list delete for deleting a single Bean.
|
void |
delete(List<? extends IBean> pBeanList)
Deletes the provided Bean from the database.
|
static <T> JDBCDMLProcessor<T> |
getInstance() |
T |
insert(IBean pBean)
Convenience wrapper for the list insert for inserting a single Bean.
|
void |
insert(List<? extends IBean> pBeanList)
Inserts the provided Beans into the database.
|
T |
update(IBean pBean)
Convenience wrapper for the list update for modifying a single Bean.
|
void |
update(List<? extends IBean> pBeanList)
Updates the provided Bean in the database.
|
public static <T> JDBCDMLProcessor<T> getInstance()
public T insert(IBean pBean)
pBean - beans object for insertionpublic void insert(List<? extends IBean> pBeanList)
pBeanList - list of Bean objects for insertionpublic T update(IBean pBean)
pBean - beans object for modificationpublic void update(List<? extends IBean> pBeanList)
pBeanList - list of Bean objects for modificationpublic void delete(IBean pBean)
pBean - beans object for deletionCopyright © 2013. All rights reserved.