Package | Description |
---|---|
org.synbiohub.frontend |
Modifier and Type | Method and Description |
---|---|
void |
SynBioHubFrontend.addToCollection(URI collectionUri,
boolean overwrite,
File file)
Add file to an existing private collection on SynBioHub
|
void |
SynBioHubFrontend.addToCollection(URI collectionUri,
boolean overwrite,
InputStream inputStream)
Add file to an existing private collection on SynBioHub
|
void |
SynBioHubFrontend.addToCollection(URI collectionUri,
boolean overwrite,
SBOLDocument document)
Add SBOL document to an existing private collection on SynBioHub
|
void |
SynBioHubFrontend.addToCollection(URI collectionUri,
boolean overwrite,
String filename)
Add file to an existing private collection on SynBioHub
|
void |
SynBioHubFrontend.attachFile(URI topLevelUri,
File file)
Attach a file to an object in SynBioHub.
|
void |
SynBioHubFrontend.attachFile(URI topLevelUri,
InputStream inputStream)
Attach a file to an object in SynBioHub.
|
void |
SynBioHubFrontend.attachFile(URI topLevelUri,
InputStream inputStream,
String filename)
Attach a file to an object in SynBioHub.
|
void |
SynBioHubFrontend.attachFile(URI topLevelUri,
String filename)
Attach a file to an object in SynBioHub.
|
void |
SynBioHubFrontend.createCollection(String id,
String version,
String name,
String description,
String citations,
boolean overwrite)
Create a new private collection on SynBioHub
|
void |
SynBioHubFrontend.createCollection(String id,
String version,
String name,
String description,
String citations,
boolean overwrite,
File file)
Create a new private collection on SynBioHub and add the contents of the file to this collection
|
void |
SynBioHubFrontend.createCollection(String id,
String version,
String name,
String description,
String citations,
boolean overwrite,
InputStream inputStream)
Create a new private collection on SynBioHub and add the contents of the file to this collection
|
void |
SynBioHubFrontend.createCollection(String id,
String version,
String name,
String description,
String citations,
boolean overwrite,
SBOLDocument document)
Create a new private collection on SynBioHub and add the contents of the
SBOL document to this collection
|
void |
SynBioHubFrontend.createCollection(String id,
String version,
String name,
String description,
String citations,
boolean overwrite,
String filename)
Create a new private collection on SynBioHub and add the contents of the file to this collection
|
String |
SynBioHubFrontend.getAttachment(URI attachmentUri,
OutputStream outputStream)
Retrieve an attachment from a SynBioHub instance using its URI,
and save into the provided output stream.
|
String |
SynBioHubFrontend.getAttachment(URI attachmentUri,
String path)
Retrieve an attachment from a SynBioHub instance using its URI,
and save to the path provided.
|
int |
SynBioHubFrontend.getCount(String objectType)
Return the total number of objects of a specified type in the repository.
|
ArrayList<IdentifiedMetadata> |
SynBioHubFrontend.getMatchingComponentDefinitionMetadata(String name,
Set<URI> roles,
Set<URI> types,
Set<URI> collections,
Integer offset,
Integer limit)
Search the default store for ComponentDefinition instances matching a name and/or a set of roles
|
static ArrayList<WebOfRegistriesData> |
SynBioHubFrontend.getRegistries()
Fetch data about all registries in the web of registries.
|
static ArrayList<WebOfRegistriesData> |
SynBioHubFrontend.getRegistries(String webOfRegistriesUrl)
Fetch data about all registries in the web of registries.
|
ArrayList<IdentifiedMetadata> |
SynBioHubFrontend.getRootCollectionMetadata()
Search the default store for Collections that are not members of any other Collections
|
SBOLDocument |
SynBioHubFrontend.getSBOL(URI topLevelUri)
Retrieve SBOL TopLevel object from a SynBioHub instance using its URI.
|
SBOLDocument |
SynBioHubFrontend.getSBOL(URI topLevelUri,
boolean recursive)
Retrieve SBOL TopLevel object from a SynBioHub instance using its URI.
|
ArrayList<IdentifiedMetadata> |
SynBioHubFrontend.getSubCollectionMetadata(URI parentCollectionUri)
Search the default store for Collections that are members of the specified Collection
|
void |
SynBioHubFrontend.login(String email,
String password)
Login to the SynBioHub.
|
void |
SynBioHubFrontend.removeSBOL(URI topLevelUri)
Remove SBOL TopLevel object from a SynBioHub instance using its URI.
|
void |
SynBioHubFrontend.replaceSBOL(URI topLevelUri)
Remove SBOL TopLevel object from a SynBioHub instance using its URI,
but leave references to this object, since it is going to be replaced.
|
ArrayList<IdentifiedMetadata> |
SynBioHubFrontend.search(SearchQuery query)
Search this SynBioHub instance for objects matching a search query
|
String |
SynBioHubFrontend.sparqlQuery(String query)
Perform a SPARQL query
|