LEONARDI Application Composer - 8.9.0.40 by W4 S.A.

leon.peer
Interface LyFetchAttachmentInterface


public interface LyFetchAttachmentInterface

Implemented by a provider that implements attachment fetching (usually through a blob).

See Also:
LyBlobFileHandler

Field Summary
static java.lang.String __VERSION
           
 
Method Summary
 boolean fetchAttachment(LyObjectId objectId, java.lang.String fieldId, java.io.OutputStream out)
          Finds an attachment in the data provider and save its content to the target output stream.
 

Field Detail

__VERSION

static final java.lang.String __VERSION
See Also:
Constant Field Values
Method Detail

fetchAttachment

boolean fetchAttachment(LyObjectId objectId,
                        java.lang.String fieldId,
                        java.io.OutputStream out)
Finds an attachment in the data provider and save its content to the target output stream.

Parameters:
id - identifier of the object on the provider
fieldId - identifier of the field which contains the atttachment
out - output stream to write content to
Returns:
true if the request was correctly processed

(c) January 2013 - W4 S.A.

Website: W4 S.A., contact us: support@w4global.com