com.silverpeas.formTemplate.dao
Class ModelDAO

java.lang.Object
  extended by com.silverpeas.formTemplate.dao.ModelDAO

public class ModelDAO
extends Object


Constructor Summary
ModelDAO()
           
 
Method Summary
static void addModel(Connection con, String instanceId, String modelId)
           
static void addModel(Connection con, String instanceId, String modelId, String objectId)
           
static void deleteModel(Connection con, String instanceId)
           
static void deleteModel(Connection con, String instanceId, String objectId)
           
static Collection<String> getModelUsed(Connection con, String instanceId)
           
static Collection<String> getModelUsed(Connection con, String instanceId, String objectId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelDAO

public ModelDAO()
Method Detail

addModel

public static void addModel(Connection con,
                            String instanceId,
                            String modelId)
                     throws SQLException
Throws:
SQLException

addModel

public static void addModel(Connection con,
                            String instanceId,
                            String modelId,
                            String objectId)
                     throws SQLException
Throws:
SQLException

deleteModel

public static void deleteModel(Connection con,
                               String instanceId)
                        throws SQLException,
                               UtilException
Throws:
SQLException
UtilException

deleteModel

public static void deleteModel(Connection con,
                               String instanceId,
                               String objectId)
                        throws SQLException,
                               UtilException
Throws:
SQLException
UtilException

getModelUsed

public static Collection<String> getModelUsed(Connection con,
                                              String instanceId)
                                       throws SQLException,
                                              UtilException
Throws:
SQLException
UtilException

getModelUsed

public static Collection<String> getModelUsed(Connection con,
                                              String instanceId,
                                              String objectId)
                                       throws SQLException,
                                              UtilException
Throws:
SQLException
UtilException


Copyright © 2016 Silverpeas. All Rights Reserved.