Class PostDAO
- java.lang.Object
-
- org.silverpeas.components.blog.dao.PostDAO
-
public class PostDAO extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidcreateDateEvent(Connection con, String pubId, Date dateEvent, String instanceId)static voiddeleteDateEvent(Connection con, String pubId)static Collection<Date>getAllDateEvents(Connection con, String instanceId)static Collection<String>getAllEvents(Connection con, String instanceId)static DategetDateEvent(Connection con, String pubId)static Collection<String>getEventsByDates(Connection con, String instanceId, String beginDate, String endDate)static voidupdateDateEvent(Connection con, String pubId, Date dateEvent)
-
-
-
Method Detail
-
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:
SQLExceptionParseException
-
-