public class WizardDAO extends CommonDAO
con, dateFormat_DDMMYYYY, dateFormat_DDMMYYYY_HHMM, log, SQL_AND, SQL_DELETE, SQL_DESC, SQL_FROM, SQL_GROUP_BY, SQL_INNER_JOIN, SQL_INSERT, SQL_LEFT_JOIN, SQL_LIMIT, 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) |
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) |
addLikeSql, convertDateToSqlDate, convertDateToTimestamp, deleteById, getFoundRows, getGroupedIds, getGroupedIds, getIds, getIds, getLikePattern, getMySQLLimit, getPeriodSql, lastInsertId, setPeriodParamValue, setRecordCount, sqlToBgException, updateColumn, updateIds, updateIds
public java.util.List<Wizard> getWizardList() throws BGException
BGException
public Wizard getWizard(int id) throws BGException
BGException
public void updateWizard(Wizard w) throws BGException
BGException
public void updateNode(Node node) throws BGException
BGException
public Node getNode(int id) throws BGException
BGException
public java.util.List<Node> getNodes(int wizardId) throws BGException
BGException
public void deleteNode(int wizardId, int nodeId) throws BGException
BGException
public Link getLink(int linkId) throws BGException
BGException
public Link getLink(int wizardId, int startNodeId, int endNodeId) throws BGException
BGException
public void updateLink(Link link) throws BGException
BGException
public java.util.List<Link> getLinks(int wizardId) throws BGException
BGException
public java.util.List<java.lang.Integer> getIncomeLinks(int nodeId) throws BGException
BGException
public java.util.List<java.lang.Integer> getOutgoingLinks(int nodeId) throws BGException
BGException
public void deleteLink(int wizardId, int linkId) throws BGException
BGException
public void deleteLinks(int wizardId, java.util.List<java.lang.Integer> linkIds) throws BGException
BGException