|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.appengine.api.blobstore.dev.BlobInfoStorage
public final class BlobInfoStorage
BlobInfoStorage
provides persistence of blob metadata (in
the form of BlobInfo
objects). It uses DatastoreService
as its persistence mechanism.
Constructor Summary | |
---|---|
BlobInfoStorage()
|
Method Summary | |
---|---|
void |
deleteBlobInfo(com.google.appengine.api.blobstore.BlobKey blobKey)
Delete the metadata associated with blobKey . |
protected com.google.appengine.api.datastore.Key |
getMetadataKeyForBlobKey(com.google.appengine.api.blobstore.BlobKey blobKey)
|
com.google.appengine.api.blobstore.BlobInfo |
loadBlobInfo(com.google.appengine.api.blobstore.BlobKey blobKey)
Load blob metadata for blobKey . |
void |
saveBlobInfo(com.google.appengine.api.blobstore.BlobInfo blobInfo)
Save the metadata in blobInfo . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BlobInfoStorage()
Method Detail |
---|
public com.google.appengine.api.blobstore.BlobInfo loadBlobInfo(com.google.appengine.api.blobstore.BlobKey blobKey)
blobKey
. Returns
null
if no matching blob is found.
public void saveBlobInfo(com.google.appengine.api.blobstore.BlobInfo blobInfo)
blobInfo
.
public void deleteBlobInfo(com.google.appengine.api.blobstore.BlobKey blobKey)
blobKey
.
protected com.google.appengine.api.datastore.Key getMetadataKeyForBlobKey(com.google.appengine.api.blobstore.BlobKey blobKey)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |