Minor updated

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@85056 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Giancarlo Panichi 2013-11-06 10:58:30 +00:00
parent 157dc24229
commit 6151526674
1 changed files with 7 additions and 7 deletions

View File

@ -63,7 +63,7 @@ import org.gcube.portlets.user.td.gwtservice.shared.sdmx.SDMXImportSession;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.allen_sauer.gwt.log.client.Log;
import com.google.gwt.user.server.rpc.RemoteServiceServlet;
/**
@ -257,14 +257,14 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
TableId tableId = null;
if (table == null) {
Log.info("Tabular resource "+tr.getId()+" has no table.");
logger.info("Tabular resource "+tr.getId()+" has no table.");
} else {
tableId = table.getId();
}
TRId trId = null;
if (tableId == null) {
Log.info("Tabular Resource "+tr.getId()+" has last table with id null.");
logger.info("Tabular Resource "+tr.getId()+" has last table with id null.");
} else {
trId = new TRId(String.valueOf(tr.getId().getValue()),
String.valueOf(tableId.getValue()));
@ -495,9 +495,9 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
OperationInvocation invocation = importSDMXCodelistOperation
.createOperationInvocation(parameterInstances);
Log.debug("OperationInvocation: \n"+invocation.toString());
logger.debug("OperationInvocation: \n"+invocation.toString());
Task trTask = oService.execute(invocation, serviceTR.getId());
Log.info("Start Task on service: TaskId "+trTask.getId());
logger.debug("Start Task on service: TaskId "+trTask.getId());
SessionUtil.setSDMXImportTask(session, trTask);
return;
} catch (Exception e) {
@ -856,7 +856,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
OperationInvocation oi = importCSVFileOperation
.createOperationInvocation(parameterInstance);
Log.debug("OperationInvocation: \n"+oi.toString());
logger.debug("OperationInvocation: \n"+oi.toString());
TabularResource tabularResource = service.createTabularResource();
TabResource csvImportTabResource = csvImportSession.getTabResource();
syncTRMetaData(tabularResource, csvImportTabResource);
@ -873,7 +873,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
+ e.getLocalizedMessage());
}
Log.info("Start Task on service: TaskId "+trTask.getId());
logger.debug("Start Task on service: TaskId "+trTask.getId());
SessionUtil.setCSVImportFileTask(session, trTask);
}