|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.data.figis.tmplugin.repository.BaseRepository
public class BaseRepository
Default Repository implementation
| Constructor Summary | |
|---|---|
BaseRepository(Request request)
|
|
| Method Summary | |
|---|---|
String |
description()
Returns the description of the repository. |
org.gcube.data.trees.data.Tree |
get(String id)
Retrieves a Tree with a given identifier |
org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> |
getRecords()
Retrieves all trees |
String |
name()
Returns the name of the repository. |
Summary |
summary()
Returns a Summary of a number of sets of the repository. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BaseRepository(Request request)
throws Exception
Exception| Method Detail |
|---|
public String name()
name in interface Repositorypublic String description()
description in interface Repository
public org.gcube.data.trees.data.Tree get(String id)
throws org.gcube.data.tmf.api.exceptions.UnknownTreeException,
Exception
Tree with a given identifier
get in interface Repositoryid - the identifier
org.gcube.data.tmf.api.exceptions.UnknownTreeException - if there is no tree in the sets with the given identifier
Exception - if the operation fails for any other error
public org.gcube.data.streams.Stream<org.gcube.data.trees.data.Tree> getRecords()
throws org.gcube.data.tmf.api.exceptions.UnknownTreeException,
Exception
Repository
getRecords in interface Repositoryorg.gcube.data.tmf.api.exceptions.UnknownTreeException
Exception
public Summary summary()
throws Exception
Summary of a number of sets of the repository.
summary in interface RepositoryException - if the summary cannot be returned
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||