it.eng.spagobi.tools.scheduler.dispatcher
Class MailDocumentDispatchChannel

java.lang.Object
  extended by it.eng.spagobi.tools.scheduler.dispatcher.MailDocumentDispatchChannel
All Implemented Interfaces:
IDocumentDispatchChannel

public class MailDocumentDispatchChannel
extends java.lang.Object
implements IDocumentDispatchChannel

Author:
Andrea Gioia (andrea.gioia@eng.it)

Constructor Summary
MailDocumentDispatchChannel(DispatchContext dispatchContext)
           
 
Method Summary
 boolean canDispatch(BIObject document)
           
static boolean canDispatch(DispatchContext dispatchContext, BIObject document, it.eng.spagobi.tools.dataset.common.datastore.IDataStore emailDispatchDataStore)
           
 void close()
           
 boolean dispatch(BIObject document, byte[] executionOutput)
           
 void setDispatchContext(DispatchContext dispatchContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailDocumentDispatchChannel

public MailDocumentDispatchChannel(DispatchContext dispatchContext)
Method Detail

setDispatchContext

public void setDispatchContext(DispatchContext dispatchContext)
Specified by:
setDispatchContext in interface IDocumentDispatchChannel

close

public void close()
Specified by:
close in interface IDocumentDispatchChannel

canDispatch

public boolean canDispatch(BIObject document)
Specified by:
canDispatch in interface IDocumentDispatchChannel

dispatch

public boolean dispatch(BIObject document,
                        byte[] executionOutput)
Specified by:
dispatch in interface IDocumentDispatchChannel

canDispatch

public static boolean canDispatch(DispatchContext dispatchContext,
                                  BIObject document,
                                  it.eng.spagobi.tools.dataset.common.datastore.IDataStore emailDispatchDataStore)