public class StandardMetacardGroomerPlugin extends AbstractMetacardGroomerPlugin
Metacard.ID,
Metacard.MODIFIED, and Metacard.CREATED fields.| Constructor and Description |
|---|
StandardMetacardGroomerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
applyCreatedOperationRules(CreateRequest createRequest,
Metacard aMetacard,
Date now)
This method is called on each Metacard in the
CreateRequest. |
protected void |
applyUpdateOperationRules(UpdateRequest updateRequest,
Map.Entry<Serializable,Metacard> anUpdate,
Metacard aMetacard,
Date now)
This method is called on each
Metacard in the UpdateRequest. |
void |
setUuidGenerator(UuidGenerator uuidGenerator) |
process, process, processpublic void setUuidGenerator(UuidGenerator uuidGenerator)
protected void applyCreatedOperationRules(CreateRequest createRequest, Metacard aMetacard, Date now)
AbstractMetacardGroomerPluginCreateRequest. It allows for the
modification of the Metacard object within the request.applyCreatedOperationRules in class AbstractMetacardGroomerPlugincreateRequest - the entire CreateRequest objectaMetacard - a Metacard within the requestnow - a current Date timestamp to be optionally used to timestamp each
Metacardprotected void applyUpdateOperationRules(UpdateRequest updateRequest, Map.Entry<Serializable,Metacard> anUpdate, Metacard aMetacard, Date now)
AbstractMetacardGroomerPluginMetacard in the UpdateRequest. It allows for
modification of the Metacard object within the request.applyUpdateOperationRules in class AbstractMetacardGroomerPluginupdateRequest - the entire UpdateRequest objectanUpdate - a single Update within the UpdateRequestaMetacard - a Metacard within the requestnow - a current Date timestamp to be optionally used to timestamp each
Metacard, such as stamping each Metacard with the same Metacard.MODIFIED date.This work is licensed under a Creative Commons Attribution 4.0 International License.