public interface UpdateRequest extends Request
CatalogProvider| Modifier and Type | Field and Description |
|---|---|
static String |
UPDATE_BY_ID
|
static String |
UPDATE_BY_PRODUCT_URI
Shortcut for the
Attribute name used for updating Metacards by
the String value of the Metacard's Resource URI. |
| Modifier and Type | Method and Description |
|---|---|
String |
getAttributeName()
The attribute name tells the
CatalogProvider what type of attribute
values are the Map.Entry keys in the update list. |
List<Map.Entry<Serializable,Metacard>> |
getUpdates()
Get the updates to be made.
|
getStoreIdscontainsPropertyName, getProperties, getPropertyNames, getPropertyValue, hasPropertiesstatic final String UPDATE_BY_ID
Metacard.ID,
Constant Field Valuesstatic final String UPDATE_BY_PRODUCT_URI
Attribute name used for updating Metacards by
the String value of the Metacard's Resource URI.Metacard.RESOURCE_URI,
Constant Field ValuesString getAttributeName()
CatalogProvider what type of attribute
values are the Map.Entry keys in the update list. For instance, if the attribute name was
"id," then the CatalogProvider would know that the Map.Entry
keys in the update list ( List<Entry<Serializable, Metacard>>) were id values (such as
575aa9625fa24b338bd3c439f2613709) and could create the appropriate backend search.Attribute that has an ddf.catalog.data.AttributeType.AttributeFormat of
AttributeType.AttributeFormat.STRINGList<Map.Entry<Serializable,Metacard>> getUpdates()
Metacards that have an Attribute.getName() that matches the name returned by getAttributeName() and a Attribute.getValue() that matches the
Serializable value in an Map.Entry of this List will be updated with the
value of the associated Metacard in the List. An entry's key in the List must match zero metacards or one metacard in the Source.This work is licensed under a Creative Commons Attribution 4.0 International License.