public class CalendarsMgmt extends java.lang.Object implements ICalendarsMgmt, IInCoreCalendarsMgmt
Constructor and Description |
---|
CalendarsMgmt(BmContext context) |
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
CalendarDescriptor descriptor) |
void |
delete(java.lang.String uid) |
CalendarDescriptor |
getComplete(java.lang.String uid) |
TaskRef |
reindex(java.lang.String calUid)
reindex a calendar
|
void |
reindex(java.lang.String calUid,
IServerTaskMonitor monitor)
reindex a calendar
|
TaskRef |
reindexAll() |
void |
reindexAll(IServerTaskMonitor monitor)
reindex all calendars (drop current index and recreate them)
|
void |
reindexDomain(java.lang.String domainUid,
IServerTaskMonitor monitor)
reindex a domain
|
void |
update(java.lang.String uid,
CalendarDescriptor descriptor) |
public CalendarsMgmt(BmContext context)
public TaskRef reindexAll() throws ServerFault
reindexAll
in interface ICalendarsMgmt
ServerFault
public void reindexAll(IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreCalendarsMgmt
reindexAll
in interface IInCoreCalendarsMgmt
java.lang.Exception
public void reindexDomain(java.lang.String domainUid, IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreCalendarsMgmt
reindexDomain
in interface IInCoreCalendarsMgmt
domainUid
- domainjava.lang.Exception
public TaskRef reindex(java.lang.String calUid) throws ServerFault
ICalendarsMgmt
reindex
in interface ICalendarsMgmt
ServerFault
public void reindex(java.lang.String calUid, IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreCalendarsMgmt
reindex
in interface IInCoreCalendarsMgmt
calUid
- calendar uidjava.lang.Exception
public void create(java.lang.String uid, CalendarDescriptor descriptor) throws ServerFault
create
in interface ICalendarsMgmt
ServerFault
public CalendarDescriptor getComplete(java.lang.String uid) throws ServerFault
getComplete
in interface ICalendarsMgmt
ServerFault
public void update(java.lang.String uid, CalendarDescriptor descriptor) throws ServerFault
update
in interface ICalendarsMgmt
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface ICalendarsMgmt
ServerFault
Copyright © 2021. All Rights Reserved.