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