@Path(value="/tags/{containerUid}")
public interface ITags
Modifier and Type | Method and Description |
---|---|
java.util.List<ItemValue<Tag>> |
all()
Find all
Tag s. |
java.util.List<java.lang.String> |
allUids()
List all
Tag uids from container |
ContainerChangelog |
changelog(java.lang.Long since)
ChangeLog of the container since
|
ContainerChangeset<java.lang.String> |
changeset(java.lang.Long since)
ChangeSet of the container since
|
void |
create(java.lang.String uid,
Tag tag)
Create a new
Tag . |
void |
delete(java.lang.String uid)
Delete a
Tag . |
ItemValue<Tag> |
getComplete(java.lang.String uid)
Fetch a
Tag from its unique uid |
java.util.List<ItemValue<Tag>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
Tag s from theirs uniques uids |
void |
update(java.lang.String uid,
Tag tag)
Update a
Tag . |
ContainerUpdatesResult |
updates(TagChanges changes)
Updates multiples entries at once (should be transactional: if one
operation fail, nothing is written)
|
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, Tag tag) throws ServerFault
Tag
. Tag can be associated with items and may be
used to categorize or to help searching those items.uid
- The unique identifiertag
- Tag
that will be created. If the current user don't
have permission to execute the action.ServerFault
- If any things go wrongs, this is the default Exception to
throw.@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, Tag tag) throws ServerFault
Tag
.uid
- The unique identifiertag
- Tag
that will be created. If the current user don't
have permission to execute the action.ServerFault
- If any things go wrongs, this is the default Exception to
throw.@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Tag
.uid
- The unique identifier of the Tag
tag
- Tag
that will be created. If the current user don't
have permission to execute the action.ServerFault
- If any things go wrongs, this is the default Exception to
throw.@GET @Path(value="{uid}") ItemValue<Tag> getComplete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
Tag
from its unique uiduid
- ItemValue
ServerFault
@POST @Path(value="_mget") java.util.List<ItemValue<Tag>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
Tag
s from theirs uniques uidsuids
- List>
ServerFault
@GET java.util.List<ItemValue<Tag>> all() throws ServerFault
Tag
s. (only user)Tag
s If the current user don't have permission to
execute the action.ServerFault
- If any things go wrongs, this is the default Exception to
throw.@PUT @Path(value="_mupdates") ContainerUpdatesResult updates(TagChanges changes) throws ServerFault
changes
- ServerFault
@GET @Path(value="_changelog") ContainerChangelog changelog(@QueryParam(value="since") java.lang.Long since) throws ServerFault
since
- timestamp of first changes we want to retrieveContainerChangelog
ServerFault
@GET @Path(value="_changeset") ContainerChangeset<java.lang.String> changeset(@QueryParam(value="since") java.lang.Long since) throws ServerFault
since
- timestamp of first changes we want to retrieveServerFault
@GET @Path(value="_alluids") java.util.List<java.lang.String> allUids() throws ServerFault
Tag
uids from containerServerFault
Copyright © 2021. All Rights Reserved.