|
@@ -9,10 +9,8 @@ import com.x.base.core.project.http.EffectivePerson;
|
|
|
import com.x.base.core.project.http.HttpMediaType;
|
|
import com.x.base.core.project.http.HttpMediaType;
|
|
|
import com.x.base.core.project.jaxrs.ResponseFactory;
|
|
import com.x.base.core.project.jaxrs.ResponseFactory;
|
|
|
import com.x.base.core.project.jaxrs.StandardJaxrsAction;
|
|
import com.x.base.core.project.jaxrs.StandardJaxrsAction;
|
|
|
-import com.x.base.core.project.jaxrs.proxy.StandardJaxrsActionProxy;
|
|
|
|
|
import com.x.base.core.project.logger.Logger;
|
|
import com.x.base.core.project.logger.Logger;
|
|
|
import com.x.base.core.project.logger.LoggerFactory;
|
|
import com.x.base.core.project.logger.LoggerFactory;
|
|
|
-import com.x.cms.assemble.control.ThisApplication;
|
|
|
|
|
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
|
|
import org.glassfish.jersey.media.multipart.FormDataContentDisposition;
|
|
|
import org.glassfish.jersey.media.multipart.FormDataParam;
|
|
import org.glassfish.jersey.media.multipart.FormDataParam;
|
|
|
|
|
|
|
@@ -28,7 +26,6 @@ import java.util.List;
|
|
|
@JaxrsDescribe("信息发布(CMS)-栏目(APPINFO)管理服务")
|
|
@JaxrsDescribe("信息发布(CMS)-栏目(APPINFO)管理服务")
|
|
|
public class AppInfoAction extends StandardJaxrsAction {
|
|
public class AppInfoAction extends StandardJaxrsAction {
|
|
|
|
|
|
|
|
- private StandardJaxrsActionProxy proxy = new StandardJaxrsActionProxy(ThisApplication.context());
|
|
|
|
|
private static Logger logger = LoggerFactory.getLogger(AppInfoAction.class);
|
|
private static Logger logger = LoggerFactory.getLogger(AppInfoAction.class);
|
|
|
|
|
|
|
|
@JaxrsMethodDescribe(value = "创建新的栏目信息或者更新已存在的栏目信息。", action = ActionSave.class)
|
|
@JaxrsMethodDescribe(value = "创建新的栏目信息或者更新已存在的栏目信息。", action = ActionSave.class)
|
|
@@ -41,7 +38,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
Boolean check = true;
|
|
Boolean check = true;
|
|
|
if (check) {
|
|
if (check) {
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionSave)proxy.getProxy(ActionSave.class)).execute( request, effectivePerson, jsonElement );
|
|
|
|
|
|
|
+ result = new ActionSave().execute( request, effectivePerson, jsonElement );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "栏目信息保存时发生异常。");
|
|
Exception exception = new ExceptionAppInfoProcess(e, "栏目信息保存时发生异常。");
|
|
@@ -62,7 +59,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<ActionDelete.Wo> result = new ActionResult<>();
|
|
ActionResult<ActionDelete.Wo> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionDelete)proxy.getProxy(ActionDelete.class)).execute(request, effectivePerson, id);
|
|
|
|
|
|
|
+ result = new ActionDelete().execute(request, effectivePerson, id);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据ID删除CMS应用信息对象发生未知异常,ID:" + id);
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据ID删除CMS应用信息对象发生未知异常,ID:" + id);
|
|
@@ -84,7 +81,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
Boolean check = true;
|
|
Boolean check = true;
|
|
|
if( check ){
|
|
if( check ){
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionQueryGetControl)proxy.getProxy(ActionQueryGetControl.class)).execute( request, id, effectivePerson );
|
|
|
|
|
|
|
+ result = new ActionQueryGetControl().execute( request, id, effectivePerson );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
result.error( e );
|
|
result.error( e );
|
|
@@ -104,7 +101,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<ActionEraseDocumentWithAppInfo.Wo> result = new ActionResult<>();
|
|
ActionResult<ActionEraseDocumentWithAppInfo.Wo> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionEraseDocumentWithAppInfo)proxy.getProxy(ActionEraseDocumentWithAppInfo.class)).execute(request, id, effectivePerson );
|
|
|
|
|
|
|
+ result = new ActionEraseDocumentWithAppInfo().execute(request, id, effectivePerson );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据栏目ID删除所有的信息文档发生未知异常,ID:" + id);
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据栏目ID删除所有的信息文档发生未知异常,ID:" + id);
|
|
@@ -124,7 +121,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionGet)proxy.getProxy(ActionGet.class)).execute( request, effectivePerson, flag );
|
|
|
|
|
|
|
+ result = new ActionGet().execute( request, effectivePerson, flag );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据指定ID查询应用栏目信息对象时发生异常。flag:" + flag );
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据指定ID查询应用栏目信息对象时发生异常。flag:" + flag );
|
|
@@ -143,7 +140,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionGetByAlias)proxy.getProxy(ActionGetByAlias.class)).execute(request, effectivePerson, alias);
|
|
|
|
|
|
|
+ result = new ActionGetByAlias().execute(request, effectivePerson, alias);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据指定应用唯一标识查询应用栏目信息对象时发生异常。ALIAS:" + alias);
|
|
Exception exception = new ExceptionAppInfoProcess(e, "根据指定应用唯一标识查询应用栏目信息对象时发生异常。ALIAS:" + alias);
|
|
@@ -163,7 +160,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewArticle_WithAppType.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewArticle_WithAppType.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewArticle_WithAppType)proxy.getProxy(ActionListWhatICanViewArticle_WithAppType.class)).execute(request, effectivePerson, appType );
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewArticle_WithAppType().execute(request, effectivePerson, appType );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -183,7 +180,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewArticle.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewArticle.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewArticle)proxy.getProxy(ActionListWhatICanViewArticle.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewArticle().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -203,7 +200,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewData.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewData.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewData)proxy.getProxy(ActionListWhatICanViewData.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewData().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -224,7 +221,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewData.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewData.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewData_WithAppType)proxy.getProxy(ActionListWhatICanViewData_WithAppType.class)).execute(request, effectivePerson, appType );
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewData_WithAppType().execute(request, effectivePerson, appType );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -245,7 +242,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewAllDocType.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewAllDocType.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewAllDocType_WithAppType)proxy.getProxy(ActionListWhatICanViewAllDocType_WithAppType.class)).execute( request, effectivePerson, appType );
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewAllDocType_WithAppType().execute( request, effectivePerson, appType );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -265,7 +262,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListWhatICanViewAllDocType.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListWhatICanViewAllDocType.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanViewAllDocType)proxy.getProxy(ActionListWhatICanViewAllDocType.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanViewAllDocType().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -285,7 +282,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanPublish)proxy.getProxy(ActionListWhatICanPublish.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanPublish().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -306,8 +303,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanPublish_WithAppType)proxy.getProxy(ActionListWhatICanPublish_WithAppType.class))
|
|
|
|
|
- .execute(request, effectivePerson, appType );
|
|
|
|
|
|
|
+ result = new ActionListWhatICanPublish_WithAppType().execute(request, effectivePerson, appType );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -328,7 +324,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
ActionResult<BaseAction.Wo> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionGetPublishableAppInfo)proxy.getProxy(ActionGetPublishableAppInfo.class)).execute(request, effectivePerson, appId );
|
|
|
|
|
|
|
+ result = new ActionGetPublishableAppInfo().execute(request, effectivePerson, appId );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -348,7 +344,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListAllAppType.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListAllAppType.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListAllAppType)proxy.getProxy(ActionListAllAppType.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListAllAppType().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -368,7 +364,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListAllManageableAppType.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListAllManageableAppType.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListAllManageableAppType)proxy.getProxy(ActionListAllManageableAppType.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListAllManageableAppType().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -388,8 +384,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanManage)proxy.getProxy(ActionListWhatICanManage.class))
|
|
|
|
|
- .execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanManage().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -410,8 +405,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListWhatICanManage_WithAppType)proxy.getProxy(ActionListWhatICanManage_WithAppType.class))
|
|
|
|
|
- .execute(request, effectivePerson, appType);
|
|
|
|
|
|
|
+ result = new ActionListWhatICanManage_WithAppType().execute(request, effectivePerson, appType);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
Exception exception = new ExceptionAppInfoProcess(e,
|
|
@@ -431,7 +425,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<BaseAction.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListAll)proxy.getProxy(ActionListAll.class)).execute(request, effectivePerson);
|
|
|
|
|
|
|
+ result = new ActionListAll().execute(request, effectivePerson);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询所有应用栏目信息对象时发生异常");
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询所有应用栏目信息对象时发生异常");
|
|
@@ -453,7 +447,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListNextWithFilter.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListNextWithFilter.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListNextWithFilter)proxy.getProxy(ActionListNextWithFilter.class)).execute(request, effectivePerson, id, count, jsonElement );
|
|
|
|
|
|
|
+ result = new ActionListNextWithFilter().execute(request, effectivePerson, id, count, jsonElement );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询栏目信息对象时发生异常");
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询栏目信息对象时发生异常");
|
|
@@ -475,7 +469,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
ActionResult<List<ActionListPrevWithFilter.Wo>> result = new ActionResult<>();
|
|
ActionResult<List<ActionListPrevWithFilter.Wo>> result = new ActionResult<>();
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionListPrevWithFilter)proxy.getProxy(ActionListPrevWithFilter.class)).execute(request, effectivePerson, id, count, jsonElement);
|
|
|
|
|
|
|
+ result = new ActionListPrevWithFilter().execute(request, effectivePerson, id, count, jsonElement);
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
result = new ActionResult<>();
|
|
result = new ActionResult<>();
|
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询栏目信息对象时发生异常");
|
|
Exception exception = new ExceptionAppInfoProcess(e, "查询栏目信息对象时发生异常");
|
|
@@ -499,7 +493,7 @@ public class AppInfoAction extends StandardJaxrsAction {
|
|
|
ActionResult<ActionAppIconUpload.Wo> result = new ActionResult<>();
|
|
ActionResult<ActionAppIconUpload.Wo> result = new ActionResult<>();
|
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
EffectivePerson effectivePerson = this.effectivePerson(request);
|
|
|
try {
|
|
try {
|
|
|
- result = ((ActionAppIconUpload)proxy.getProxy(ActionAppIconUpload.class)).execute(request, effectivePerson, appId, size, bytes, disposition );
|
|
|
|
|
|
|
+ result = new ActionAppIconUpload().execute(request, effectivePerson, appId, size, bytes, disposition );
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
|
logger.error(e, effectivePerson, request, null);
|
|
logger.error(e, effectivePerson, request, null);
|
|
|
result.error(e);
|
|
result.error(e);
|