Class ValidationStepsDAO
- java.lang.Object
-
- org.silverpeas.core.contribution.publication.dao.ValidationStepsDAO
-
public class ValidationStepsDAO extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addStep(Connection con, ValidationStep step)
static void
deleteComponentInstanceData(String componentInstanceId)
Deletes all validation data of publications linked to the component instance represented by the given identifier.static ValidationStep
getStepByUser(Connection con, PublicationPK pubPK, String userId)
static List<ValidationStep>
getSteps(Connection con, PublicationPK pubPK)
static void
removeSteps(Connection con, PublicationPK pubPK)
-
-
-
Method Detail
-
deleteComponentInstanceData
public static void deleteComponentInstanceData(String componentInstanceId) throws SQLException
Deletes all validation data 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
-
addStep
public static void addStep(Connection con, ValidationStep step) throws SQLException
- Throws:
SQLException
-
removeSteps
public static void removeSteps(Connection con, PublicationPK pubPK) throws SQLException
- Throws:
SQLException
-
getSteps
public static List<ValidationStep> getSteps(Connection con, PublicationPK pubPK) throws SQLException
- Throws:
SQLException
-
getStepByUser
public static ValidationStep getStepByUser(Connection con, PublicationPK pubPK, String userId) throws SQLException
- Throws:
SQLException
-
-