Class HolidaysDAO
- java.lang.Object
-
- org.silverpeas.core.personalorganizer.service.HolidaysDAO
-
public class HolidaysDAO extends Object
- Author:
- neysseri
-
-
Constructor Summary
Constructors Constructor Description HolidaysDAO()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
addHolidayDate(Connection con, HolidayDetail holiday)
static List<String>
getHolidayDates(Connection con, String userId)
static List<String>
getHolidayDates(Connection con, String userId, Date beginDate, Date endDate)
static boolean
isHolidayDate(Connection con, HolidayDetail holiday)
static void
removeHolidayDate(Connection con, HolidayDetail holiday)
-
-
-
Method Detail
-
addHolidayDate
public static void addHolidayDate(Connection con, HolidayDetail holiday) throws SQLException, UtilException
- Throws:
SQLException
UtilException
-
removeHolidayDate
public static void removeHolidayDate(Connection con, HolidayDetail holiday) throws SQLException
- Throws:
SQLException
-
isHolidayDate
public static boolean isHolidayDate(Connection con, HolidayDetail holiday) throws SQLException
- Throws:
SQLException
-
getHolidayDates
public static List<String> getHolidayDates(Connection con, String userId) throws SQLException
- Throws:
SQLException
-
getHolidayDates
public static List<String> getHolidayDates(Connection con, String userId, Date beginDate, Date endDate) throws SQLException
- Throws:
SQLException
-
-