Class VolumeHoraireEnsHelper
- java.lang.Object
-
- org.ametys.odf.ose.export.impl.odf.db.VolumeHoraireEnsHelper
-
public final class VolumeHoraireEnsHelper extends Object
Helper to build queries to manage the VOLUME_HORAIRE_ENS table.
-
-
Field Summary
Fields Modifier and Type Field Description private static String
__TABLE_NAME
-
Constructor Summary
Constructors Modifier Constructor Description private
VolumeHoraireEnsHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static Double
_getGroups(CoursePart coursePart)
static ParameterizableQuery
deleteFrom()
Query to delete all lines from the table.static List<ParameterizableQuery>
initialize()
Queries to create the table and associated view.static ParameterizableQuery
insertInto(CoursePart coursePart, String coursePartCode, String coursePartNature, Long oseCatalog, String courseLink)
Query to insert a line in the table.
-
-
-
Field Detail
-
__TABLE_NAME
private static final String __TABLE_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
VolumeHoraireEnsHelper
private VolumeHoraireEnsHelper()
-
-
Method Detail
-
initialize
public static List<ParameterizableQuery> initialize()
Queries to create the table and associated view.- Returns:
- List of queries for table and view creation
-
deleteFrom
public static ParameterizableQuery deleteFrom()
Query to delete all lines from the table.- Returns:
- The query for deletion
-
insertInto
public static ParameterizableQuery insertInto(CoursePart coursePart, String coursePartCode, String coursePartNature, Long oseCatalog, String courseLink)
Query to insert a line in the table.- Parameters:
coursePart
- The course partcoursePartCode
- The course part codecoursePartNature
- The course part natureoseCatalog
- The OSE catalogcourseLink
- the course link- Returns:
- The query to insert values in the table
-
_getGroups
private static Double _getGroups(CoursePart coursePart)
-
-