Class PostDAO
java.lang.Object
org.silverpeas.components.blog.dao.PostDAO
-
Method Summary
Modifier and TypeMethodDescriptionvoidcreate(Connection con, String pubId, Date dateEvent, String instanceId) voiddelete(Connection con, String pubId) getAllEventDates(Connection con, String instanceId) getAllPostIds(Connection con, String instanceId) getEventDateIndexedByPost(Collection<String> pubIds) getPostInRange(Connection con, String instanceId, String beginDate, String endDate) voidupdate(Connection con, String pubId, Date dateEvent)
-
Method Details
-
create
public void create(Connection con, String pubId, Date dateEvent, String instanceId) throws SQLException - Throws:
SQLException
-
getEventDateIndexedByPost
- Throws:
SQLException
-
delete
- Throws:
SQLException
-
update
- Throws:
SQLException
-
getAllPostIds
- Throws:
SQLException
-
getAllEventDates
- Throws:
SQLException
-
getPostInRange
public Collection<String> getPostInRange(Connection con, String instanceId, String beginDate, String endDate) throws SQLException, ParseException - Throws:
SQLExceptionParseException
-