public interface UpdateHandler
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
PROPERTY_SCHEMES
Required configuration property defining the schemes, this handler is handling.
|
Modifier and Type | Method and Description |
---|---|
UpdateResult |
handleRemoval(java.lang.String resourceType,
java.lang.String id,
java.lang.String url)
Handle the remove of a resource
|
UpdateResult |
handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.util.Dictionary<java.lang.String,java.lang.Object> dict,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Handle the update of a resource
|
UpdateResult |
handleUpdate(java.lang.String resourceType,
java.lang.String id,
java.lang.String url,
java.io.InputStream is,
java.util.Map<java.lang.String,java.lang.Object> attributes)
Handle the update of a resource
|
static final java.lang.String PROPERTY_SCHEMES
UpdateResult handleRemoval(java.lang.String resourceType, java.lang.String id, java.lang.String url)
resourceType
- The resource typeid
- The resource id, e.g. symbolic name etc.url
- The url where an earlier version of this resource came fromnull
UpdateResult handleUpdate(java.lang.String resourceType, java.lang.String id, java.lang.String url, java.util.Dictionary<java.lang.String,java.lang.Object> dict, java.util.Map<java.lang.String,java.lang.Object> attributes)
resourceType
- The resource typeid
- The resource id, e.g. symbolic name etc.url
- The url where an earlier version of this resource came from (optional)dict
- Dictionaryattributes
- Optional additional attributes.null
UpdateResult handleUpdate(java.lang.String resourceType, java.lang.String id, java.lang.String url, java.io.InputStream is, java.util.Map<java.lang.String,java.lang.Object> attributes)
resourceType
- The resource typeid
- The resource id, e.g. symbolic name etc.url
- The url where an earlier version of this resource came from (optional)is
- Input stream to the contents of the resourceattributes
- Optional additional attributes.null
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"