Package net.bluemind.addressbook.api
Interface IAddressBooksMgmt
- All Superinterfaces:
IRestoreSupport<AddressBookDescriptor>
@Path("/mgmt/addressbooks")
public interface IAddressBooksMgmt
extends IRestoreSupport<AddressBookDescriptor>
Addressbooks management api
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(String uid, AddressBookDescriptor descriptor, boolean isDefault) void
getComplete
(String uid) reindex an addressbookreindexDomain
(String domainUid) void
void
update
(String uid, AddressBookDescriptor descriptor) Methods inherited from interface net.bluemind.core.container.api.IRestoreSupport
get, restore
-
Method Details
-
reindexAll
- Throws:
ServerFault
-
reindexDomain
@POST @Path("_reindexDomain") TaskRef reindexDomain(@QueryParam("domain") String domainUid) throws ServerFault - Throws:
ServerFault
-
reindex
@POST @Path("{containerUid}/_reindex") TaskRef reindex(@PathParam("containerUid") String bookUid) throws ServerFault reindex an addressbook- Parameters:
bookUid
-- Returns:
- Throws:
ServerFault
-
backup
@GET @Path("{containerUid}/_backupstream") Stream backup(@PathParam("containerUid") String abUid, @QueryParam("since") Long since) throws ServerFault - Throws:
ServerFault
-
restore
@POST @Path("{containerUid}/_restorestream") void restore(@PathParam("containerUid") String abUid, Stream restoreStream, @QueryParam("reset") boolean resetBeforeRestore) throws ServerFault - Throws:
ServerFault
-
delete
@DELETE @Path("{containerUid}") void delete(@PathParam("containerUid") String abUid) throws ServerFault - Throws:
ServerFault
-
getComplete
@Path("{containerUid}") @GET AddressBookDescriptor getComplete(@PathParam("containerUid") String uid) throws ServerFault - Throws:
ServerFault
-
create
@Path("{containerUid}") @PUT void create(@PathParam("containerUid") String uid, AddressBookDescriptor descriptor, @QueryParam("isDefault") boolean isDefault) throws ServerFault - Throws:
ServerFault
-
update
@Path("{containerUid}") @POST void update(@PathParam("containerUid") String uid, AddressBookDescriptor descriptor) throws ServerFault - Throws:
ServerFault
-