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

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

Deprecated. the DataStore should be used instead

public interface ResourceBasedBLOBStore
extends BLOBStore

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


Method Summary
 FileSystemResource getResource(String blobId)
          Deprecated. 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
Deprecated. 
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.