org.gcube.portlets.user.occurrencemanagement.server.tabular
Class OccurrenceManagementDataSourceFactory
java.lang.Object
org.gcube.portlets.user.occurrencemanagement.server.tabular.OccurrenceManagementDataSourceFactory
- All Implemented Interfaces:
- org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
public class OccurrenceManagementDataSourceFactory
- extends Object
- implements org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
- Author:
- Francesco Mangiacrapa francesco.mangiacrapa@isti.cnr.it
Field Summary |
static org.apache.log4j.Logger |
logger
|
Method Summary |
void |
closeDataSource(org.gcube.application.framework.core.session.ASLSession session,
org.gcube.portlets.user.tdw.server.datasource.DataSource dataSource)
|
String |
getId()
|
protected String |
getUrlFromTableId(org.gcube.application.framework.core.session.ASLSession session,
String tableId)
|
org.gcube.portlets.user.tdw.server.datasource.DataSource |
openDataSource(org.gcube.application.framework.core.session.ASLSession session,
org.gcube.portlets.user.tdw.shared.model.TableId tableIdentifier)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
logger
public static org.apache.log4j.Logger logger
OccurrenceManagementDataSourceFactory
public OccurrenceManagementDataSourceFactory()
getId
public String getId()
- Specified by:
getId
in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
openDataSource
public org.gcube.portlets.user.tdw.server.datasource.DataSource openDataSource(org.gcube.application.framework.core.session.ASLSession session,
org.gcube.portlets.user.tdw.shared.model.TableId tableIdentifier)
throws org.gcube.portlets.user.tdw.server.datasource.DataSourceException
- Specified by:
openDataSource
in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
- Throws:
org.gcube.portlets.user.tdw.server.datasource.DataSourceException
getUrlFromTableId
protected String getUrlFromTableId(org.gcube.application.framework.core.session.ASLSession session,
String tableId)
throws Exception
- Parameters:
tableId
-
- Returns:
-
- Throws:
Exception
closeDataSource
public void closeDataSource(org.gcube.application.framework.core.session.ASLSession session,
org.gcube.portlets.user.tdw.server.datasource.DataSource dataSource)
throws org.gcube.portlets.user.tdw.server.datasource.DataSourceException
- Specified by:
closeDataSource
in interface org.gcube.portlets.user.tdw.server.datasource.DataSourceFactory
- Throws:
org.gcube.portlets.user.tdw.server.datasource.DataSourceException
Copyright © 2014. All Rights Reserved.