org.gcube.data.analysis.tabulardata.cube
Class DefaultCubeManager

java.lang.Object
  extended by org.gcube.data.analysis.tabulardata.cube.DefaultCubeManager
All Implemented Interfaces:
CubeManager

@Singleton
@Default
public class DefaultCubeManager
extends Object
implements CubeManager


Method Summary
 TableCreator createDataset()
           
 TableCreator createTable(org.gcube.data.analysis.tabulardata.model.table.TableType type)
           
 org.gcube.data.analysis.tabulardata.model.table.Table getTable(long id)
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables()
           
 Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
           
 void removeTable(long id)
           
 void removeTableWithMetdata(long id)
           
 void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createDataset

public TableCreator createDataset()

getTables

public Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables()
Specified by:
getTables in interface CubeManager

getTables

public Collection<org.gcube.data.analysis.tabulardata.model.table.Table> getTables(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
Specified by:
getTables in interface CubeManager

getTable

public org.gcube.data.analysis.tabulardata.model.table.Table getTable(long id)
                                                               throws NoSuchTableException
Specified by:
getTable in interface CubeManager
Throws:
NoSuchTableException

removeTable

public void removeTable(long id)
                 throws NoSuchTableException
Specified by:
removeTable in interface CubeManager
Throws:
NoSuchTableException

createTable

public TableCreator createTable(org.gcube.data.analysis.tabulardata.model.table.TableType type)
Specified by:
createTable in interface CubeManager

updateMetadata

public void updateMetadata(org.gcube.data.analysis.tabulardata.model.table.Table table)
                    throws CubeManagerException
Specified by:
updateMetadata in interface CubeManager
Throws:
CubeManagerException

removeTableWithMetdata

public void removeTableWithMetdata(long id)
                            throws NoSuchTableException
Specified by:
removeTableWithMetdata in interface CubeManager
Throws:
NoSuchTableException


Copyright © 2013. All Rights Reserved.