public PluginResult dispatch(DatabaseActionDispatcher.Context paramContext)
throws Throwable
{
JSONArray localJSONArray1 = getIds(paramContext);
try
{
JSONArray localJSONArray2 = (JSONArray)paramContext.performReadableDatabaseAction(new FindByIdAction(localJSONArray1, null));
if (localJSONArray2 == null)
return new PluginResult(PluginResult.Status.ERROR, 22);
JacksonSerializedPluginResult localJacksonSerializedPluginResult = new JacksonSerializedPluginResult(PluginResult.Status.OK, localJSONArray2);
return localJacksonSerializedPluginResult;
}
catch (Throwable localThrowable)
{
if (this.logger.isLoggable(6))
this.logger.logError("error while executing find by ID query on database \"" + paramContext.getDatabaseName() + "\"", localThrowable);
}
return new PluginResult(PluginResult.Status.ERROR, 22);
}
FindByIdActionDispatcher.java 文件源码
java
阅读 25
收藏 0
点赞 0
评论 0
项目:12306-android-Decompile
作者:
评论列表
文章目录