|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stratelia.webactiv.util.node.control.dao.NodeI18NDAO
public class NodeI18NDAO
This is the Node Data Access Object.
| Constructor Summary | |
|---|---|
NodeI18NDAO()
This class must not be instanciated |
|
| Method Summary | |
|---|---|
static List<NodeI18NDetail> |
getTranslations(Connection con,
int nodeId)
Returns the rows described by the given query with one id parameter. |
static void |
removeTranslation(Connection con,
int id)
Delete into the database a translation |
static void |
removeTranslations(Connection con,
int nodeId)
Delete all translations of a node |
static NodeI18NPK |
saveTranslation(Connection con,
NodeI18NDetail nd)
Insert into the database the data of a node |
static NodeI18NPK |
updateTranslation(Connection con,
NodeI18NDetail nd)
Update into the database the translation |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeI18NDAO()
| Method Detail |
|---|
public static NodeI18NPK saveTranslation(Connection con,
NodeI18NDetail nd)
throws SQLException
nd - the NodeI18NDetail which contains data
SQLExceptionNodeI18NDetail
public static NodeI18NPK updateTranslation(Connection con,
NodeI18NDetail nd)
throws SQLException
nd - the NodeI18NDetail which contains data
SQLExceptionNodeI18NDetail
public static void removeTranslation(Connection con,
int id)
throws SQLException
id - translationId
SQLExceptionNodeI18NDetail
public static void removeTranslations(Connection con,
int nodeId)
throws SQLException
nodeId - id of the node to deletecon - the JDBC Connection
SQLException
public static List<NodeI18NDetail> getTranslations(Connection con,
int nodeId)
throws SQLException
con - nodeId -
SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||