public class SQLUserEntityStoreView extends BaseSQLEntityStoreView
BaseEntityStoreView
from the view of a tenant user.BaseEntityStoreView.EntityType
account, accountErrorSnippet, dbConnectionPool
Modifier and Type | Method and Description |
---|---|
protected void |
deleteEntity(BaseEntityStoreView.EntityType entityType,
String entityName)
Delete all entities of given type and name from persistent store.
|
protected void |
deleteEntity(BaseEntityStoreView.EntityType entityType,
String entityName,
int entityVersion)
Delete the entity of given type, name and version from persistent store.
|
protected void |
writeEntity(BaseEntityStoreView.EntityType entityType,
String entityName,
int version,
byte[] data)
Write the specified entity to some persistent store.
|
getAllLatestEntities, getEntity, getSelectMaxVersionStatement, getSelectStatement, getVersion
deleteAutomatorType, deleteAutomatorType, deleteClusterTemplate, deleteClusterTemplate, deleteHardwareType, deleteHardwareType, deleteImageType, deleteImageType, deletePartialTemplate, deletePartialTemplate, deleteProvider, deleteProvider, deleteProviderType, deleteProviderType, deleteService, deleteService, getAllAutomatorTypes, getAllClusterTemplates, getAllHardwareTypes, getAllImageTypes, getAllPartialTemplates, getAllProviders, getAllProviderTypes, getAllServices, getAutomatorType, getAutomatorType, getClusterTemplate, getClusterTemplate, getHardwareType, getHardwareType, getImageType, getImageType, getPartialTemplate, getPartialTemplate, getProvider, getProvider, getProviderType, getProviderType, getService, getService, writeAutomatorType, writeClusterTemplate, writeHardwareType, writeImageType, writePartialTemplate, writeProvider, writeProviderType, writeService
protected void writeEntity(BaseEntityStoreView.EntityType entityType, String entityName, int version, byte[] data) throws IOException, IllegalAccessException
BaseEntityStoreView
writeEntity
in class BaseEntityStoreView
entityType
- Type of entity.entityName
- Unique name of entity.version
- Version of entity.data
- Representation of the entity as bytes.IOException
IllegalAccessException
protected void deleteEntity(BaseEntityStoreView.EntityType entityType, String entityName) throws IOException, IllegalAccessException
BaseEntityStoreView
deleteEntity
in class BaseEntityStoreView
entityType
- Type of entity.entityName
- Unique name of entity.IOException
IllegalAccessException
protected void deleteEntity(BaseEntityStoreView.EntityType entityType, String entityName, int entityVersion) throws IOException, IllegalAccessException
BaseEntityStoreView
deleteEntity
in class BaseEntityStoreView
entityType
- Type of entity.entityName
- Unique name of entity.entityVersion
- Version of entity.IOException
IllegalAccessException
Copyright © 2013-2016 Cask Data, Inc. Licensed under the Apache License, Version 2.0.