public interface PolicyPlugin
The PolicyResponse object contains 1 or more policy objects of the type: Map
| Modifier and Type | Field and Description |
|---|---|
static String |
OPERATION_SECURITY |
| Modifier and Type | Method and Description |
|---|---|
PolicyResponse |
processPostDelete(Metacard input,
Map<String,Serializable> properties)
Processes a
Metacard, following the execution of
ddf.catalog.source.CatalogProvider#delete(ddf.catalog.operation.DeleteRequest), to return
policy information |
PolicyResponse |
processPostQuery(Result input,
Map<String,Serializable> properties)
|
PolicyResponse |
processPostResource(ResourceResponse resourceResponse,
Metacard metacard)
Processes a
ResourceResponse, following the execution of the ResourceRequest, to return policy information |
PolicyResponse |
processPreCreate(Metacard input,
Map<String,Serializable> properties)
Processes a
Metacard, prior to
ddf.catalog.source.CatalogProvider#create(ddf.catalog.operation.CreateRequest), to return
policy information |
PolicyResponse |
processPreDelete(List<Metacard> metacards,
Map<String,Serializable> properties)
Processes a
DeleteRequest, prior to
ddf.catalog.source.CatalogProvider#delete(ddf.catalog.operation.DeleteRequest), to return
policy information |
PolicyResponse |
processPreQuery(Query query,
Map<String,Serializable> properties)
|
PolicyResponse |
processPreResource(ResourceRequest resourceRequest)
Processes a
ResourceRequest, prior to execution of the ResourceRequest, to return policy information |
PolicyResponse |
processPreUpdate(Metacard newMetacard,
Map<String,Serializable> properties)
Processes a
Metacard, prior to
ddf.catalog.source.CatalogProvider#update(ddf.catalog.operation.UpdateRequest), to return
policy information |
static final String OPERATION_SECURITY
PolicyResponse processPreCreate(Metacard input, Map<String,Serializable> properties) throws StopProcessingException
Metacard, prior to
ddf.catalog.source.CatalogProvider#create(ddf.catalog.operation.CreateRequest), to return
policy informationinput - the Metacard to processproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPreUpdate(Metacard newMetacard, Map<String,Serializable> properties) throws StopProcessingException
Metacard, prior to
ddf.catalog.source.CatalogProvider#update(ddf.catalog.operation.UpdateRequest), to return
policy informationnewMetacard - the new Metacard to processproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPreDelete(List<Metacard> metacards, Map<String,Serializable> properties) throws StopProcessingException
DeleteRequest, prior to
ddf.catalog.source.CatalogProvider#delete(ddf.catalog.operation.DeleteRequest), to return
policy informationmetacards - the list of metacards being deletedproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPostDelete(Metacard input, Map<String,Serializable> properties) throws StopProcessingException
Metacard, following the execution of
ddf.catalog.source.CatalogProvider#delete(ddf.catalog.operation.DeleteRequest), to return
policy informationinput - the Metacard to processproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPreQuery(Query query, Map<String,Serializable> properties) throws StopProcessingException
query - the Query to processproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPostQuery(Result input, Map<String,Serializable> properties) throws StopProcessingException
input - the Result to processproperties - the request propertiesAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPreResource(ResourceRequest resourceRequest) throws StopProcessingException
ResourceRequest, prior to execution of the ResourceRequest, to return policy informationresourceRequest - the ResourceRequest to processAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.PolicyResponse processPostResource(ResourceResponse resourceResponse, Metacard metacard) throws StopProcessingException
ResourceResponse, following the execution of the ResourceRequest, to return policy informationresourceResponse - the ResourceResponse to processmetacard - the Metacard related to the responseAccessPluginStopProcessingException - thrown to halt processing when a critical issue occurs during
processing. This is intended to prevent other plugins from processing as well.This work is licensed under a Creative Commons Attribution 4.0 International License.