Uses of Class
org.apache.juneau.console.views.ActionResult
Packages that use ActionResult
Package
Description
A typed, declarative "rich DataTables view" toolkit that serializes to the frozen
VIEW_META JSON wire
contract consumed by the first-party client runtime.Petstore console operations pages: background jobs and the audit log.
Petstore console orders page and its JSON endpoints.
Petstore console pets pages and their JSON endpoints.
Petstore console users page and its JSON endpoints.
-
Uses of ActionResult in org.apache.juneau.console.views
Methods in org.apache.juneau.console.views that return ActionResultModifier and TypeMethodDescriptionstatic ActionResultRowJobSubmit.bindingRefusal()The standard refusal for a failed verify; answer it withRowJobSubmit.REFUSAL_STATUS.default ActionResultAsyncJobsMixin.cancelJob(String jobId, RestResponse res) [POST /juneau-jobs/{jobId}/cancel] — cancel a job and return its terminal result.static ActionResultActionResult.failure()Starts afailureresult.Sets the optional human-readable supplementary message.static ActionResultActionResult.ok()Readability alias forsuccess(null)— asuccessresult that carries no row (e.g. a delete, or a navigate/redraw action).static ActionResultReadability alias forsuccess(Object).static ActionResultStarts arefusalresult carrying the named, opaque refusal code.ActionResult.refusalCode(String value) Sets the opaque, namespaced refusal code (seerefusalCode).Marks this result as a recorded prior outcome replayed rather than re-executed.AsyncJob.result()AsyncJob.Update.result()Returns the value of theresultrecord component.ActionResult.resultForm(String value) Sets the follow-up read-only form-source URL a receipt is painted from (seeresultForm).Sets the authoritative row payload to re-render from.static ActionResultStarts asuccessresult carrying the authoritative row read back from the remote system.static ActionResultActionResult.unknown()Starts anunknownresult — an honest, non-optimistic terminal state.Methods in org.apache.juneau.console.views with parameters of type ActionResultModifier and TypeMethodDescriptionbooleanAsyncJob.complete(ActionResult value) Settles the job to a producer-supplied terminal result (success/failure/refusal/unknown).Constructors in org.apache.juneau.console.views with parameters of type ActionResultModifierConstructorDescriptionUpdate(List<String> events, ActionResult result) Creates an instance of aUpdaterecord class. -
Uses of ActionResult in org.apache.juneau.petstore.console.ops
Methods in org.apache.juneau.petstore.console.ops that return ActionResultModifier and TypeMethodDescriptionStarts a groom run.JobsRest.regroom(RestRequest req, RestResponse res, String id, JsonMap json) Grooms a run's pet again. -
Uses of ActionResult in org.apache.juneau.petstore.console.orders
Methods in org.apache.juneau.petstore.console.orders that return ActionResultModifier and TypeMethodDescriptionOrdersRest.approve(RestRequest req, long id) Approves a placed order.OrdersRest.cancel(RestRequest req, long id) Deletes (cancels) an order.OrdersRest.create(RestRequest req, JsonMap body) Places a new order.OrdersRest.deliver(RestRequest req, long id) Delivers an approved order. -
Uses of ActionResult in org.apache.juneau.petstore.console.pets
Methods in org.apache.juneau.petstore.console.pets that return ActionResultModifier and TypeMethodDescriptionChangesRest.apply(RestRequest req, long id) Applies one change (the bulk perRow action).PetsRest.create(RestRequest req, JsonMap body) Creates a pet.PetsRest.delete(RestRequest req, long id) Deletes a pet.ChangesRest.retry(RestRequest req, long id) Retries a failed change.PetsRest.sell(RestRequest req, long id) Marks a pet sold.PetsRest.stage(RestRequest req, long id, JsonMap body) Stages an inline edit for review on the Pending changes page.PetsRest.update(RestRequest req, long id, JsonMap body) Replaces a pet. -
Uses of ActionResult in org.apache.juneau.petstore.console.users
Methods in org.apache.juneau.petstore.console.users that return ActionResultModifier and TypeMethodDescriptionUsersRest.create(RestRequest req, JsonMap body) Creates a user.UsersRest.delete(RestRequest req, String username) Deletes a user.UsersRest.update(RestRequest req, String username, JsonMap body) Updates a user.