public class CalendarViewService extends java.lang.Object implements ICalendarView, IInCoreCalendarView, IUserCalendarViews
Constructor and Description |
---|
CalendarViewService(BmContext context,
Container container) |
Modifier and Type | Method and Description |
---|---|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since) |
void |
create(java.lang.String uid,
CalendarView view)
Creates a
CalendarView |
void |
delete(java.lang.String uid)
Deletes a
CalendarView |
void |
delete(java.lang.String uid,
boolean force) |
ItemValue<CalendarView> |
getComplete(java.lang.String uid)
Retrieves a
CalendarView |
ListResult<ItemValue<CalendarView>> |
list()
Returns a list of
CalendarView |
java.util.List<ItemValue<CalendarView>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
CalendarView s from theirs uniques uids |
void |
setDefault(java.lang.String id)
Set user the default view.
|
void |
update(java.lang.String uid,
CalendarView view)
Updates a
CalendarView |
void |
updates(CalendarViewChanges changes)
Applies changes (create, update, delete) to a calendar specified by its
containerUid . |
public ItemValue<CalendarView> getComplete(java.lang.String uid) throws ServerFault
ICalendarView
CalendarView
getComplete
in interface ICalendarView
ServerFault
public void create(java.lang.String uid, CalendarView view) throws ServerFault
ICalendarView
CalendarView
create
in interface ICalendarView
ServerFault
public void update(java.lang.String uid, CalendarView view) throws ServerFault
ICalendarView
CalendarView
update
in interface ICalendarView
ServerFault
public void delete(java.lang.String uid) throws ServerFault
ICalendarView
CalendarView
delete
in interface ICalendarView
ServerFault
public void delete(java.lang.String uid, boolean force) throws ServerFault
delete
in interface IInCoreCalendarView
ServerFault
public ListResult<ItemValue<CalendarView>> list() throws ServerFault
ICalendarView
CalendarView
list
in interface ICalendarView
ServerFault
public ContainerChangeset<java.lang.String> changeset(java.lang.Long since) throws ServerFault
changeset
in interface ICalendarView
ContainerChangeset
ServerFault
public java.util.List<ItemValue<CalendarView>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
ICalendarView
CalendarView
s from theirs uniques uidsmultipleGet
in interface ICalendarView
List>
ServerFault
public void updates(CalendarViewChanges changes) throws ServerFault
ICalendarView
containerUid
.updates
in interface ICalendarView
ServerFault
public void setDefault(java.lang.String id) throws ServerFault
ICalendarView
setDefault
in interface ICalendarView
id
- Default view item uidServerFault
Copyright © 2021. All Rights Reserved.