@Api(allMethods=true) @UserImplemented public interface AttributeAuthorization extends BaseAuthorization
| Modifier and Type | Method and Description |
|---|---|
boolean |
isAttributeReadable(String layerId,
InternalFeature feature,
String attributeName)
Check whether a specific attribute of a feature is visible.
|
boolean |
isAttributeWritable(String layerId,
InternalFeature feature,
String attributeName)
Check whether a specific attribute of a feature is writable.
|
getId, isCommandAuthorized, isLayerCreateAuthorized, isLayerDeleteAuthorized, isLayerUpdateAuthorized, isLayerVisible, isToolAuthorizedboolean isAttributeReadable(String layerId, InternalFeature feature, String attributeName)
layerId - layer which contains the feature to testfeature - feature to test (or null)attributeName - name of the attribute to testboolean isAttributeWritable(String layerId, InternalFeature feature, String attributeName)
layerId - layer which contains the feature to testfeature - feature to test (or null)attributeName - name of the attribute to testCopyright © 2015 Geosparc. All Rights Reserved.