org.gcube.data.analysis.tabulardata.cube.metadata
Class JPAMetadataWrangler
java.lang.Object
org.gcube.data.analysis.tabulardata.cube.metadata.JPAMetadataWrangler
- All Implemented Interfaces:
- CubeMetadataWrangler
@Default
@Singleton
public class JPAMetadataWrangler
- extends Object
- implements CubeMetadataWrangler
|
Method Summary |
org.gcube.data.analysis.tabulardata.model.table.Table |
get(long id)
|
List<org.gcube.data.analysis.tabulardata.model.table.Table> |
getAll()
|
List<org.gcube.data.analysis.tabulardata.model.table.Table> |
getAll(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
|
void |
remove(long id)
|
org.gcube.data.analysis.tabulardata.model.table.Table |
save(org.gcube.data.analysis.tabulardata.model.table.Table table)
|
org.gcube.data.analysis.tabulardata.model.table.Table |
update(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 |
JPAMetadataWrangler
@Inject
public JPAMetadataWrangler(javax.persistence.EntityManager em)
update
public org.gcube.data.analysis.tabulardata.model.table.Table update(org.gcube.data.analysis.tabulardata.model.table.Table table)
- Specified by:
update in interface CubeMetadataWrangler
save
public org.gcube.data.analysis.tabulardata.model.table.Table save(org.gcube.data.analysis.tabulardata.model.table.Table table)
- Specified by:
save in interface CubeMetadataWrangler
get
public org.gcube.data.analysis.tabulardata.model.table.Table get(long id)
throws NoSuchTableException
- Specified by:
get in interface CubeMetadataWrangler
- Throws:
NoSuchTableException
getAll
public List<org.gcube.data.analysis.tabulardata.model.table.Table> getAll()
- Specified by:
getAll in interface CubeMetadataWrangler
getAll
public List<org.gcube.data.analysis.tabulardata.model.table.Table> getAll(org.gcube.data.analysis.tabulardata.model.table.TableType tableType)
- Specified by:
getAll in interface CubeMetadataWrangler
remove
public void remove(long id)
throws NoSuchTableException
- Specified by:
remove in interface CubeMetadataWrangler
- Throws:
NoSuchTableException
Copyright © 2013. All Rights Reserved.