@Path(value="/notes/{containerUid}")
public interface INote
extends IChangelogSupport, ICountingSupport, ICrudByIdSupport<VNote>, ISortingSupport, IDataShardSupport, IRestoreCrudSupport<VNote>
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<VNote>> |
all()
List all Notes of a container
|
java.util.List<java.lang.String> |
allUids()
Retrieve all
VNote UIDs of this user |
void |
create(java.lang.String uid,
VNote note)
Creates a new
VNote entry. |
Ack |
createById(long id,
VNote value)
Create a
VNote |
void |
delete(java.lang.String uid)
Delete a
VNote |
void |
deleteById(long id)
Delete a
VNote |
ItemValue<VNote> |
getComplete(java.lang.String uid)
Fetch a
VNote by its unique UID |
ItemValue<VNote> |
getCompleteById(long id)
|
java.util.List<ItemValue<VNote>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
VNotes by their unique UIDs |
java.util.List<ItemValue<VNote>> |
multipleGetById(java.util.List<java.lang.Long> ids)
Fetch multiple
VNotes by their unique IDs |
void |
reset()
Delete all
VNotes of this user |
ListResult<ItemValue<VNote>> |
search(VNoteQuery query)
Search
VNote's by VNoteQuery |
java.util.List<java.lang.Long> |
sortedIds(SortDescriptor sorted)
Get a sorted list (IDs according to the sorted list of items) of internal IDs
|
void |
update(java.lang.String uid,
VNote note)
Modifies an existing
VNote. |
Ack |
updateById(long id,
VNote value)
Update a
VNote |
ContainerUpdatesResult |
updates(VNoteChanges changes)
Updates multiple
VNotes. |
allIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelogcountmultipleDeleteByIdxferget, restore@GET java.util.List<ItemValue<VNote>> all() throws ServerFault
VNote of the containerServerFault - common error object@PUT
@Path(value="{uid}")
void create(@PathParam(value="uid")
java.lang.String uid,
VNote note)
throws ServerFault
VNote entry.uid - Unique entry UIDnote - VNote valuesServerFault - common error object@POST
@Path(value="{uid}")
void update(@PathParam(value="uid")
java.lang.String uid,
VNote note)
throws ServerFault
VNote.uid - Unique entry UIDnote - VNote valuesServerFault - common error object@GET
@Path(value="{uid}/complete")
ItemValue<VNote> getComplete(@PathParam(value="uid")
java.lang.String uid)
throws ServerFault
VNote by its unique UIDuid - Unique entry UIDItemValue containing a
VNoteServerFault - common error object@POST @Path(value="_mget") java.util.List<ItemValue<VNote>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
VNotes by their unique UIDsuids - list of unique UIDsItemValues
containing VNotesServerFault - common error object@POST @Path(value="_mgetById") java.util.List<ItemValue<VNote>> multipleGetById(java.util.List<java.lang.Long> ids) throws ServerFault
VNotes by their unique IDsmultipleGetById in interface IReadByIdSupport<VNote>ids - list of unique IDsItemValues
containing VNotesServerFault - common error object@DELETE
@Path(value="{uid}")
void delete(@PathParam(value="uid")
java.lang.String uid)
throws ServerFault
VNotedelete in interface IRestoreCrudSupport<VNote>uid - unique UIDServerFault - common error object@POST
@Path(value="_reset")
void reset()
throws ServerFault
VNotes of this userServerFault - common error object@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(VNoteChanges changes) throws ServerFault
VNotes.changes - VNoteChanges containing the requested updatesContainerUpdatesResultServerFault - common error object@GET
@Path(value="{id}/completeById")
ItemValue<VNote> getCompleteById(@PathParam(value="id")
long id)
getCompleteById in interface IReadByIdSupport<VNote>id - internal idItemValue
containing a VNote@POST
@Path(value="id/{id}")
Ack updateById(@PathParam(value="id")
long id,
VNote value)
VNoteupdateById in interface ICrudByIdSupport<VNote>id - internal idvalue - VNoteAck containing the new
version number@PUT
@Path(value="id/{id}")
Ack createById(@PathParam(value="id")
long id,
VNote value)
VNotecreateById in interface ICrudByIdSupport<VNote>id - internal idvalue - VNoteAck containing the new
version number@DELETE
@Path(value="id/{id}")
void deleteById(@PathParam(value="id")
long id)
VNotedeleteById in interface ICrudByIdSupport<VNote>id - internal id@GET
@Path(value="_all")
java.util.List<java.lang.String> allUids()
throws ServerFault
VNote UIDs of this userServerFault - 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 object@POST @Path(value="_search") ListResult<ItemValue<VNote>> search(VNoteQuery query) throws ServerFault
VNote's by VNoteQueryquery - VNoteQueryListResult of the matching
ItemValues containing a
VNoteServerFault - common error objectCopyright © 2024. All Rights Reserved.