|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.blobstore.business.filesystem.FileSystemBlobStoreHome
public final class FileSystemBlobStoreHome
FileSystemBlobStoreHome.
| Field Summary | |
|---|---|
static String |
BEAN_SERVICE
The Constant BEAN_SERVICE. |
| Constructor Summary | |
|---|---|
FileSystemBlobStoreHome()
|
|
| Method Summary | |
|---|---|
void |
create(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Creation of an instance of record physical file. |
void |
createInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Creation of an instance of record physical file. |
BytesBlobStore |
findByPrimaryKey(String strKey,
String strBasePath,
Integer depth)
Returns an instance of a physical file whose identifier is specified in parameter. |
InputStream |
findByPrimaryKeyInputStream(String strKey,
String strBasePath,
Integer depth)
Returns an instance of a physical file whose identifier is specified in parameter. |
boolean |
remove(String strKey,
String strBasePath,
Integer depth)
Delete the physical file whose identifier is specified in parameter. |
void |
update(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
Update of physical file which is specified in parameter. |
void |
updateInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
Update of physical file which is specified in parameter. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String BEAN_SERVICE
| Constructor Detail |
|---|
public FileSystemBlobStoreHome()
| Method Detail |
|---|
public void create(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException,
FileAlreadyExistsException
IFileSystemBlobStoreHome
create in interface IFileSystemBlobStoreHomeblobStore - The instance of the physical file which contains the
informations to storestrBasePath - base directorydepth - the depth
IOException - ioe
FileAlreadyExistsException - already exists
public void update(BytesBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
IFileSystemBlobStoreHome
update in interface IFileSystemBlobStoreHomeblobStore - the blob storestrBasePath - base directorydepth - the depth
IOException - ioe
public void updateInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws IOException
IFileSystemBlobStoreHome
updateInputStream in interface IFileSystemBlobStoreHomeblobStore - The instance of the record physicalFile which contains
the informations to updatestrBasePath - base directorydepth - the depth
IOException - ioe
public boolean remove(String strKey,
String strBasePath,
Integer depth)
throws IOException
IFileSystemBlobStoreHome
remove in interface IFileSystemBlobStoreHomestrKey - The identifier of the record physical filestrBasePath - base directorydepth - the depth
true if the file is removed, false
otherwise.
IOException - ioe
public BytesBlobStore findByPrimaryKey(String strKey,
String strBasePath,
Integer depth)
throws IOException
IFileSystemBlobStoreHome
findByPrimaryKey in interface IFileSystemBlobStoreHomestrKey - The file primary keystrBasePath - base directorydepth - the depth
IOException - ioe
public InputStream findByPrimaryKeyInputStream(String strKey,
String strBasePath,
Integer depth)
throws IOException
IFileSystemBlobStoreHome
findByPrimaryKeyInputStream in interface IFileSystemBlobStoreHomestrKey - The file primary keystrBasePath - base directorydepth - the depth
IOException - ioe
public void createInputStream(InputStreamBlobStore blobStore,
String strBasePath,
Integer depth)
throws FileAlreadyExistsException,
IOException
IFileSystemBlobStoreHome
createInputStream in interface IFileSystemBlobStoreHomeblobStore - The instance of the physical file which contains the
inputstream to storestrBasePath - base directorydepth - the depth
FileAlreadyExistsException - already exists
IOException - ioe
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||