public interface EntityStoreView
Modifier and Type | Method and Description |
---|---|
void |
deleteAutomatorType(String automatorTypeName)
Delete the
AutomatorType associated with the given unique name. |
void |
deleteAutomatorType(String automatorTypeName,
int version)
Delete the
AutomatorType associated with the given unique name. |
void |
deleteClusterTemplate(String clusterTemplateName)
Delete the
ClusterTemplate associated with the given unique name. |
void |
deleteClusterTemplate(String clusterTemplateName,
int version)
Delete the
ClusterTemplate associated with the given unique name and version. |
void |
deleteHardwareType(String hardwareTypeName)
Delete the
HardwareType associated with the given unique name. |
void |
deleteHardwareType(String hardwareTypeName,
int version)
Delete the
HardwareType associated with the given unique name and version. |
void |
deleteImageType(String imageTypeName)
Delete the
ImageType associated with the given unique name. |
void |
deleteImageType(String imageTypeName,
int version)
Delete the
ImageType associated with the given unique name and version. |
void |
deletePartialTemplate(String partialTemplateName)
Delete the
PartialTemplate associated with the given unique name. |
void |
deletePartialTemplate(String partialTemplateName,
int version)
Delete the
PartialTemplate associated with the given unique name. |
void |
deleteProvider(String providerName)
Delete the
Provider associated with the given unique name. |
void |
deleteProvider(String providerName,
int version)
Delete the
Provider associated with the given unique name and version. |
void |
deleteProviderType(String providerTypeName)
Delete the
ProviderType associated with the given unique name. |
void |
deleteProviderType(String providerTypeName,
int version)
Delete the
ProviderType associated with the given unique name. |
void |
deleteService(String serviceName)
Delete the
Service associated with the given unique name. |
void |
deleteService(String serviceName,
int version)
Delete the
Service associated with the given unique name and version. |
Collection<AutomatorType> |
getAllAutomatorTypes()
Get all
AutomatorType s. |
Collection<ClusterTemplate> |
getAllClusterTemplates()
Get all
ClusterTemplate s. |
Collection<HardwareType> |
getAllHardwareTypes()
Get all
HardwareType s. |
Collection<ImageType> |
getAllImageTypes()
Get all
ImageType s. |
Collection<PartialTemplate> |
getAllPartialTemplates()
Get all
PartialTemplate s. |
Collection<Provider> |
getAllProviders()
Get all
Provider s. |
Collection<ProviderType> |
getAllProviderTypes()
Get all
ProviderType s. |
Collection<Service> |
getAllServices()
Get all
Service s. |
AutomatorType |
getAutomatorType(String automatorTypeName)
Get the
AutomatorType associated with the given unique name or null if
no such automator type exists. |
AutomatorType |
getAutomatorType(String automatorTypeName,
int version)
Get the
AutomatorType associated with the given unique name or null if
no such automator type exists. |
ClusterTemplate |
getClusterTemplate(String clusterTemplateName)
Get the
ClusterTemplate associated with the given unique name
or null if no such cluster template exists. |
ClusterTemplate |
getClusterTemplate(String clusterTemplateName,
int version)
Get the
ClusterTemplate associated with the given unique name and version
or null if no such cluster template exists. |
HardwareType |
getHardwareType(String hardwareTypeName)
Get the
HardwareType associated with the
given unique name or null if no such hardware type exists. |
HardwareType |
getHardwareType(String hardwareTypeName,
int version)
Get the
HardwareType associated with the
given unique name and version or null if no such hardware type exists. |
ImageType |
getImageType(String imageTypeName)
Get the
ImageType associated with the
given unique name or null if no such image type exists. |
ImageType |
getImageType(String imageTypeName,
int version)
Get the
ImageType associated with the
given unique name or null if no such image type exists. |
PartialTemplate |
getPartialTemplate(String partialTemplateName)
Get the
PartialTemplate associated with the given unique name
or null if no such provider exists. |
PartialTemplate |
getPartialTemplate(String partialTemplateName,
int version)
Get the
PartialTemplate associated with the given unique name
or null if no such provider exists. |
Provider |
getProvider(String providerName)
Get the
Provider associated with the given unique name
or null if no such provider exists. |
Provider |
getProvider(String providerName,
int version)
Get the
Provider associated with the given unique name and version
or null if no such provider exists. |
ProviderType |
getProviderType(String providerTypeName)
Get the
ProviderType associated with the given unique name
or null if no such provider type exists. |
ProviderType |
getProviderType(String providerTypeName,
int version)
Get the
ProviderType associated with the given unique name
or null if no such provider type exists. |
Service |
getService(String serviceName)
Get the
Service associated with the given
unique name or null if no such service exists. |
Service |
getService(String serviceName,
int version)
Get the
Service associated with the given
unique name and version or null if no such service exists. |
void |
writeAutomatorType(AutomatorType automatorType)
Write the given
AutomatorType to the store. |
void |
writeClusterTemplate(ClusterTemplate clusterTemplate)
Write the given
ClusterTemplate to the store. |
void |
writeHardwareType(HardwareType hardwareType)
Write the given
HardwareType to the store. |
void |
writeImageType(ImageType imageType)
Write the given
ImageType to the store. |
void |
writePartialTemplate(PartialTemplate partialTemplate)
Write the given
PartialTemplate to the store. |
void |
writeProvider(Provider provider)
Write the given
Provider to the store. |
void |
writeProviderType(ProviderType providerType)
Write the given
ProviderType to the store. |
void |
writeService(Service service)
Write the given
Service to the store. |
Provider getProvider(String providerName) throws IOException
Provider
associated with the given unique name
or null if no such provider exists.providerName
- Unique name of the provider to get.Exception
IOException
Provider getProvider(String providerName, int version) throws IOException
Provider
associated with the given unique name and version
or null if no such provider exists.providerName
- Unique name of the provider to get.version
- Version of the provider to get.Exception
IOException
Collection<Provider> getAllProviders() throws IOException
Provider
s.Exception
IOException
void writeProvider(Provider provider) throws IOException, IllegalAccessException
provider
- Provider to write.Exception
IOException
IllegalAccessException
void deleteProvider(String providerName) throws IOException, IllegalAccessException
Provider
associated with the given unique name.providerName
- Name of the provider to delete.Exception
IOException
IllegalAccessException
void deleteProvider(String providerName, int version) throws IOException, IllegalAccessException
Provider
associated with the given unique name and version.providerName
- Name of the provider to delete.version
- Version of the provider to delete.Exception
IOException
IllegalAccessException
HardwareType getHardwareType(String hardwareTypeName) throws IOException
HardwareType
associated with the
given unique name or null if no such hardware type exists.hardwareTypeName
- Unique name of the hardware type to get.Exception
IOException
HardwareType getHardwareType(String hardwareTypeName, int version) throws IOException
HardwareType
associated with the
given unique name and version or null if no such hardware type exists.hardwareTypeName
- Unique name of the hardware type to get.version
- Version of the hardware type to get.Exception
IOException
Collection<HardwareType> getAllHardwareTypes() throws IOException
HardwareType
s.Exception
IOException
void writeHardwareType(HardwareType hardwareType) throws IOException, IllegalAccessException
HardwareType
to the store.
Will overwrite the existing HardwareType
if it exists.hardwareType
- Hardware type to write.Exception
IOException
IllegalAccessException
void deleteHardwareType(String hardwareTypeName) throws IOException, IllegalAccessException
HardwareType
associated with the given unique name.hardwareTypeName
- Name of the hardware type to delete.Exception
IOException
IllegalAccessException
void deleteHardwareType(String hardwareTypeName, int version) throws IOException, IllegalAccessException
HardwareType
associated with the given unique name and version.hardwareTypeName
- Name of the hardware type to delete.version
- Version of the hardware type to delete.Exception
IOException
IllegalAccessException
ImageType getImageType(String imageTypeName) throws IOException
ImageType
associated with the
given unique name or null if no such image type exists.imageTypeName
- Unique name of the image type to get.Exception
IOException
ImageType getImageType(String imageTypeName, int version) throws IOException
ImageType
associated with the
given unique name or null if no such image type exists.imageTypeName
- Unique name of the image type to get.version
- Version of the image type to get.Exception
IOException
Collection<ImageType> getAllImageTypes() throws IOException
ImageType
s.Exception
IOException
void writeImageType(ImageType imageType) throws IOException, IllegalAccessException
imageType
- Image type to write.Exception
IOException
IllegalAccessException
void deleteImageType(String imageTypeName) throws IOException, IllegalAccessException
ImageType
associated with the given unique name.imageTypeName
- Name of the image type to delete.Exception
IOException
IllegalAccessException
void deleteImageType(String imageTypeName, int version) throws IOException, IllegalAccessException
ImageType
associated with the given unique name and version.imageTypeName
- Name of the image type to delete.version
- Version of the image type to delete.Exception
IOException
IllegalAccessException
Service getService(String serviceName) throws IOException
Service
associated with the given
unique name or null if no such service exists.serviceName
- Unique name of the service to get.Exception
IOException
Service getService(String serviceName, int version) throws IOException
Service
associated with the given
unique name and version or null if no such service exists.serviceName
- Unique name of the service to get.version
- Version of the service to get.Exception
IOException
Collection<Service> getAllServices() throws IOException
Service
s.Exception
IOException
void writeService(Service service) throws IOException, IllegalAccessException
service
- Service to write.Exception
IOException
IllegalAccessException
void deleteService(String serviceName) throws IOException, IllegalAccessException
Service
associated with the given unique name.serviceName
- Name of the service to delete.Exception
IOException
IllegalAccessException
void deleteService(String serviceName, int version) throws IOException, IllegalAccessException
Service
associated with the given unique name and version.serviceName
- Name of the service to delete.version
- Version of the service to delete.Exception
IOException
IllegalAccessException
ClusterTemplate getClusterTemplate(String clusterTemplateName) throws IOException
ClusterTemplate
associated with the given unique name
or null if no such cluster template exists.clusterTemplateName
- Unique name of the cluster template to get.Exception
IOException
ClusterTemplate getClusterTemplate(String clusterTemplateName, int version) throws IOException
ClusterTemplate
associated with the given unique name and version
or null if no such cluster template exists.clusterTemplateName
- Unique name of the cluster template to get.version
- Version of the cluster template to get.Exception
IOException
Collection<ClusterTemplate> getAllClusterTemplates() throws IOException
ClusterTemplate
s.Exception
IOException
void writeClusterTemplate(ClusterTemplate clusterTemplate) throws IOException, IllegalAccessException
ClusterTemplate
to the store.
Will overwrite the existing ClusterTemplate
if it exists.clusterTemplate
- Cluster template to write.Exception
IOException
IllegalAccessException
void deleteClusterTemplate(String clusterTemplateName) throws IOException, IllegalAccessException
ClusterTemplate
associated with the given unique name.clusterTemplateName
- Name of the cluster template to delete.Exception
IOException
IllegalAccessException
void deleteClusterTemplate(String clusterTemplateName, int version) throws IOException, IllegalAccessException
ClusterTemplate
associated with the given unique name and version.clusterTemplateName
- Name of the cluster template to delete.version
- Version of the cluster template to delete.Exception
IOException
IllegalAccessException
PartialTemplate getPartialTemplate(String partialTemplateName) throws IOException
PartialTemplate
associated with the given unique name
or null if no such provider exists.partialTemplateName
- Unique name of the provider to get.Exception
IOException
PartialTemplate getPartialTemplate(String partialTemplateName, int version) throws IOException
PartialTemplate
associated with the given unique name
or null if no such provider exists.partialTemplateName
- Unique name of the provider to get.version
- Version of the provider to get.Exception
IOException
Collection<PartialTemplate> getAllPartialTemplates() throws IOException
PartialTemplate
s.Exception
IOException
void writePartialTemplate(PartialTemplate partialTemplate) throws IOException, IllegalAccessException
PartialTemplate
to the store.
Will overwrite the existing PartialTemplate
if it exists.partialTemplate
- Partial template to write.Exception
IOException
IllegalAccessException
void deletePartialTemplate(String partialTemplateName) throws IOException, IllegalAccessException
PartialTemplate
associated with the given unique name.partialTemplateName
- Name of the partial template to delete.Exception
IOException
IllegalAccessException
void deletePartialTemplate(String partialTemplateName, int version) throws IOException, IllegalAccessException
PartialTemplate
associated with the given unique name.partialTemplateName
- Name of the partial template to delete.version
- Version of the partial template to delete.Exception
IOException
IllegalAccessException
ProviderType getProviderType(String providerTypeName) throws IOException
ProviderType
associated with the given unique name
or null if no such provider type exists.providerTypeName
- Unique name of the provider type to get.Exception
IOException
ProviderType getProviderType(String providerTypeName, int version) throws IOException
ProviderType
associated with the given unique name
or null if no such provider type exists.providerTypeName
- Unique name of the provider type to get.version
- Version of the provider type to get.Exception
IOException
Collection<ProviderType> getAllProviderTypes() throws IOException
ProviderType
s.Exception
IOException
void writeProviderType(ProviderType providerType) throws IOException, IllegalAccessException
ProviderType
to the store.
Will overwrite the existing ProviderType
if it exists.providerType
- Provider type to write.Exception
IOException
IllegalAccessException
void deleteProviderType(String providerTypeName) throws IOException, IllegalAccessException
ProviderType
associated with the given unique name.providerTypeName
- Name of the provider type to delete.Exception
IOException
IllegalAccessException
void deleteProviderType(String providerTypeName, int version) throws IOException, IllegalAccessException
ProviderType
associated with the given unique name.providerTypeName
- Name of the provider type to delete.version
- Version of the provider type to delete.Exception
IOException
IllegalAccessException
AutomatorType getAutomatorType(String automatorTypeName) throws IOException
AutomatorType
associated with the given unique name or null if
no such automator type exists.automatorTypeName
- Unique name of the automator type to get.Exception
IOException
AutomatorType getAutomatorType(String automatorTypeName, int version) throws IOException
AutomatorType
associated with the given unique name or null if
no such automator type exists.automatorTypeName
- Unique name of the automator type to get.version
- Version of the automator type to get.Exception
IOException
Collection<AutomatorType> getAllAutomatorTypes() throws IOException
AutomatorType
s.Exception
IOException
void writeAutomatorType(AutomatorType automatorType) throws IOException, IllegalAccessException
AutomatorType
to the store.
Will overwrite the existing AutomatorType
if it exists.automatorType
- Automator type to write.Exception
IOException
IllegalAccessException
void deleteAutomatorType(String automatorTypeName) throws IOException, IllegalAccessException
AutomatorType
associated with the given unique name.automatorTypeName
- Name of the automator type to delete.Exception
IOException
IllegalAccessException
void deleteAutomatorType(String automatorTypeName, int version) throws IOException, IllegalAccessException
AutomatorType
associated with the given unique name.automatorTypeName
- Name of the automator type to delete.version
- Version of the automator type to delete.Exception
IOException
IllegalAccessException
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.