@Path(value="/deferredaction/{containerUid}") public interface IDeferredAction extends IChangelogSupport
DeferredAction
's which describe an action which will be
executed at a specific date.
This api works on a specific container exposed by
IDeferredActionContainerUids
Modifier and Type | Method and Description |
---|---|
void |
create(java.lang.String uid,
DeferredAction deferredAction)
Creates a new
DeferredAction with the given uid. |
void |
delete(java.lang.String uid)
Deletes a
DeferredAction . |
void |
deleteAll()
Deletes all
DeferredAction . |
java.util.List<ItemValue<DeferredAction>> |
getByActionId(java.lang.String actionId,
java.lang.Long to)
Fetches a list of all
DeferredAction s matching an actionId and period
of time |
java.util.List<ItemValue<DeferredAction>> |
getByReference(java.lang.String reference)
Fetches a list of all
DeferredAction s matching a reference |
ItemValue<DeferredAction> |
getComplete(java.lang.String uid)
Fetches a
DeferredAction . |
java.util.List<ItemValue<DeferredAction>> |
multipleGet(java.util.List<java.lang.String> uids)
Fetch multiple
DeferredAction s by their uids. |
void |
update(java.lang.String uid,
DeferredAction deferredAction)
Updates a
DeferredAction . |
allIds, changeset, changesetById, containerChangelog, filteredChangesetById, getVersion, itemChangelog
@PUT @Path(value="{uid}") void create(@PathParam(value="uid") java.lang.String uid, DeferredAction deferredAction) throws ServerFault
DeferredAction
with the given uid.uid
- the deferred action's unique iddeferredAction
- deferred action dataServerFault
- standard error object (unchecked exception)@POST @Path(value="{uid}") void update(@PathParam(value="uid") java.lang.String uid, DeferredAction deferredAction) throws ServerFault
DeferredAction
.uid
- the deferred action's unique iddeferredAction
- deferred action dataServerFault
- standard error object (unchecked exception)@DELETE @Path(value="{uid}") void delete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
DeferredAction
.uid
- the deferred action's unique idServerFault
- standard error object (unchecked exception)@DELETE @Path(value="_deleteAll") void deleteAll() throws ServerFault
DeferredAction
.ServerFault
- standard error object (unchecked exception)@GET @Path(value="{uid}") ItemValue<DeferredAction> getComplete(@PathParam(value="uid") java.lang.String uid) throws ServerFault
DeferredAction
.uid
- the deferred action's unique idServerFault
- standard error object (unchecked exception)@GET @Path(value="{actionId}/_byaction") java.util.List<ItemValue<DeferredAction>> getByActionId(@PathParam(value="actionId") java.lang.String actionId, @QueryParam(value="to") java.lang.Long to) throws ServerFault
DeferredAction
s matching an actionId and period
of timeactionId
- the actionIdfrom
- fetches actions having date > fromto
- fetches actions having date < toServerFault
- standard error object (unchecked exception)@GET @Path(value="{reference}/_byreference") java.util.List<ItemValue<DeferredAction>> getByReference(@PathParam(value="reference") java.lang.String reference) throws ServerFault
DeferredAction
s matching a referencereference
- the referenceServerFault
- standard error object (unchecked exception)@POST @Path(value="_mget") java.util.List<ItemValue<DeferredAction>> multipleGet(java.util.List<java.lang.String> uids) throws ServerFault
DeferredAction
s by their uids.uids
- the unique identifiers to fetchItemValue
ServerFault
- If anything goes wrongCopyright © 2021. All Rights Reserved.