public interface DBDataInterface
The database data interface provides methods for loading/saving file data to database fields.
| Modifier and Type | Method and Description |
|---|---|
void |
deleteFileData(int fileId,
int streamId)
Delete the file data for the specified file/stream
|
void |
deleteJarData(int jarId)
Delete the file data for the specified Jar file
|
DBDataDetails |
getFileDataDetails(int fileId,
int streamId)
Return the file data details for the specified file or stream.
|
long |
getMaximumFragmentSize()
Return the maximum data fragment size supported
|
void |
loadFileData(int fileId,
int streamId,
FileSegment fileSeg)
Load file data from the database into a temporary/local file
|
void |
loadJarData(int jarId,
FileSegment jarSeg)
Load Jar file data from the database into a temporary file
|
int |
saveFileData(int fileId,
int streamId,
FileSegment fileSeg)
Save the file data from the temporary/local file to the database
|
int |
saveJarData(java.lang.String jarFile,
DBDataDetailsList fileList)
Save the file data from a Jar file to the database
|
DBDataDetails getFileDataDetails(int fileId, int streamId) throws DBException
fileId - streamId - DBExceptionlong getMaximumFragmentSize()
void loadFileData(int fileId,
int streamId,
FileSegment fileSeg)
throws DBException,
java.io.IOException
fileId - intstreamId - intfileSeg - FileSegmentDBExceptionjava.io.IOExceptionvoid loadJarData(int jarId,
FileSegment jarSeg)
throws DBException,
java.io.IOException
jarId - intjarSeg - FileSegmentDBExceptionjava.io.IOExceptionint saveFileData(int fileId,
int streamId,
FileSegment fileSeg)
throws DBException,
java.io.IOException
fileId - intstreamId - intfileSeg - FileSegmentDBExceptionjava.io.IOExceptionint saveJarData(java.lang.String jarFile,
DBDataDetailsList fileList)
throws DBException,
java.io.IOException
jarFile - StringfileList - DBDataDetailsListDBExceptionjava.io.IOExceptionvoid deleteFileData(int fileId,
int streamId)
throws DBException,
java.io.IOException
fileId - intstreamId - intDBExceptionjava.io.IOExceptionvoid deleteJarData(int jarId)
throws DBException,
java.io.IOException
jarId - intDBExceptionjava.io.IOExceptionCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.