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(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,
IOException
fileId - intstreamId - intfileSeg - FileSegmentDBExceptionIOExceptionvoid loadJarData(int jarId,
FileSegment jarSeg)
throws DBException,
IOException
jarId - intjarSeg - FileSegmentDBExceptionIOExceptionint saveFileData(int fileId,
int streamId,
FileSegment fileSeg)
throws DBException,
IOException
fileId - intstreamId - intfileSeg - FileSegmentDBExceptionIOExceptionint saveJarData(String jarFile, DBDataDetailsList fileList) throws DBException, IOException
jarFile - StringfileList - DBDataDetailsListDBExceptionIOExceptionvoid deleteFileData(int fileId,
int streamId)
throws DBException,
IOException
fileId - intstreamId - intDBExceptionIOExceptionvoid deleteJarData(int jarId)
throws DBException,
IOException
jarId - intDBExceptionIOExceptionCopyright © 2005–2014 Alfresco Software. All rights reserved.