Class NodeI18NDAO


  • public class NodeI18NDAO
    extends Object
    This is the Node Data Access Object.
    Author:
    Nicolas Eysseric
    • Method Detail

      • deleteComponentInstanceData

        public static void deleteComponentInstanceData​(String componentInstanceId)
                                                throws SQLException
        Deletes all translations of publications linked to the component instance represented by the given identifier.
        Parameters:
        componentInstanceId - the identifier of the component instance for which the resources must be deleted.
        Throws:
        SQLException
      • removeTranslation

        public static void removeTranslation​(Connection con,
                                             String id)
                                      throws SQLException
        Delete into the database a translation
        Parameters:
        id - node identifier about which the translation is
        Throws:
        SQLException
        Since:
        1.0
        See Also:
        NodeI18NDetail
      • removeTranslations

        public static void removeTranslations​(Connection con,
                                              int nodeId)
                                       throws SQLException
        Delete all translations of a node
        Parameters:
        nodeId - id of the node to delete
        con - the JDBC Connection
        Throws:
        SQLException
        Since:
        1.0