public class SecurityUtils extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
FEATURE_VISIBILITY |
| Constructor and Description |
|---|
SecurityUtils() |
| Modifier and Type | Method and Description |
|---|---|
static void |
copyVisibility(org.opengis.feature.simple.SimpleFeature source,
org.opengis.feature.simple.SimpleFeature dest)
Copy the visibility from
source to dest. |
static String |
getVisibility(org.opengis.feature.simple.SimpleFeature feature) |
static org.opengis.feature.simple.SimpleFeature |
setFeatureVisibilities(org.opengis.feature.simple.SimpleFeature feature,
String... visibilities)
Sets the visibility to an expression created by joining the given
visibilities with "&". |
static org.opengis.feature.simple.SimpleFeature |
setFeatureVisibility(org.opengis.feature.simple.SimpleFeature feature,
String visibility)
Sets the visibility to the given
visibility expression. |
public static final String FEATURE_VISIBILITY
public static org.opengis.feature.simple.SimpleFeature setFeatureVisibility(org.opengis.feature.simple.SimpleFeature feature,
String visibility)
visibility expression.feature - the SimpleFeature to add or update visibilityvisibility - the visibility expressionfeaturepublic static org.opengis.feature.simple.SimpleFeature setFeatureVisibilities(org.opengis.feature.simple.SimpleFeature feature,
String... visibilities)
visibilities with "&".feature - the SimpleFeature to add or update visibilityvisibilities - a set of visbilities that will be and-ed togetherfeaturepublic static String getVisibility(org.opengis.feature.simple.SimpleFeature feature)
feature - the SimpleFeature to get the visibility fromfeature or null if nonepublic static void copyVisibility(org.opengis.feature.simple.SimpleFeature source,
org.opengis.feature.simple.SimpleFeature dest)
source to dest.source - the SimpleFeature to get the visiblity fromdest - the SimpleFeature to set the visibility onNullPointerException - if either argument is nullCopyright © 2013–2022. All rights reserved.