org.apache.jackrabbit.core.persistence.util
Interface ResourceBasedBLOBStore

All Superinterfaces:
BLOBStore
All Known Implementing Classes:
BundleDbPersistenceManager.FSBlobStore, FileSystemBLOBStore

public interface ResourceBasedBLOBStore
extends BLOBStore

ResourceBasedBLOBStore extends the BLOBStore interface with the method getResource(String)

Note that The DataStore should nowadays be used instead of the BLOBStore.


Method Summary
 FileSystemResource getResource(String blobId)
          Retrieves the BLOB data with the specified id as a permanent resource.
 
Methods inherited from interface org.apache.jackrabbit.core.persistence.util.BLOBStore
createId, get, put, remove
 

Method Detail

getResource

FileSystemResource getResource(String blobId)
                               throws Exception
Retrieves the BLOB data with the specified id as a permanent resource.

Parameters:
blobId - identifier of the BLOB data as returned by BLOBStore.createId(PropertyId, int)
Returns:
a resource representing the BLOB data
Throws:
Exception - if an error occured


Copyright © 2004-2010 The Apache Software Foundation. All Rights Reserved.