Package org.javlo.service.calendar
Class CalendarBean
- java.lang.Object
-
- org.javlo.service.calendar.CalendarBean
-
public class CalendarBean extends Object
-
-
Constructor Summary
Constructors Constructor Description CalendarBean()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Day>
getDays()
Day[][]
getDaysBloc()
ICalFilter
getFilter()
static CalendarBean
getInstance(ContentContext ctx)
static CalendarBean
getInstance(ContentContext ctx, int year, int month)
static CalendarBean
getInstance(ContentContext ctx, int year, int month, int step)
static CalendarBean
getInstance(ContentContext ctx, String key)
static CalendarBean
getInstance(ContentContext ctx, String key, int step)
String
getKey()
String
getLabel()
int
getMonth()
Map<Integer,List<ICal>>
getMonthEvents()
String
getNextKey()
String
getPreviousKey()
int
getYear()
static void
main(String[] args)
void
setFilter(ICalFilter filter)
void
setMonth(int month)
void
setYear(int year)
-
-
-
Method Detail
-
getInstance
public static CalendarBean getInstance(ContentContext ctx) throws Exception
- Throws:
Exception
-
getInstance
public static CalendarBean getInstance(ContentContext ctx, String key) throws Exception
- Throws:
Exception
-
getInstance
public static CalendarBean getInstance(ContentContext ctx, String key, int step) throws Exception
- Throws:
Exception
-
getInstance
public static CalendarBean getInstance(ContentContext ctx, int year, int month) throws Exception
- Throws:
Exception
-
getInstance
public static CalendarBean getInstance(ContentContext ctx, int year, int month, int step) throws Exception
- Throws:
Exception
-
getYear
public int getYear()
-
setYear
public void setYear(int year)
-
getMonth
public int getMonth()
-
getKey
public String getKey()
-
getNextKey
public String getNextKey()
-
getPreviousKey
public String getPreviousKey()
-
setMonth
public void setMonth(int month)
-
getLabel
public String getLabel()
-
getDaysBloc
public Day[][] getDaysBloc()
-
main
public static void main(String[] args)
-
getFilter
public ICalFilter getFilter()
-
setFilter
public void setFilter(ICalFilter filter)
-
-