public class WizardDAO extends CommonDAO
CommonDAO.ObjectExtractor<T>, CommonDAO.RecordUpdater<T extends Id>con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_INSERT_IGNORE, SQL_LEFT_JOIN, SQL_LEFT_OUTER_JOIN, SQL_LIMIT, SQL_ON_DUP_KEY_UPDATE, SQL_OR, SQL_ORDER_BY, SQL_REPLACE, SQL_SELECT, SQL_SELECT_ALL_FROM, SQL_SELECT_COUNT_ROWS, SQL_SET, SQL_UPDATE, SQL_WHERE| Constructor and Description |
|---|
WizardDAO(java.sql.Connection con) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteLink(int wizardId,
int linkId) |
void |
deleteLinks(int wizardId,
java.util.List<java.lang.Integer> linkIds) |
void |
deleteNode(int wizardId,
int nodeId) |
void |
deleteWizard(int wizardId) |
java.util.List<java.lang.Integer> |
getIncomeLinks(int nodeId) |
Link |
getLink(int linkId) |
Link |
getLink(int wizardId,
int startNodeId,
int endNodeId) |
java.util.List<Link> |
getLinks(int wizardId) |
Node |
getNode(int id) |
java.util.List<Node> |
getNodes(int wizardId) |
java.util.List<java.lang.Integer> |
getOutgoingLinks(int nodeId) |
Wizard |
getWizard(int id) |
java.util.List<Wizard> |
getWizardList() |
void |
updateLink(Link link) |
void |
updateNode(Node node) |
void |
updateWizard(Wizard w) |
deleteById, execute, execute, execute, executeInsert, executeUpdate, getById, getFoundRows, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getLikePatternEnd, getLikePatternStart, getLikePatternSub, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, update, updateColumn, updateIds, updateIdspublic java.util.List<Wizard> getWizardList() throws BGException
BGExceptionpublic Wizard getWizard(int id) throws BGException
BGExceptionpublic void updateWizard(Wizard w) throws BGException
BGExceptionpublic void updateNode(Node node) throws BGException
BGExceptionpublic Node getNode(int id) throws BGException
BGExceptionpublic java.util.List<Node> getNodes(int wizardId) throws BGException
BGExceptionpublic void deleteNode(int wizardId,
int nodeId)
throws BGException
BGExceptionpublic Link getLink(int linkId) throws BGException
BGExceptionpublic Link getLink(int wizardId, int startNodeId, int endNodeId) throws BGException
BGExceptionpublic void updateLink(Link link) throws BGException
BGExceptionpublic java.util.List<Link> getLinks(int wizardId) throws BGException
BGExceptionpublic java.util.List<java.lang.Integer> getIncomeLinks(int nodeId)
throws BGException
BGExceptionpublic java.util.List<java.lang.Integer> getOutgoingLinks(int nodeId)
throws BGException
BGExceptionpublic void deleteLink(int wizardId,
int linkId)
throws BGException
BGExceptionpublic void deleteLinks(int wizardId,
java.util.List<java.lang.Integer> linkIds)
throws BGException
BGExceptionpublic void deleteWizard(int wizardId)