public class CalendarDB
extends mvp.Model
| Modifier and Type | Field and Description |
|---|---|
protected GlobalOptions |
globalOptions
Set of calendar options common by default for all users, both
registered and non-registered
|
protected GroupDB |
groupDB
User group data base
|
protected RoomDB |
roomDB
Room data base
|
protected UserCalendars |
userCalendars
List of UserCalendars for all registered users
|
protected UserDB |
userDB
Registered user data base
|
protected UserWorkSpace |
workspace
Active calendars upon which the current user is working.
|
| Constructor and Description |
|---|
CalendarDB()
Construct this by constructing and initializing all components.
|
| Modifier and Type | Method and Description |
|---|---|
UserCalendar |
getCurrentCalendar()
Return the currently active calendar in the workspace.
|
Date |
getSelectedDate()
Get the currently selected date.
|
void |
setSelectedDate(Date date)
Set the currently selected date to the given date.
|
protected UserCalendars userCalendars
protected UserDB userDB
protected GroupDB groupDB
protected RoomDB roomDB
protected GlobalOptions globalOptions
protected UserWorkSpace workspace
public CalendarDB()
public UserCalendar getCurrentCalendar()
public Date getSelectedDate()
public void setSelectedDate(Date date)