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 MetadataProvider
public String getMetadataType()
getMetadataType
in interface MetadataProvider
public void registerMetadataEntity(SimpleEntity entity, long recordPointer) throws JasDBStorageException
registerMetadataEntity
in interface MetadataProvider
JasDBStorageException
public boolean hasGrant(String objectName) throws JasDBStorageException
JasDBStorageException
public List<EncryptedGrants> getGrants() throws JasDBStorageException
JasDBStorageException
public void persistGrant(EncryptedGrants encryptedGrants) throws JasDBStorageException
JasDBStorageException
public EncryptedGrants getObjectGrants(String objectName) throws JasDBStorageException
JasDBStorageException
Copyright © 2015. All rights reserved.