Minor Update
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@91367 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
ed61005813
commit
1097b52459
|
@ -1,8 +1,8 @@
|
||||||
eclipse.preferences.version=1
|
eclipse.preferences.version=1
|
||||||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.7
|
||||||
org.eclipse.jdt.core.compiler.compliance=1.5
|
org.eclipse.jdt.core.compiler.compliance=1.7
|
||||||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
org.eclipse.jdt.core.compiler.problem.forbiddenReference=warning
|
||||||
org.eclipse.jdt.core.compiler.source=1.5
|
org.eclipse.jdt.core.compiler.source=1.7
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<faceted-project>
|
<faceted-project>
|
||||||
<installed facet="jst.utility" version="1.0"/>
|
<installed facet="jst.utility" version="1.0"/>
|
||||||
<installed facet="java" version="1.5"/>
|
<installed facet="java" version="1.7"/>
|
||||||
</faceted-project>
|
</faceted-project>
|
||||||
|
|
|
@ -2569,7 +2569,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
deleteColumnSession);
|
deleteColumnSession);
|
||||||
if (invocation == null) {
|
if (invocation == null) {
|
||||||
throw new TDGWTServiceException(
|
throw new TDGWTServiceException(
|
||||||
"Error in ChangeColumnType: Operation not supported for now!");
|
"Error Delete Column: Operation not supported for now!");
|
||||||
}
|
}
|
||||||
|
|
||||||
TabularResourceId serviceTR = new TabularResourceId(
|
TabularResourceId serviceTR = new TabularResourceId(
|
||||||
|
@ -2578,11 +2578,11 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
logger.debug("OperationInvocation: \n" + invocation.toString());
|
logger.debug("OperationInvocation: \n" + invocation.toString());
|
||||||
Task trTask = service.execute(invocation, serviceTR);
|
Task trTask = service.execute(invocation, serviceTR);
|
||||||
logger.debug("Start Task on service: TaskId " + trTask.getId());
|
logger.debug("Start Task on service: TaskId " + trTask.getId());
|
||||||
SessionUtil.setChangeColumnTypeTask(session, trTask);
|
SessionUtil.setDeleteColumnTask(session, trTask);
|
||||||
return;
|
return;
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
e.printStackTrace();
|
e.printStackTrace();
|
||||||
throw new TDGWTServiceException("Error in ChangeColumnType: "
|
throw new TDGWTServiceException("Error in DeleteColumn: "
|
||||||
+ e.getLocalizedMessage());
|
+ e.getLocalizedMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2604,13 +2604,13 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
if (task == null) {
|
if (task == null) {
|
||||||
logger.debug("Task null");
|
logger.debug("Task null");
|
||||||
throw new TDGWTServiceException(
|
throw new TDGWTServiceException(
|
||||||
"Error in ChangeColumnType task null");
|
"Error in DeleteColumnMonitor task null");
|
||||||
} else {
|
} else {
|
||||||
TaskStatus status = task.getStatus();
|
TaskStatus status = task.getStatus();
|
||||||
if (status == null) {
|
if (status == null) {
|
||||||
logger.debug("Services TaskStatus : null");
|
logger.debug("Services TaskStatus : null");
|
||||||
throw new TDGWTServiceException(
|
throw new TDGWTServiceException(
|
||||||
"Error in ChangeColumnType Status null");
|
"Error in DeleteColumnMonitor Status null");
|
||||||
} else {
|
} else {
|
||||||
logger.debug("Services TaskStatus: " + task.getStatus());
|
logger.debug("Services TaskStatus: " + task.getStatus());
|
||||||
|
|
||||||
|
@ -2624,7 +2624,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
deleteColumnMonitor.setError(new Throwable(task
|
deleteColumnMonitor.setError(new Throwable(task
|
||||||
.getErrorCause()));
|
.getErrorCause()));
|
||||||
} else {
|
} else {
|
||||||
logger.debug("Task exception: Error In ChangeColumnType");
|
logger.debug("Task exception: Error In DeleteColumnMonitor");
|
||||||
deleteColumnMonitor.setError(new Throwable(
|
deleteColumnMonitor.setError(new Throwable(
|
||||||
"Error In ChangeColumnType"));
|
"Error In ChangeColumnType"));
|
||||||
}
|
}
|
||||||
|
@ -2666,7 +2666,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
SessionUtil.setChangeColumnTypeTask(session, task);
|
SessionUtil.setDeleteColumnTask(session, task);
|
||||||
}
|
}
|
||||||
|
|
||||||
logger.info("DeleteColumnMonitor(): " + deleteColumnMonitor);
|
logger.info("DeleteColumnMonitor(): " + deleteColumnMonitor);
|
||||||
|
|
Loading…
Reference in New Issue