Package net.bluemind.todolist.api
Interface ITodoListsMgmt
- All Superinterfaces:
IRestoreCrudSupport<ContainerDescriptor>
,IRestoreSupport<ContainerDescriptor>
@Path("/mgmt/todolists")
public interface ITodoListsMgmt
extends IRestoreCrudSupport<ContainerDescriptor>
Todolist indexing API
-
Method Summary
Modifier and TypeMethodDescriptionvoid
create
(String uid, ContainerDescriptor descriptor, boolean isDefault) getComplete
(String uid) Reindex a TodolistReindex all Todolistsvoid
update
(String uid, ContainerDescriptor descriptor) Methods inherited from interface net.bluemind.core.container.api.IRestoreCrudSupport
delete
Methods inherited from interface net.bluemind.core.container.api.IRestoreSupport
get, itemValueExists, restore
-
Method Details
-
reindexAll
Reindex all Todolists- Returns:
TaskRef
which can be used to track this asynchronous operation- Throws:
ServerFault
-
reindex
@POST @Path("{containerUid}/_reindex") TaskRef reindex(@PathParam("containerUid") String todoUid) throws ServerFault Reindex a Todolist- Parameters:
todoUid
- Unique Todolist ID- Returns:
TaskRef
which can be used to track this asynchronous operation- Throws:
ServerFault
-
create
@Path("{containerUid}") @PUT void create(@PathParam("containerUid") String uid, ContainerDescriptor descriptor, @QueryParam("isDefault") boolean isDefault) throws ServerFault - Throws:
ServerFault
-
update
@Path("{containerUid}") @POST void update(@PathParam("containerUid") String uid, ContainerDescriptor descriptor) throws ServerFault - Throws:
ServerFault
-
getComplete
@Path("{containerUid}") @GET ContainerDescriptor getComplete(@PathParam("containerUid") String uid) throws ServerFault - Throws:
ServerFault
-