Updated Denormalize
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/user/tabular-data-gwt-service@98399 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
8aab0d7033
commit
49147e7b72
|
@ -17,6 +17,7 @@ import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
|
|||
import org.gcube.portlets.user.td.gwtservice.server.file.CSVFileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.file.CodelistMappingFileUploadSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.server.trservice.TRTasksManager;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.Constants;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingMonitor;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.codelisthelper.CodelistMappingSession;
|
||||
import org.gcube.portlets.user.td.gwtservice.shared.csv.CSVExportSession;
|
||||
|
@ -92,8 +93,8 @@ public class SessionUtil {
|
|||
ASLSession session;
|
||||
if (username == null) {
|
||||
logger.warn("no user found in session, using test one");
|
||||
throw new TDGWTSessionExpiredException("Session Expired!");
|
||||
/*
|
||||
/*throw new TDGWTSessionExpiredException("Session Expired!");*/
|
||||
|
||||
username = Constants.DEFAULT_USER;
|
||||
String scope = Constants.DEFAULT_SCOPE;
|
||||
|
||||
|
@ -101,7 +102,7 @@ public class SessionUtil {
|
|||
session = SessionManager.getInstance().getASLSession(
|
||||
httpSession.getId(), username);
|
||||
session.setScope(scope);
|
||||
*/
|
||||
|
||||
} else {
|
||||
session = SessionManager.getInstance().getASLSession(
|
||||
httpSession.getId(), username);
|
||||
|
|
|
@ -8270,7 +8270,7 @@ public class TDGWTServiceImpl extends RemoteServiceServlet implements
|
|||
DenormalizationSession denormalizationSession = SessionUtil
|
||||
.getDenormalizationSession(session);
|
||||
|
||||
Task task = SessionUtil.getNormalizationTask(session);
|
||||
Task task = SessionUtil.getDenormalizationTask(session);
|
||||
DenormalizationMonitor denormalizationMonitor = new DenormalizationMonitor();
|
||||
|
||||
if (task == null) {
|
||||
|
|
|
@ -36,7 +36,7 @@ public enum ConditionCode {
|
|||
private final int id;
|
||||
|
||||
|
||||
public int value() {
|
||||
public int getValue() {
|
||||
return id;
|
||||
}
|
||||
|
||||
|
|
|
@ -17,7 +17,7 @@ public class ConditionCodeMap {
|
|||
public static ConditionCode mapConditionCode(int conditionCode) {
|
||||
ConditionCode[] conditions=ConditionCode.values();
|
||||
for(ConditionCode cond:conditions){
|
||||
if(cond.value()==conditionCode){
|
||||
if(cond.getValue()==conditionCode){
|
||||
return cond;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue