com.stratelia.webactiv.util.publication.control
Class PublicationI18NDAO

java.lang.Object
  extended by com.stratelia.webactiv.util.publication.control.PublicationI18NDAO

public class PublicationI18NDAO
extends Object

This is the Publication Data Access Object.

Author:
Nicolas Eysseric

Constructor Summary
PublicationI18NDAO()
           
 
Method Summary
static void addTranslation(Connection con, PublicationI18N translation)
           
static List<PublicationI18N> getTranslations(Connection con, PublicationPK pubPK)
           
static void removeTranslation(Connection con, int translationId)
           
static void removeTranslation(Connection con, String translationId)
           
static void removeTranslations(Connection con, PublicationPK pubPK)
           
static void updateTranslation(Connection con, PublicationI18N translation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PublicationI18NDAO

public PublicationI18NDAO()
Method Detail

getTranslations

public static List<PublicationI18N> getTranslations(Connection con,
                                                    PublicationPK pubPK)
                                             throws SQLException
Throws:
SQLException

addTranslation

public static void addTranslation(Connection con,
                                  PublicationI18N translation)
                           throws SQLException,
                                  UtilException
Throws:
SQLException
UtilException

updateTranslation

public static void updateTranslation(Connection con,
                                     PublicationI18N translation)
                              throws SQLException
Throws:
SQLException

removeTranslation

public static void removeTranslation(Connection con,
                                     String translationId)
                              throws SQLException
Throws:
SQLException

removeTranslation

public static void removeTranslation(Connection con,
                                     int translationId)
                              throws SQLException
Throws:
SQLException

removeTranslations

public static void removeTranslations(Connection con,
                                      PublicationPK pubPK)
                               throws SQLException
Throws:
SQLException


Copyright © 2016 Silverpeas. All Rights Reserved.