com.silverpeas.projectManager.model
Class ProjectManagerCalendarDAO

java.lang.Object
  extended by com.silverpeas.projectManager.model.ProjectManagerCalendarDAO

public class ProjectManagerCalendarDAO
extends Object

Author:
neysseri

Constructor Summary
ProjectManagerCalendarDAO()
           
 
Method Summary
static void addHolidayDate(Connection con, HolidayDetail holiday)
           
static String date2DBDate(Date date)
           
static List<Date> getHolidayDates(Connection con, String instanceId)
           
static List<Date> getHolidayDates(Connection con, String instanceId, 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

ProjectManagerCalendarDAO

public ProjectManagerCalendarDAO()
Method Detail

addHolidayDate

public static void addHolidayDate(Connection con,
                                  HolidayDetail holiday)
                           throws SQLException,
                                  com.stratelia.webactiv.util.exception.UtilException
Throws:
SQLException
com.stratelia.webactiv.util.exception.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<Date> getHolidayDates(Connection con,
                                         String instanceId)
                                  throws SQLException
Throws:
SQLException

getHolidayDates

public static List<Date> getHolidayDates(Connection con,
                                         String instanceId,
                                         Date beginDate,
                                         Date endDate)
                                  throws SQLException
Throws:
SQLException

date2DBDate

public static String date2DBDate(Date date)


Copyright © 2016 Silverpeas. All Rights Reserved.