public class GrantMetadataProvider extends Object implements MetadataProvider
| Modifier and Type | Field and Description |
|---|---|
static String |
GRANT_TYPE |
| Constructor and Description |
|---|
GrantMetadataProvider() |
| Modifier and Type | Method and Description |
|---|---|
List<EncryptedGrants> |
getGrants() |
String |
getMetadataType() |
EncryptedGrants |
getObjectGrants(String objectName) |
boolean |
hasGrant(String objectName) |
void |
persistGrant(EncryptedGrants encryptedGrants) |
void |
registerMetadataEntity(SimpleEntity entity,
long recordPointer) |
void |
setMetadataStore(MetadataStore metadataStore) |
public static final String GRANT_TYPE
public void setMetadataStore(MetadataStore metadataStore)
setMetadataStore in interface MetadataProviderpublic String getMetadataType()
getMetadataType in interface MetadataProviderpublic void registerMetadataEntity(SimpleEntity entity, long recordPointer) throws JasDBStorageException
registerMetadataEntity in interface MetadataProviderJasDBStorageExceptionpublic boolean hasGrant(String objectName) throws JasDBStorageException
JasDBStorageExceptionpublic List<EncryptedGrants> getGrants() throws JasDBStorageException
JasDBStorageExceptionpublic void persistGrant(EncryptedGrants encryptedGrants) throws JasDBStorageException
JasDBStorageExceptionpublic EncryptedGrants getObjectGrants(String objectName) throws JasDBStorageException
JasDBStorageExceptionCopyright © 2015. All rights reserved.