com.stratelia.webactiv.calendar.model
Class HolidaysDAO

java.lang.Object
  extended by com.stratelia.webactiv.calendar.model.HolidaysDAO

public class HolidaysDAO
extends Object

Author:
neysseri

Constructor Summary
HolidaysDAO()
           
 
Method Summary
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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HolidaysDAO

public HolidaysDAO()
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


Copyright © 2016 Silverpeas. All Rights Reserved.