public class CalendarDB
extends mvp.Model
| Modifier and Type | Field and Description |
|---|---|
protected GlobalOptions |
global_options
Set of calendar options commom by default for all users, both
registered and non-registered
|
protected GroupDB |
groupDB
User group data base
|
protected RoomDB |
roomDB
Location 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(mvp.View view) |
| 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 global_options
protected UserWorkSpace workspace
public Date getSelectedDate()
public void setSelectedDate(Date date)
public UserCalendar getCurrentCalendar()