com.j2biz.blogunity.dao
Class CalendarEntryDAO

java.lang.Object
  extended bycom.j2biz.blogunity.dao.AbstractDAO
      extended bycom.j2biz.blogunity.dao.CalendarEntryDAO

public class CalendarEntryDAO
extends AbstractDAO


Field Summary
 
Fields inherited from class com.j2biz.blogunity.dao.AbstractDAO
eventService
 
Constructor Summary
CalendarEntryDAO()
           
 
Method Summary
 Serializable createCalendarEntry(CalendarEntry ce)
           
 void decrementCalendarEntry(CalendarEntry ce)
           
 void deleteCalendarEntry(CalendarEntry ce)
           
 List getArchives(Blog b)
           
 List getArchives(Long blogId)
           
 CalendarEntry getCalendarEntryByID(long id)
           
 CalendarEntry getCalendarEntryByID(Long id)
           
 CalendarEntry getCalendarEntryForBlogByDate(Blog b, Date date)
           
 CalendarEntry getCalendarEntryForBlogByDayMonthYear(Blog b, int day, int month, int year)
           
 List getCalendarEntryForBlogByMonthYear(Blog b, int month, int year)
           
 List getCalendarEntryForBlogByYear(Blog b, int year)
           
 List getYearArchives(Blog b, int year)
           
 List getYearArchives(Long blogId, int year)
           
 List getYearArchives(String blogUrlname, int year)
           
 void incrementCalendarEntry(CalendarEntry ce)
           
 void updateCalendarEntry(CalendarEntry ce)
           
 
Methods inherited from class com.j2biz.blogunity.dao.AbstractDAO
create, delete, getByID, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CalendarEntryDAO

public CalendarEntryDAO()
Method Detail

getCalendarEntryByID

public CalendarEntry getCalendarEntryByID(long id)
                                   throws BlogunityException
Throws:
BlogunityException

getCalendarEntryByID

public CalendarEntry getCalendarEntryByID(Long id)
                                   throws BlogunityException
Throws:
BlogunityException

getCalendarEntryForBlogByDayMonthYear

public CalendarEntry getCalendarEntryForBlogByDayMonthYear(Blog b,
                                                           int day,
                                                           int month,
                                                           int year)
                                                    throws BlogunityException
Throws:
BlogunityException

getCalendarEntryForBlogByDate

public CalendarEntry getCalendarEntryForBlogByDate(Blog b,
                                                   Date date)
                                            throws BlogunityException
Throws:
BlogunityException

getCalendarEntryForBlogByMonthYear

public List getCalendarEntryForBlogByMonthYear(Blog b,
                                               int month,
                                               int year)
                                        throws BlogunityException
Throws:
BlogunityException

getCalendarEntryForBlogByYear

public List getCalendarEntryForBlogByYear(Blog b,
                                          int year)
                                   throws BlogunityException
Throws:
BlogunityException

createCalendarEntry

public Serializable createCalendarEntry(CalendarEntry ce)
                                 throws BlogunityException
Throws:
BlogunityException

deleteCalendarEntry

public void deleteCalendarEntry(CalendarEntry ce)
                         throws BlogunityException
Throws:
BlogunityException

updateCalendarEntry

public void updateCalendarEntry(CalendarEntry ce)
                         throws BlogunityException
Throws:
BlogunityException

incrementCalendarEntry

public void incrementCalendarEntry(CalendarEntry ce)
                            throws BlogunityException
Throws:
BlogunityException

decrementCalendarEntry

public void decrementCalendarEntry(CalendarEntry ce)
                            throws BlogunityException
Throws:
BlogunityException

getArchives

public List getArchives(Blog b)

getArchives

public List getArchives(Long blogId)

getYearArchives

public List getYearArchives(Blog b,
                            int year)

getYearArchives

public List getYearArchives(Long blogId,
                            int year)

getYearArchives

public List getYearArchives(String blogUrlname,
                            int year)


Copyright (c)j2biz.com