@Path(value="/todolist/{containerUid}")
public interface ITodoList
extends IChangelogSupport, ICountingSupport, ICrudByIdSupport<VTodo>, ISortingSupport, IDataShardSupport, IRestoreCrudSupport<VTodo>
ITodoUids. Use
 IContainers.all(net.bluemind.core.container.api.ContainerQuery) to lookup all
 containers of specific type.| Modifier and Type | Method and Description | 
|---|---|
java.util.List<ItemValue<VTodo>> | 
all()
List all Tasks of a Todolist container 
 | 
java.util.List<java.lang.String> | 
allUids()
Retrieve all  
VTodo UIDs of this Todolist | 
void | 
copy(java.util.List<java.lang.String> uids,
    java.lang.String descContainerUid)
Copy  
VTodos to another Todolist | 
void | 
create(java.lang.String uid,
      VTodo todo)
Creates a new  
VTodo entry. | 
Ack | 
createById(long id,
          VTodo value)
Create a  
VTodo | 
void | 
delete(java.lang.String uid)
Delete a  
VTodo | 
void | 
deleteById(long id)
Delete a  
VTodo | 
ItemValue<VTodo> | 
getComplete(java.lang.String uid)
Fetch a  
VTodo by its unique UID | 
ItemValue<VTodo> | 
getCompleteById(long id)
 | 
void | 
move(java.util.List<java.lang.String> uids,
    java.lang.String descContainerUid)
Move  
VTodos to another Todolist | 
java.util.List<ItemValue<VTodo>> | 
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple  
VTodos by their unique UIDs | 
java.util.List<ItemValue<VTodo>> | 
multipleGetById(java.util.List<java.lang.Long> ids)
Fetch multiple  
VTodos by their unique IDs | 
void | 
reset()
Delete all  
VTodos of this Todolist | 
ListResult<ItemValue<VTodo>> | 
search(VTodoQuery query)
Search  
VTodo's by VTodoQuery | 
java.util.List<java.lang.Long> | 
sortedIds(SortDescriptor sorted)
Get a sorted list (IDs according to the sorted list of items) of internal IDs 
 | 
ContainerChangeset<java.lang.String> | 
sync(java.lang.Long since,
    VTodoChanges changes)
Client/Server synchronization of  
VTodos. | 
void | 
update(java.lang.String uid,
      VTodo todo)
Modifies an existing  
VTodo. | 
Ack | 
updateById(long id,
          VTodo value)
Update a  
VTodo | 
ContainerUpdatesResult | 
updates(VTodoChanges changes)
Updates multiple  
VTodos. | 
allIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelogcountmultipleDeleteByIdxferget, restore@GET java.util.List<ItemValue<VTodo>> all() throws ServerFault
VTodo of the containerServerFault - common error object@PUT
 @Path(value="{uid}")
void create(@PathParam(value="uid")
                                       java.lang.String uid,
                                       VTodo todo)
                                throws ServerFault
VTodo entry.uid - Unique entry UIDtodo - VTodo valuesServerFault - common error object@POST
 @Path(value="{uid}")
void update(@PathParam(value="uid")
                                        java.lang.String uid,
                                        VTodo todo)
                                 throws ServerFault
VTodo.uid - Unique entry UIDtodo - VTodo valuesServerFault - common error object@GET
 @Path(value="{uid}/complete")
ItemValue<VTodo> getComplete(@PathParam(value="uid")
                                                                 java.lang.String uid)
                                                          throws ServerFault
VTodo by its unique UIDuid - Unique entry UIDItemValue containing a
         VTodoServerFault - common error object@POST @Path(value="_mget") java.util.List<ItemValue<VTodo>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
VTodos by their unique UIDsuids - list of unique UIDsItemValues
         containing VTodosServerFault - common error object@POST @Path(value="_mgetById") java.util.List<ItemValue<VTodo>> multipleGetById(java.util.List<java.lang.Long> ids) throws ServerFault
VTodos by their unique IDsmultipleGetById in interface IReadByIdSupport<VTodo>ids - list of unique IDsItemValues
         containing VTodosServerFault - common error object@DELETE
 @Path(value="{uid}")
void delete(@PathParam(value="uid")
                                          java.lang.String uid)
                                   throws ServerFault
VTododelete in interface IRestoreCrudSupport<VTodo>uid - unique UIDServerFault - common error object@POST @Path(value="_search") ListResult<ItemValue<VTodo>> search(VTodoQuery query) throws ServerFault
VTodo's by VTodoQueryquery - VTodoQueryListResult of the matching
         ItemValues containing a
         VTodoServerFault - common error object@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(VTodoChanges changes) throws ServerFault
VTodos.changes - VTodoChanges containing the requested updatesContainerUpdatesResultServerFault - common error object@POST @Path(value="_sync") ContainerChangeset<java.lang.String> sync(@QueryParam(value="since") java.lang.Long since, VTodoChanges changes) throws ServerFault
VTodos. Applies client changes and
 returns server updates happened since since parameter.since - timestamp of the requested server updateschanges - client updatesContainerChangeset
         containing the server updatesServerFault - common error object@POST
 @Path(value="_copy/{destContainerUid}")
void copy(java.util.List<java.lang.String> uids,
                                                         @PathParam(value="destContainerUid")
                                                         java.lang.String descContainerUid)
                                                  throws ServerFault
VTodos to another Todolistuids - list of unique UIDsdescContainerUid - the destination Todolist container UIDServerFault - common error object@POST
 @Path(value="_move/{destContainerUid}")
void move(java.util.List<java.lang.String> uids,
                                                         @PathParam(value="destContainerUid")
                                                         java.lang.String descContainerUid)
                                                  throws ServerFault
VTodos to another Todolistuids - list of unique UIDsdescContainerUid - the destination Todolist container UIDServerFault - common error object@POST
 @Path(value="_reset")
void reset()
                                 throws ServerFault
VTodos of this TodolistServerFault - common error object@GET
 @Path(value="{id}/completeById")
ItemValue<VTodo> getCompleteById(@PathParam(value="id")
                                                                        long id)
getCompleteById in interface IReadByIdSupport<VTodo>id - internal idItemValue
         containing a VTodo@POST
 @Path(value="id/{id}")
Ack updateById(@PathParam(value="id")
                                             long id,
                                             VTodo value)
VTodoupdateById in interface ICrudByIdSupport<VTodo>id - internal idvalue - VTodoAck containing the new
         version number@PUT
 @Path(value="id/{id}")
Ack createById(@PathParam(value="id")
                                            long id,
                                            VTodo value)
VTodocreateById in interface ICrudByIdSupport<VTodo>id - internal idvalue - VTodoAck containing the new
         version number@DELETE
 @Path(value="id/{id}")
void deleteById(@PathParam(value="id")
                                                long id)
VTododeleteById in interface ICrudByIdSupport<VTodo>id - internal id@GET
 @Path(value="_all")
java.util.List<java.lang.String> allUids()
                                                            throws ServerFault
VTodo UIDs of this TodolistServerFault - common error object@POST @Path(value="_sorted") java.util.List<java.lang.Long> sortedIds(SortDescriptor sorted) throws ServerFault
sortedIds in interface ISortingSupport{@link - net.bluemind.core.container.model.SortDescriptor}ServerFault - common error objectCopyright © 2023. All Rights Reserved.