org.pentaho.platform.engine.services.outputhandler
Class BaseOutputHandler
java.lang.Object
org.pentaho.platform.engine.services.outputhandler.BaseOutputHandler
- All Implemented Interfaces:
- IContentOutputHandler, IMimeTypeListener
- Direct Known Subclasses:
- ApacheVFSOutputHandler, ContentRepositoryOutputHandler, FileOutputHandler, JcrCmsOutputHandler, ZipOutputHandler
public abstract class BaseOutputHandler
- extends Object
- implements IContentOutputHandler
BaseOutputHandler
public BaseOutputHandler()
getFileOutputContentItem
public abstract IContentItem getFileOutputContentItem()
- Description copied from interface:
IContentOutputHandler
- Returns a content item that can be used to stream content to a destination of some kind
- Specified by:
getFileOutputContentItem
in interface IContentOutputHandler
getActionName
public String getActionName()
- Specified by:
getActionName
in interface IContentOutputHandler
- Returns:
- Returns the actionName.
setActionName
public void setActionName(String actionName)
- Specified by:
setActionName
in interface IContentOutputHandler
- Parameters:
actionName
- The actionName to set.
getHandlerId
public String getHandlerId()
- Specified by:
getHandlerId
in interface IContentOutputHandler
- Returns:
- Returns the handlerId.
setHandlerId
public void setHandlerId(String handlerId)
- Specified by:
setHandlerId
in interface IContentOutputHandler
- Parameters:
handlerId
- The handlerId to set.
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceId
in interface IContentOutputHandler
- Returns:
- Returns the instanceId.
setInstanceId
public void setInstanceId(String instanceId)
- Specified by:
setInstanceId
in interface IContentOutputHandler
- Parameters:
instanceId
- The instanceId to set.
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interface IContentOutputHandler
- Returns:
- Returns the mimeType.
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeType
in interface IContentOutputHandler
- Specified by:
setMimeType
in interface IMimeTypeListener
- Parameters:
mimeType
- The mimeType to set.
getSession
public IPentahoSession getSession()
- Specified by:
getSession
in interface IContentOutputHandler
- Returns:
- Returns the session.
setSession
public void setSession(IPentahoSession session)
- Specified by:
setSession
in interface IContentOutputHandler
- Parameters:
session
- The session to set.
getSolutionName
public String getSolutionName()
- Specified by:
getSolutionName
in interface IContentOutputHandler
- Returns:
- Returns the solutionName.
setSolutionName
public void setSolutionName(String solutionName)
- Specified by:
setSolutionName
in interface IContentOutputHandler
- Parameters:
solutionName
- The solutionName to set.
getSolutionPath
public String getSolutionPath()
- Specified by:
getSolutionPath
in interface IContentOutputHandler
- Returns:
- Returns the solutionPath.
setSolutionPath
public void setSolutionPath(String solutionPath)
- Specified by:
setSolutionPath
in interface IContentOutputHandler
- Parameters:
solutionPath
- The solutionPath to set.
getContentRef
public String getContentRef()
- Specified by:
getContentRef
in interface IContentOutputHandler
- Returns:
- Returns the contentRef.
setContentRef
public void setContentRef(String contentRef)
- Specified by:
setContentRef
in interface IContentOutputHandler
- Parameters:
contentRef
- The contentRef to set.
setName
public void setName(String name)
- Specified by:
setName
in interface IMimeTypeListener