com.silverpeas.blog.dao
Class PostDAO
java.lang.Object
com.silverpeas.blog.dao.PostDAO
public class PostDAO
- extends Object
Method Summary |
static void |
createDateEvent(Connection con,
String pubId,
Date dateEvent,
String instanceId)
|
static void |
deleteDateEvent(Connection con,
String pubId)
|
static Collection<Date> |
getAllDateEvents(Connection con,
String instanceId)
|
static Collection<String> |
getAllEvents(Connection con,
String instanceId)
|
static Date |
getDateEvent(Connection con,
String pubId)
|
static Collection<String> |
getEventsByDates(Connection con,
String instanceId,
String beginDate,
String endDate)
|
static void |
updateDateEvent(Connection con,
String pubId,
Date dateEvent)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PostDAO
public PostDAO()
createDateEvent
public static void createDateEvent(Connection con,
String pubId,
Date dateEvent,
String instanceId)
throws SQLException
- Throws:
SQLException
getDateEvent
public static Date getDateEvent(Connection con,
String pubId)
throws SQLException
- Throws:
SQLException
deleteDateEvent
public static void deleteDateEvent(Connection con,
String pubId)
throws SQLException
- Throws:
SQLException
updateDateEvent
public static void updateDateEvent(Connection con,
String pubId,
Date dateEvent)
throws SQLException
- Throws:
SQLException
getAllEvents
public static Collection<String> getAllEvents(Connection con,
String instanceId)
throws SQLException
- Throws:
SQLException
getAllDateEvents
public static Collection<Date> getAllDateEvents(Connection con,
String instanceId)
throws SQLException
- Throws:
SQLException
getEventsByDates
public static Collection<String> getEventsByDates(Connection con,
String instanceId,
String beginDate,
String endDate)
throws SQLException,
ParseException
- Throws:
SQLException
ParseException
Copyright © 2016 Silverpeas. All Rights Reserved.