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:
parent
a5b87c89a9
commit
7f3786e363
|
@ -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;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue