com.mf.roundhouse.core.broker.ext
Class StreamableContentExtension

java.lang.Object
  extended byCommonBrokerExtension
      extended bycom.mf.roundhouse.core.broker.ext.StreamableContentExtension

public class StreamableContentExtension
extends CommonBrokerExtension

Author:
Jeffrey Payne
See Also:
Serialized Form

Field Summary
static java.lang.String COL_BLOB
           
static java.lang.String COL_BLOBID
           
static java.lang.String COL_CHECKSUM
           
static java.lang.String COL_FILESIZE
           
static java.lang.String COL_MIMETYPE
           
static java.lang.String COL_ORIGINAL_NAME
           
static java.lang.String TABLE_NAME
           
 
Constructor Summary
StreamableContentExtension(IBroker broker)
           
 
Method Summary
 byte[] getBlob(StreamableContent content)
           
 BlobResultset getBlobInputStream(StreamableContent content, java.sql.Connection conn)
           
 java.lang.String getDatasourceId()
           
 java.lang.String getTableName()
           
 void updateBlob(StreamableContent content)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TABLE_NAME

public static final java.lang.String TABLE_NAME
See Also:
Constant Field Values

COL_BLOBID

public static final java.lang.String COL_BLOBID
See Also:
Constant Field Values

COL_BLOB

public static final java.lang.String COL_BLOB
See Also:
Constant Field Values

COL_FILESIZE

public static final java.lang.String COL_FILESIZE
See Also:
Constant Field Values

COL_CHECKSUM

public static final java.lang.String COL_CHECKSUM
See Also:
Constant Field Values

COL_MIMETYPE

public static final java.lang.String COL_MIMETYPE
See Also:
Constant Field Values

COL_ORIGINAL_NAME

public static final java.lang.String COL_ORIGINAL_NAME
See Also:
Constant Field Values
Constructor Detail

StreamableContentExtension

public StreamableContentExtension(IBroker broker)
Parameters:
broker -
Method Detail

getDatasourceId

public java.lang.String getDatasourceId()

getTableName

public java.lang.String getTableName()

updateBlob

public void updateBlob(StreamableContent content)
                throws java.lang.Exception
Throws:
java.lang.Exception

getBlob

public byte[] getBlob(StreamableContent content)
               throws java.lang.Exception
Throws:
java.lang.Exception

getBlobInputStream

public BlobResultset getBlobInputStream(StreamableContent content,
                                        java.sql.Connection conn)
                                 throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 2004 Media Fortress, LLC. Licensed for commercial use under the Apache 2.0 License.