org.pentaho.platform.api.engine
Interface IContentOutputHandler

All Superinterfaces:
IMimeTypeListener
All Known Implementing Classes:
ApacheVFSOutputHandler, BaseOutputHandler, ContentRepositoryOutputHandler, FileOutputHandler, JcrCmsOutputHandler, ZipOutputHandler

public interface IContentOutputHandler
extends IMimeTypeListener

Interface for a class used to stream contents from a Pentaho action sequence to a destination of some kind, e.g. file, database, content management system (CMS)

Author:
jdixon

Method Summary
 String getActionName()
           
 String getContentRef()
           
 IContentItem getFileOutputContentItem()
          Returns a content item that can be used to stream content to a destination of some kind
 String getHandlerId()
           
 String getInstanceId()
           
 String getMimeType()
           
 IPentahoSession getSession()
           
 String getSolutionName()
           
 String getSolutionPath()
           
 void setActionName(String actionName)
           
 void setContentRef(String contentRef)
           
 void setHandlerId(String handlerId)
           
 void setInstanceId(String instanceId)
           
 void setMimeType(String mimeType)
           
 void setSession(IPentahoSession session)
           
 void setSolutionName(String solutionName)
           
 void setSolutionPath(String solutionPath)
           
 
Methods inherited from interface org.pentaho.platform.api.engine.IMimeTypeListener
setName
 

Method Detail

getFileOutputContentItem

IContentItem getFileOutputContentItem()
Returns a content item that can be used to stream content to a destination of some kind


getActionName

String getActionName()
Returns:
Returns the actionName.

setActionName

void setActionName(String actionName)
Parameters:
actionName - The actionName to set.

getHandlerId

String getHandlerId()
Returns:
Returns the handlerId.

setHandlerId

void setHandlerId(String handlerId)
Parameters:
handlerId - The handlerId to set.

getInstanceId

String getInstanceId()
Returns:
Returns the instanceId.

setInstanceId

void setInstanceId(String instanceId)
Parameters:
instanceId - The instanceId to set.

getMimeType

String getMimeType()
Returns:
Returns the mimeType.

setMimeType

void setMimeType(String mimeType)
Specified by:
setMimeType in interface IMimeTypeListener
Parameters:
mimeType - The mimeType to set.

getSession

IPentahoSession getSession()
Returns:
Returns the session.

setSession

void setSession(IPentahoSession session)
Parameters:
session - The session to set.

getSolutionName

String getSolutionName()
Returns:
Returns the solutionName.

setSolutionName

void setSolutionName(String solutionName)
Parameters:
solutionName - The solutionName to set.

getSolutionPath

String getSolutionPath()
Returns:
Returns the solutionPath.

setSolutionPath

void setSolutionPath(String solutionPath)
Parameters:
solutionPath - The solutionPath to set.

getContentRef

String getContentRef()
Returns:
Returns the contentRef.

setContentRef

void setContentRef(String contentRef)
Parameters:
contentRef - The path and name of the content to be stored. This comes from the definition in the outputs section of the Action Sequence