Updated Position Column

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@113452 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2015-03-04 17:29:38 +00:00
parent a5b87c89a9
commit 7f3786e363
3 changed files with 6 additions and 9 deletions

View File

@ -832,7 +832,7 @@ public interface TDGWTService extends RemoteService {
* @return * @return
* @throws TDGWTServiceException * @throws TDGWTServiceException
*/ */
public String startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession) public void startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession)
throws TDGWTServiceException; throws TDGWTServiceException;
/** /**

View File

@ -310,7 +310,7 @@ public interface TDGWTServiceAsync {
AsyncCallback<String> callback); AsyncCallback<String> callback);
void startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession, void startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession,
AsyncCallback<String> callback); AsyncCallback<Void> callback);
/* /*

View File

@ -7982,7 +7982,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
* {@inheritDoc} * {@inheritDoc}
*/ */
@Override @Override
public String startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession) public void startChangeColumnsPosition(ChangeColumnsPositionSession changeColumnsPositionSession)
throws TDGWTServiceException { throws TDGWTServiceException {
try { try {
HttpSession session = this.getThreadLocalRequest().getSession(); HttpSession session = this.getThreadLocalRequest().getSession();
@ -8017,12 +8017,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
} }
logger.debug("OperationInvocation: \n" + invocation.toString()); logger.debug("OperationInvocation: \n" + invocation.toString());
Task trTask = service.execute(invocation, tabularResourceId); service.executeSynchMetadataOperation(invocation, tabularResourceId);
logger.debug("Start Task on service: TaskId " + trTask.getId());
TaskWrapper taskWrapper = new TaskWrapper(trTask, return;
UIOperationsId.ChangeColumnsPosition, changeColumnsPositionSession.getTrId());
SessionUtil.setStartedTask(session, taskWrapper);
return trTask.getId().getValue();
} catch (TDGWTServiceException e) { } catch (TDGWTServiceException e) {
throw e; throw e;