public interface ObjectStoreEntity
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getMetadata()
Gets the metadata headers
|
java.lang.Object |
getMetadata(java.lang.String key)
Returns a single value of the designated key, or null if it does not exist.
|
java.lang.String |
getPath()
Returns the path to be appended to the host
|
void |
removeAndDoNotSaveMetadata(java.lang.String key)
Removes a single metadata field, but does not place a call to the server to save.
|
void |
removeAndSaveMetadata(java.lang.String key)
Removes a single metadata field and immediately places a call to the server to save
|
void |
saveMetadata()
Places a call to the server to save all metadata, previously set with setMetadata excluding the save option
|
void |
setAndDoNotSaveMetadata(java.lang.String key,
java.lang.Object value)
Sets a single metadata field, but does not place a call to the server to save.
|
void |
setAndSaveMetadata(java.lang.String key,
java.lang.Object value)
Sets a single metadata field and immediately places a call to the server to save
|
void |
setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
Sets the metadata headers
|
void setMetadata(java.util.Map<java.lang.String,java.lang.Object> metadata)
metadata - contains all metadata name/value pairs that must be setvoid setAndSaveMetadata(java.lang.String key,
java.lang.Object value)
key - metadata field to addvalue - value of the metadata fieldvoid setAndDoNotSaveMetadata(java.lang.String key,
java.lang.Object value)
key - metadata field to addvalue - value of the metadata fieldvoid removeAndSaveMetadata(java.lang.String key)
key - metadata field to removevoid removeAndDoNotSaveMetadata(java.lang.String key)
key - metadata field to removejava.lang.Object getMetadata(java.lang.String key)
key - the key of the key/value pairvoid saveMetadata()
java.util.Map<java.lang.String,java.lang.Object> getMetadata()
java.lang.String getPath()
Copyright © 2012-2020 42 BV. All Rights Reserved.