Dekoh platform API

dekoh.portal.fwk.persistence.search
Class DayMonthYearViewGenerator

java.lang.Object
  extended by dekoh.portal.fwk.persistence.search.DayMonthYearViewGenerator

public class DayMonthYearViewGenerator
extends Object

Contains method to generate various views of a specified digitalObject based on their ContentCreationTime

Since:
Jan 25, 2007

Nested Class Summary
static class DayMonthYearViewGenerator.DayMonthViewEntry
          Represent the number of digitalObjects added to Dekoh in a perticular month of a year
static class DayMonthYearViewGenerator.MonthYearView
           
static class DayMonthYearViewGenerator.MonthYearViewEntry
          Represents the number of DigitalObjects added to Dekoh in a given month of an Year
 
Constructor Summary
DayMonthYearViewGenerator()
           
 
Method Summary
static List getDayMonthView(int year, int month, String digitalObjectType, DIOEntityManager em)
          Finds the number of DigitalObjects of the supplied type and returns a list of DayMonthYearViewGenerator.DayMonthViewEntryies for the specified year and month is represented by DayMonthViewEntry
static List getMonthYearView(String digitaObjectType, DIOEntityManager em)
          Finds the number of DigitalObjects of the supplied type and returns a list of DayMonthYearViewGenerator.MonthYearViewEntry for all DigitalObjects added to Dekoh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DayMonthYearViewGenerator

public DayMonthYearViewGenerator()
Method Detail

getMonthYearView

public static List getMonthYearView(String digitaObjectType,
                                    DIOEntityManager em)
Finds the number of DigitalObjects of the supplied type and returns a list of DayMonthYearViewGenerator.MonthYearViewEntry for all DigitalObjects added to Dekoh

Parameters:
digitaObjectType -
em -
Returns:
List DayMonthYearViewGenerator.MonthYearViewEntry

getDayMonthView

public static List getDayMonthView(int year,
                                   int month,
                                   String digitalObjectType,
                                   DIOEntityManager em)
Finds the number of DigitalObjects of the supplied type and returns a list of DayMonthYearViewGenerator.DayMonthViewEntryies for the specified year and month is represented by DayMonthViewEntry

Parameters:
year -
month -
digitalObjectType -
em -
Returns:
List of DayMonthYearViewGenerator.DayMonthViewEntry for the supplied month

Dekoh platform API

© 2009 Pramati Technologies - Dekoh - Portal for Developers