public class AddressBooksMgmt extends java.lang.Object implements IAddressBooksMgmt, IInCoreAddressBooksMgmt
IAddressBooksMgmt.ChangesetItem
Constructor and Description |
---|
AddressBooksMgmt(BmContext context) |
Modifier and Type | Method and Description |
---|---|
Stream |
backup(java.lang.String abUid,
java.lang.Long since) |
void |
create(java.lang.String uid,
AddressBookDescriptor descriptor,
boolean isDefault) |
void |
delete(java.lang.String uid) |
AddressBookDescriptor |
getComplete(java.lang.String uid) |
TaskRef |
reindex(java.lang.String bookUid)
reindex an addressbook
|
void |
reindex(java.lang.String bookUid,
IServerTaskMonitor monitor)
reindex an addressbook
|
TaskRef |
reindexAll() |
void |
reindexAll(IServerTaskMonitor monitor)
reindex all addressbooks (drop current index and recreate them)
|
TaskRef |
reindexDomain(java.lang.String domainUid) |
void |
reindexDomain(java.lang.String domainUid,
IServerTaskMonitor monitor)
reindex all addressbooks of a domain
|
void |
restore(java.lang.String abUid,
Stream restoreStream,
boolean resetBeforeRestore) |
void |
update(java.lang.String uid,
AddressBookDescriptor descriptor) |
public AddressBooksMgmt(BmContext context)
public TaskRef reindexAll() throws ServerFault
reindexAll
in interface IAddressBooksMgmt
ServerFault
public TaskRef reindexDomain(java.lang.String domainUid) throws ServerFault
reindexDomain
in interface IAddressBooksMgmt
ServerFault
public TaskRef reindex(java.lang.String bookUid) throws ServerFault
IAddressBooksMgmt
reindex
in interface IAddressBooksMgmt
ServerFault
public void reindex(java.lang.String bookUid, IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreAddressBooksMgmt
reindex
in interface IInCoreAddressBooksMgmt
bookUid
- addressbook uidjava.lang.Exception
public void reindexAll(IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreAddressBooksMgmt
reindexAll
in interface IInCoreAddressBooksMgmt
java.lang.Exception
public void reindexDomain(java.lang.String domainUid, IServerTaskMonitor monitor) throws java.lang.Exception
IInCoreAddressBooksMgmt
reindexDomain
in interface IInCoreAddressBooksMgmt
java.lang.Exception
public Stream backup(java.lang.String abUid, java.lang.Long since) throws ServerFault
backup
in interface IAddressBooksMgmt
ServerFault
public void restore(java.lang.String abUid, Stream restoreStream, boolean resetBeforeRestore) throws ServerFault
restore
in interface IAddressBooksMgmt
ServerFault
public void delete(java.lang.String uid) throws ServerFault
delete
in interface IAddressBooksMgmt
ServerFault
public AddressBookDescriptor getComplete(java.lang.String uid) throws ServerFault
getComplete
in interface IAddressBooksMgmt
ServerFault
public void create(java.lang.String uid, AddressBookDescriptor descriptor, boolean isDefault) throws ServerFault
create
in interface IAddressBooksMgmt
ServerFault
public void update(java.lang.String uid, AddressBookDescriptor descriptor) throws ServerFault
update
in interface IAddressBooksMgmt
ServerFault
Copyright © 2021. All Rights Reserved.