Class ModelDAO
- java.lang.Object
-
- org.silverpeas.core.contribution.template.form.dao.ModelDAO
-
public class ModelDAO extends Object
-
-
Constructor Summary
Constructors Constructor Description ModelDAO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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)
-
-
-
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
-
-