public interface RepositoryConnectivity
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the connection fo the repository.
|
boolean |
createStorage(java.lang.Class iface,
java.lang.String storagename)
Creates a storage instance on the repository.
|
java.lang.Class |
determineClassOf(java.lang.String storagename)
Returns a Class object for the type of storage that would result
from instantiating the named storage.
|
RepositoryMaintenance |
getCustodian()
Gets an instance appropriate for the creation, deletion or other
privilaged or atypical operations on the storages housed within a
reporitory.
|
java.lang.Class |
getFindNameDialogForClass(java.lang.Class storageclass) |
java.lang.String |
getRepository()
Returns the name associated with the repository to which the connection
is established.
|
RepositoryStorage |
getStorage(java.lang.String storagename)
Gets the storage having the given nickname from the currently connected
repository.
|
RepositoryStorageNameQuery |
getStorageNameQuery()
Returns a name query instance appropriate for searching the repository
contents for storages matching various search criteria.
|
java.lang.Class |
resolveStorageFor(java.lang.Class iface)
For the given interface (or less typically class) return the RepositoryStorage
class extension for this repsoitory.
|
boolean |
storageExists(java.lang.String storagename)
Determines if the named storage already exists in the possibly remote
repository.
|
RepositoryMaintenance getCustodian()
boolean createStorage(java.lang.Class iface, java.lang.String storagename)
boolean storageExists(java.lang.String storagename)
java.lang.Class resolveStorageFor(java.lang.Class iface)
java.lang.String getRepository()
RepositoryStorage getStorage(java.lang.String storagename)
java.lang.Class determineClassOf(java.lang.String storagename)
RepositoryStorageNameQuery getStorageNameQuery()
java.lang.Class getFindNameDialogForClass(java.lang.Class storageclass)
void close()
Copyright © 2011, 2013. Daniel P. Dougherty