Class RepositoryFileOutputHandler
- java.lang.Object
-
- org.pentaho.platform.repository2.unified.fileio.RepositoryFileOutputHandler
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IOutputHandler
public class RepositoryFileOutputHandler extends Object implements org.pentaho.platform.api.engine.IOutputHandler
-
-
Constructor Summary
Constructors Constructor Description RepositoryFileOutputHandler(RepositoryFileOutputStream outputStream)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allowFeedback()
boolean
contentDone()
org.pentaho.platform.api.repository.IContentItem
getFeedbackContentItem()
org.pentaho.platform.api.engine.IMimeTypeListener
getMimeTypeListener()
org.pentaho.platform.api.repository.IContentItem
getOutputContentItem(String outputName, String contentName, String instanceId, String localMimeType)
int
getOutputPreference()
org.pentaho.platform.api.engine.IPentahoSession
getSession()
boolean
isResponseExpected()
void
setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
void
setOutput(String name, Object value)
void
setOutputPreference(int outputType)
void
setSession(org.pentaho.platform.api.engine.IPentahoSession session)
-
-
-
Constructor Detail
-
RepositoryFileOutputHandler
public RepositoryFileOutputHandler(RepositoryFileOutputStream outputStream)
-
-
Method Detail
-
allowFeedback
public boolean allowFeedback()
- Specified by:
allowFeedback
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
contentDone
public boolean contentDone()
- Specified by:
contentDone
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
getFeedbackContentItem
public org.pentaho.platform.api.repository.IContentItem getFeedbackContentItem()
- Specified by:
getFeedbackContentItem
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
getMimeTypeListener
public org.pentaho.platform.api.engine.IMimeTypeListener getMimeTypeListener()
- Specified by:
getMimeTypeListener
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
getOutputContentItem
public org.pentaho.platform.api.repository.IContentItem getOutputContentItem(String outputName, String contentName, String instanceId, String localMimeType)
- Specified by:
getOutputContentItem
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
getOutputPreference
public int getOutputPreference()
- Specified by:
getOutputPreference
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
getSession
public org.pentaho.platform.api.engine.IPentahoSession getSession()
- Specified by:
getSession
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
isResponseExpected
public boolean isResponseExpected()
- Specified by:
isResponseExpected
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
setMimeTypeListener
public void setMimeTypeListener(org.pentaho.platform.api.engine.IMimeTypeListener mimeTypeListener)
- Specified by:
setMimeTypeListener
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
setOutput
public void setOutput(String name, Object value) throws IOException
- Specified by:
setOutput
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
- Throws:
IOException
-
setOutputPreference
public void setOutputPreference(int outputType)
- Specified by:
setOutputPreference
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
setSession
public void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
- Specified by:
setSession
in interfaceorg.pentaho.platform.api.engine.IOutputHandler
-
-