@Path(value="/todolist/{containerUid}")
public interface ITodoList
extends IChangelogSupport
ITodoUids. Use
IContainers.all(net.bluemind.core.container.api.ContainerQuery) to lookup all
interface.| Modifier and Type | Method and Description |
|---|---|
java.util.List<ItemValue<VTodo>> |
all()
List all items from container
|
java.util.List<java.lang.String> |
allUids()
Returns all the items uid from the container
|
void |
copy(java.util.List<java.lang.String> uids,
java.lang.String descContainerUid)
Copy entries from one Todo List to another one
|
void |
create(java.lang.String uid,
VTodo todo)
Creates a new
VTodo entry. |
void |
delete(java.lang.String uid)
Delete
VTodo entry |
ItemValue<VTodo> |
getComplete(java.lang.String uid)
Fetch a
VTodo from its unique uid |
void |
move(java.util.List<java.lang.String> uids,
java.lang.String descContainerUid)
Move entries from one Todo list to another one
|
java.util.List<ItemValue<VTodo>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
VTodos from theirs uniques uids |
void |
reset() |
ListResult<ItemValue<VTodo>> |
search(VTodoQuery query)
ElasticSearch based
VTodo search |
ContainerChangeset<java.lang.String> |
sync(java.lang.Long since,
VTodoChanges changes)
Apply changes sent by client and return changes that happens on server since
since parameter. |
void |
update(java.lang.String uid,
VTodo todo)
Modifies an existing
VTodo entry. |
ContainerUpdatesResult |
updates(VTodoChanges changes)
Updates multiples entries at once (should be transactional: if one operation
fail, nothing is written)
|
changeset, changesetById, containerChangelog, getVersion, itemChangelog@GET java.util.List<ItemValue<VTodo>> all() throws ServerFault
VTodo of the containerServerFault@PUT
@Path(value="{uid}")
void create(@PathParam(value="uid")
java.lang.String uid,
VTodo todo)
throws ServerFault
VTodo entry.uid - uid of the entrytodo - value of the entryServerFault@POST
@Path(value="{uid}")
void update(@PathParam(value="uid")
java.lang.String uid,
VTodo todo)
throws ServerFault
VTodo entry.uid - uid of the entrytodo - value of the entryServerFault@GET
@Path(value="{uid}/complete")
ItemValue<VTodo> getComplete(@PathParam(value="uid")
java.lang.String uid)
throws ServerFault
VTodo from its unique uiduid - ItemValueServerFault@POST @Path(value="_mget") java.util.List<ItemValue<VTodo>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
VTodos from theirs uniques uidsuids - List> ServerFault@DELETE
@Path(value="{uid}")
void delete(@PathParam(value="uid")
java.lang.String uid)
throws ServerFault
VTodo entryuid - ServerFault@POST @Path(value="_search") ListResult<ItemValue<VTodo>> search(VTodoQuery query) throws ServerFault
VTodo searchquery - ServerFault@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(VTodoChanges changes) throws ServerFault
changes - ServerFault@POST @Path(value="_sync") ContainerChangeset<java.lang.String> sync(@QueryParam(value="since") java.lang.Long since, VTodoChanges changes) throws ServerFault
since parameter.since - changes - ServerFault@POST
@Path(value="_copy/{destContainerUid}")
void copy(java.util.List<java.lang.String> uids,
@PathParam(value="destContainerUid")
java.lang.String descContainerUid)
throws ServerFault
uids - descContainerUid - ServerFault@POST
@Path(value="_move/{destContainerUid}")
void move(java.util.List<java.lang.String> uids,
@PathParam(value="destContainerUid")
java.lang.String descContainerUid)
throws ServerFault
uids - descContainerUid - ServerFault@POST
@Path(value="_reset")
void reset()
throws ServerFault
ServerFault@GET
@Path(value="_all")
java.util.List<java.lang.String> allUids()
throws ServerFault
ServerFaultCopyright © 2021. All Rights Reserved.