com.stratelia.silverpeas.treeManager.control
Class TreeI18NDAO

java.lang.Object
  extended by com.stratelia.silverpeas.treeManager.control.TreeI18NDAO

public class TreeI18NDAO
extends Object

Class declaration

Author:

Constructor Summary
TreeI18NDAO()
          Constructor declaration
 
Method Summary
 void createTranslation(Connection con, TreeNodeI18N translation, String treeId)
           
 void deleteNodeTranslations(Connection con, String treeId, String nodeId)
           
 void deleteTranslation(Connection con, int translationId)
           
 void deleteTranslation(Connection con, String treeId, String nodeId, String language)
           
 void deleteTreeTranslations(Connection con, String treeId)
           
 List<TreeNodeI18N> getTranslations(Connection con, String treeId, String nodeId)
           
 void updateTranslation(Connection con, String treeId, TreeNodeI18N translation)
           
 void updateTranslation(Connection con, TreeNodeI18N translation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TreeI18NDAO

public TreeI18NDAO()
Constructor declaration

See Also:
Method Detail

getTranslations

public List<TreeNodeI18N> getTranslations(Connection con,
                                          String treeId,
                                          String nodeId)
                                   throws SQLException
Throws:
SQLException

createTranslation

public void createTranslation(Connection con,
                              TreeNodeI18N translation,
                              String treeId)
                       throws SQLException,
                              UtilException
Throws:
SQLException
UtilException

updateTranslation

public void updateTranslation(Connection con,
                              TreeNodeI18N translation)
                       throws SQLException,
                              UtilException
Throws:
SQLException
UtilException

updateTranslation

public void updateTranslation(Connection con,
                              String treeId,
                              TreeNodeI18N translation)
                       throws SQLException,
                              UtilException
Throws:
SQLException
UtilException

deleteTranslation

public void deleteTranslation(Connection con,
                              int translationId)
                       throws SQLException,
                              UtilException
Throws:
SQLException
UtilException

deleteTranslation

public void deleteTranslation(Connection con,
                              String treeId,
                              String nodeId,
                              String language)
                       throws SQLException,
                              UtilException
Throws:
SQLException
UtilException

deleteTreeTranslations

public void deleteTreeTranslations(Connection con,
                                   String treeId)
                            throws SQLException,
                                   UtilException
Throws:
SQLException
UtilException

deleteNodeTranslations

public void deleteNodeTranslations(Connection con,
                                   String treeId,
                                   String nodeId)
                            throws SQLException,
                                   UtilException
Throws:
SQLException
UtilException


Copyright © 2016 Silverpeas. All Rights Reserved.