@RolesAllowed(value="READ") public class FeatureStoreResource extends AbstractResource
ff4j, request, securityContext, securityContextHolder, uriInfoHEADER_AUTHORIZATION, LOCATION, MANIFEST_FILE, MANIFEST_VERSION, OPERATION_ADDGROUP, OPERATION_CHECK, OPERATION_DISABLE, OPERATION_ENABLE, OPERATION_GRANTROLE, OPERATION_REMOVEGROUP, OPERATION_REMOVEROLE, PARAM_AUTHKEY, PARAM_END, PARAM_NBPOINTS, PARAM_START, PARAM_UID, POST_PARAMNAME_CUSTOM_PREFIX, POST_PARAMNAME_FEATURE_UID, RESOURCE_BAR, RESOURCE_CACHE, RESOURCE_FEATURES, RESOURCE_FF4J, RESOURCE_GROUPS, RESOURCE_MONITORING, RESOURCE_PIE, RESOURCE_SECURITY, RESOURCE_STORE, ROLE_READ, ROLE_WRITE| Constructor and Description |
|---|
FeatureStoreResource()
Default Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
clear()
POST Operation to clean cache.
|
FeatureStoreApiBean |
get()
Allows to retrieve feature by its id.
|
javax.ws.rs.core.Response |
getStatus()
Allows to retrieve feature by its id.
|
java.util.List<FeatureApiBean> |
readFeatures() |
java.util.List<GroupDescApiBean> |
readGroups()
Access groups part of the API.
|
getFeatureStore, getRepo, holdSecurityContextpublic FeatureStoreApiBean get()
featId - target feature identifierpublic java.util.List<FeatureApiBean> readFeatures()
public java.util.List<GroupDescApiBean> readGroups()
public javax.ws.rs.core.Response getStatus()
featId - target feature identifierpublic javax.ws.rs.core.Response clear()
Copyright © 2013-2015 Ff4J. All Rights Reserved.