|
|
@@ -0,0 +1,359 @@
|
|
|
+package com.x.processplatform.assemble.surface.jaxrs.snap;
|
|
|
+
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+import javax.servlet.http.HttpServletRequest;
|
|
|
+import javax.ws.rs.Consumes;
|
|
|
+import javax.ws.rs.DELETE;
|
|
|
+import javax.ws.rs.GET;
|
|
|
+import javax.ws.rs.POST;
|
|
|
+import javax.ws.rs.Path;
|
|
|
+import javax.ws.rs.PathParam;
|
|
|
+import javax.ws.rs.Produces;
|
|
|
+import javax.ws.rs.container.AsyncResponse;
|
|
|
+import javax.ws.rs.container.Suspended;
|
|
|
+import javax.ws.rs.core.Context;
|
|
|
+import javax.ws.rs.core.MediaType;
|
|
|
+
|
|
|
+import com.google.gson.JsonElement;
|
|
|
+import com.x.base.core.project.annotation.JaxrsDescribe;
|
|
|
+import com.x.base.core.project.annotation.JaxrsMethodDescribe;
|
|
|
+import com.x.base.core.project.annotation.JaxrsParameterDescribe;
|
|
|
+import com.x.base.core.project.http.ActionResult;
|
|
|
+import com.x.base.core.project.http.EffectivePerson;
|
|
|
+import com.x.base.core.project.http.HttpMediaType;
|
|
|
+import com.x.base.core.project.jaxrs.ResponseFactory;
|
|
|
+import com.x.base.core.project.jaxrs.StandardJaxrsAction;
|
|
|
+import com.x.base.core.project.logger.Logger;
|
|
|
+import com.x.base.core.project.logger.LoggerFactory;
|
|
|
+
|
|
|
+@Path("snap")
|
|
|
+@JaxrsDescribe("快照")
|
|
|
+public class SnapAction extends StandardJaxrsAction {
|
|
|
+
|
|
|
+ private static Logger logger = LoggerFactory.getLogger(SnapAction.class);
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "对工作进行快照", action = ActionTypeSnap.class)
|
|
|
+ @GET
|
|
|
+ @Path("work/{workId}/type/snap")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void typeSnap(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("工作标识") @PathParam("workId") String workId) {
|
|
|
+ ActionResult<ActionTypeSnap.Wo> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionTypeSnap().execute(effectivePerson, workId);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "挂起工作", action = ActionTypeSuspend.class)
|
|
|
+ @GET
|
|
|
+ @Path("work/{workId}/type/suspend")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void typeSuspend(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("工作标识") @PathParam("workId") String workId) {
|
|
|
+ ActionResult<ActionTypeSuspend.Wo> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionTypeSuspend().execute(effectivePerson, workId);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "删除快照", action = ActionDelete.class)
|
|
|
+ @DELETE
|
|
|
+ @Path("{id}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void delete(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id) {
|
|
|
+ ActionResult<ActionDelete.Wo> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionDelete().execute(effectivePerson, id);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "恢复快照", action = ActionRestore.class)
|
|
|
+ @GET
|
|
|
+ @Path("{id}/restore")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void restore(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id) {
|
|
|
+ ActionResult<ActionRestore.Wo> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionRestore().execute(effectivePerson, id);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示当前用户的快照,分页.", action = ActionListMyPaging.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/my/paging/{page}/size/{size}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listMyPaging(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("分页") @PathParam("page") Integer page,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("size") Integer size) {
|
|
|
+ ActionResult<List<ActionListMyPaging.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListMyPaging().execute(effectivePerson, page, size);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "按条件对当前用户快照分页显示.", action = ActionListMyFilterPaging.class)
|
|
|
+ @POST
|
|
|
+ @Path("list/my/filter/{page}/size/{size}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listMyFilterPaging(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("分页") @PathParam("page") Integer page,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("size") Integer size, JsonElement jsonElement) {
|
|
|
+ ActionResult<List<ActionListMyFilterPaging.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListMyFilterPaging().execute(effectivePerson, page, size, jsonElement);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, jsonElement);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示当前用户创建的快照对象,下一页.", action = ActionListNext.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/next/{count}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listNext(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count) {
|
|
|
+ ActionResult<List<ActionListNext.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListNext().execute(effectivePerson, id, count);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示当前用户创建的快照对象,上一页.", action = ActionListPrev.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/prev/{count}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listPrev(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count) {
|
|
|
+ ActionResult<List<ActionListPrev.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListPrev().execute(effectivePerson, id, count);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示指定应用当前用户的快照对象,下一页.", action = ActionListNextWithApplication.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/next/{count}/application/{applicationFlag}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listNextWithApplication(@Suspended final AsyncResponse asyncResponse,
|
|
|
+ @Context HttpServletRequest request, @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count,
|
|
|
+ @JaxrsParameterDescribe("应用标识") @PathParam("applicationFlag") String applicationFlag) {
|
|
|
+ ActionResult<List<ActionListNextWithApplication.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListNextWithApplication().execute(effectivePerson, id, count, applicationFlag);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示指定应用当前用户的快照对象,上一页.", action = ActionListPrevWithApplication.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/prev/{count}/application/{applicationFlag}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listPrevWithApplication(@Suspended final AsyncResponse asyncResponse,
|
|
|
+ @Context HttpServletRequest request, @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count,
|
|
|
+ @JaxrsParameterDescribe("应用标识") @PathParam("applicationFlag") String applicationFlag) {
|
|
|
+ ActionResult<List<ActionListPrevWithApplication.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListPrevWithApplication().execute(effectivePerson, id, count, applicationFlag);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示指定流程当前用户的快照对象,下一页.", action = ActionListNextWithProcess.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/next/{count}/process/{processFlag}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listNextWithProcess(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count,
|
|
|
+ @JaxrsParameterDescribe("流程标识") @PathParam("processFlag") String processFlag) {
|
|
|
+ ActionResult<List<ActionListNextWithProcess.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListNextWithProcess().execute(effectivePerson, id, count, processFlag);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示指定流程当前用户的快照对象,上一页.", action = ActionListPrevWithProcess.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/prev/{count}/process/{processFlag}")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void listPrevWithProcess(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count,
|
|
|
+ @JaxrsParameterDescribe("流程标识") @PathParam("processFlag") String processFlag) {
|
|
|
+ ActionResult<List<ActionListPrevWithProcess.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionListPrevWithProcess().execute(effectivePerson, id, count, processFlag);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示所有创建的快照对象,下一页.", action = ActionManageListNext.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/next/{count}/manage")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void manageListNext(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count) {
|
|
|
+ ActionResult<List<ActionManageListNext.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionManageListNext().execute(effectivePerson, id, count);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "列示所有创建的快照对象,上一页.", action = ActionManageListPrev.class)
|
|
|
+ @GET
|
|
|
+ @Path("list/{id}/prev/{count}/manage")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void manageListPrev(@Suspended final AsyncResponse asyncResponse, @Context HttpServletRequest request,
|
|
|
+ @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count) {
|
|
|
+ ActionResult<List<ActionManageListPrev.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionManageListPrev().execute(effectivePerson, id, count);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, null);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "获取指定条件的快照,下一页.", action = ActionManageListNextFilter.class)
|
|
|
+ @POST
|
|
|
+ @Path("list/{id}/next/{count}/filter/manage")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void manageListNextWithFilter(@Suspended final AsyncResponse asyncResponse,
|
|
|
+ @Context HttpServletRequest request, @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count, JsonElement jsonElement) {
|
|
|
+ ActionResult<List<ActionManageListNextFilter.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionManageListNextFilter().execute(effectivePerson, id, count, jsonElement);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, jsonElement);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "获取指定条件的快照,上一页.", action = ActionManageListPrevFilter.class)
|
|
|
+ @POST
|
|
|
+ @Path("list/{id}/prev/{count}/filter/manage")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void manageListPrevWithFilter(@Suspended final AsyncResponse asyncResponse,
|
|
|
+ @Context HttpServletRequest request, @JaxrsParameterDescribe("标识") @PathParam("id") String id,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("count") Integer count, JsonElement jsonElement) {
|
|
|
+ ActionResult<List<ActionManageListPrevFilter.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionManageListPrevFilter().execute(effectivePerson, id, count, jsonElement);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, jsonElement);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+ @JaxrsMethodDescribe(value = "按条件对快照分页显示.", action = ActionManageListFilterPaging.class)
|
|
|
+ @POST
|
|
|
+ @Path("list/filter/{page}/size/{size}/manage")
|
|
|
+ @Produces(HttpMediaType.APPLICATION_JSON_UTF_8)
|
|
|
+ @Consumes(MediaType.APPLICATION_JSON)
|
|
|
+ public void manageListFilterPaging(@Suspended final AsyncResponse asyncResponse,
|
|
|
+ @Context HttpServletRequest request, @JaxrsParameterDescribe("分页") @PathParam("page") Integer page,
|
|
|
+ @JaxrsParameterDescribe("数量") @PathParam("size") Integer size, JsonElement jsonElement) {
|
|
|
+ ActionResult<List<ActionManageListFilterPaging.Wo>> result = new ActionResult<>();
|
|
|
+ EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
+ try {
|
|
|
+ result = new ActionManageListFilterPaging().execute(effectivePerson, page, size, jsonElement);
|
|
|
+ } catch (Exception e) {
|
|
|
+ logger.error(e, effectivePerson, request, jsonElement);
|
|
|
+ result.error(e);
|
|
|
+ }
|
|
|
+ asyncResponse.resume(ResponseFactory.getEntityTagActionResultResponse(request, result));
|
|
|
+ }
|
|
|
+
|
|
|
+}
|