Interface INote
- All Superinterfaces:
IChangelogSupport, ICountingSupport, ICrudByIdSupport<VNote>, IItemChangelogSupport, IReadByIdSupport<VNote>, IRestoreCrudSupport<VNote>, IRestoreItemCrudSupport<VNote>, IRestoreSupport<VNote>, ISortingSupport
@Path("/notes/{containerUid}")
public interface INote
extends IChangelogSupport, IItemChangelogSupport, ICountingSupport, ICrudByIdSupport<VNote>, ISortingSupport, IRestoreItemCrudSupport<VNote>
Notes API. All methods work on Notes in a specific container identified by a
unique UID. Use
IContainers.all(ContainerQuery) to
lookup all containers of specific type.-
Method Summary
Modifier and TypeMethodDescriptionall()List all Notes of a containerallUids()Retrieve allVNoteUIDs of this uservoidCreates a newVNoteentry.voidDelete aVNotenet.bluemind.core.api.StreamExport allVNotefrom a notes container as json stream (VNote)getComplete(String uid) Fetch aVNoteby its unique UIDmultipleGet(List<String> uids) Fetch multipleVNotes by their unique UIDsvoidreset()Delete allVNotes of this usersearch(VNoteQuery query) SearchVNote's byVNoteQueryvoidModifies an existingVNote.updates(VNoteChanges changes) Updates multipleVNotes.Methods inherited from interface IChangelogSupport
changeset, changesetById, filteredChangesetById, getVersionMethods inherited from interface ICountingSupport
countMethods inherited from interface ICrudByIdSupport
createById, deleteById, multipleDeleteById, multipleDeleteById, updateByIdMethods inherited from interface IItemChangelogSupport
itemChangelogMethods inherited from interface IReadByIdSupport
getCompleteById, multipleGetByIdMethods inherited from interface IRestoreSupport
get, itemValueExists, restoreMethods inherited from interface ISortingSupport
sortedIds, sortedUids
-
Method Details
-
all
-
create
-
update
-
getComplete
@GET @Path("{uid}/complete") ItemValue<VNote> getComplete(@PathParam("uid") String uid) throws net.bluemind.core.api.fault.ServerFault Fetch aVNoteby its unique UID- Specified by:
getCompletein interfaceIRestoreItemCrudSupport<VNote>- Parameters:
uid- Unique entry UID- Returns:
ItemValuecontaining aVNote- Throws:
net.bluemind.core.api.fault.ServerFault- common error object
-
multipleGet
-
delete
@DELETE @Path("{uid}") void delete(@PathParam("uid") String uid) throws net.bluemind.core.api.fault.ServerFault Delete aVNote- Specified by:
deletein interfaceIRestoreCrudSupport<VNote>- Parameters:
uid- unique UID- Throws:
net.bluemind.core.api.fault.ServerFault- common error object
-
reset
@POST @Path("_reset") void reset() throws net.bluemind.core.api.fault.ServerFaultDelete allVNotes of this user- Throws:
net.bluemind.core.api.fault.ServerFault- common error object
-
updates
@PUT @Path("_mupdates") ContainerUpdatesResult updates(VNoteChanges changes) throws net.bluemind.core.api.fault.ServerFault Updates multipleVNotes.- Parameters:
changes-VNoteChangescontaining the requested updates- Returns:
ContainerUpdatesResult- Throws:
net.bluemind.core.api.fault.ServerFault- common error object
-
allUids
-
search
@POST @Path("_search") net.bluemind.core.api.ListResult<ItemValue<VNote>> search(VNoteQuery query) throws net.bluemind.core.api.fault.ServerFault SearchVNote's byVNoteQuery- Parameters:
query-VNoteQuery- Returns:
ListResultof the matchingItemValues containing aVNote- Throws:
net.bluemind.core.api.fault.ServerFault- common error object
-
exportAll
@GET @Path("_exportall") net.bluemind.core.api.Stream exportAll() throws net.bluemind.core.api.fault.ServerFaultExport allVNotefrom a notes container as json stream (VNote)- Returns:
Streamof VNote list.- Throws:
net.bluemind.core.api.fault.ServerFault- common error object- See Also:
-