org.gcube.portlets.user.tdw.server
Class TabularDataServiceImpl

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
              extended by com.google.gwt.user.server.rpc.RemoteServiceServlet
                  extended by org.gcube.portlets.user.tdw.server.TabularDataServiceImpl
All Implemented Interfaces:
com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig, TabularDataService

public class TabularDataServiceImpl
extends com.google.gwt.user.server.rpc.RemoteServiceServlet
implements TabularDataService

Author:
"Federico De Faveri defaveri@isti.cnr.it"
See Also:
Serialized Form

Field Summary
protected static org.apache.log4j.Logger logger
           
 
Fields inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
perThreadRequest, perThreadResponse
 
Constructor Summary
TabularDataServiceImpl()
           
 
Method Summary
protected  void closeCurrentTable(int tdSessionId, boolean silent)
           
 void closeTable(int tdSessionId)
          
 TableDefinition getCurrentTableDefinition(int tdSessionId)
          
protected  DataSource getDataSource(int tdSessionId)
           
 TableDefinition getTableDefinition(TableId id)
          
 TableDefinition openTable(int tdSessionId, TableId tableId)
          
 
Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet
checkPermutationStrongName, doGetSerializationPolicy, getSerializationPolicy, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, processPost, shouldCompressResponse
 
Methods inherited from class com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet
doPost, doUnexpectedFailure, getPermutationStrongName, getThreadLocalRequest, getThreadLocalResponse, onAfterRequestDeserialized, readContent
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

protected static org.apache.log4j.Logger logger
Constructor Detail

TabularDataServiceImpl

public TabularDataServiceImpl()
Method Detail

getDataSource

protected DataSource getDataSource(int tdSessionId)

openTable

public TableDefinition openTable(int tdSessionId,
                                 TableId tableId)
                          throws TabularDataServiceException

Specified by:
openTable in interface TabularDataService
Throws:
TabularDataServiceException

getCurrentTableDefinition

public TableDefinition getCurrentTableDefinition(int tdSessionId)
                                          throws TabularDataServiceException

Specified by:
getCurrentTableDefinition in interface TabularDataService
Throws:
TabularDataServiceException

getTableDefinition

public TableDefinition getTableDefinition(TableId id)
                                   throws TabularDataServiceException

Specified by:
getTableDefinition in interface TabularDataService
Throws:
TabularDataServiceException

closeTable

public void closeTable(int tdSessionId)
                throws TabularDataServiceException

Specified by:
closeTable in interface TabularDataService
Throws:
TabularDataServiceException

closeCurrentTable

protected void closeCurrentTable(int tdSessionId,
                                 boolean silent)
                          throws DataSourceException
Throws:
DataSourceException


Copyright © 2013. All Rights Reserved.