Class BaseOutputHandler
- java.lang.Object
-
- org.pentaho.platform.engine.services.outputhandler.BaseOutputHandler
-
- All Implemented Interfaces:
org.pentaho.platform.api.engine.IContentOutputHandler
,org.pentaho.platform.api.engine.IMimeTypeListener
- Direct Known Subclasses:
MemoryOutputHandler
,ZipOutputHandler
public abstract class BaseOutputHandler extends Object implements org.pentaho.platform.api.engine.IContentOutputHandler
-
-
Constructor Summary
Constructors Constructor Description BaseOutputHandler()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description String
getContentRef()
abstract org.pentaho.platform.api.repository.IContentItem
getFileOutputContentItem()
String
getHandlerId()
String
getInstanceId()
String
getMimeType()
org.pentaho.platform.api.engine.IPentahoSession
getSession()
String
getSolutionPath()
void
setContentRef(String contentRef)
void
setHandlerId(String handlerId)
void
setInstanceId(String instanceId)
void
setMimeType(String mimeType)
void
setName(String name)
void
setSession(org.pentaho.platform.api.engine.IPentahoSession session)
void
setSolutionPath(String solutionPath)
-
-
-
Method Detail
-
getFileOutputContentItem
public abstract org.pentaho.platform.api.repository.IContentItem getFileOutputContentItem()
- Specified by:
getFileOutputContentItem
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
-
getHandlerId
public String getHandlerId()
- Specified by:
getHandlerId
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the handlerId.
-
setHandlerId
public void setHandlerId(String handlerId)
- Specified by:
setHandlerId
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Parameters:
handlerId
- The handlerId to set.
-
getInstanceId
public String getInstanceId()
- Specified by:
getInstanceId
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the instanceId.
-
setInstanceId
public void setInstanceId(String instanceId)
- Specified by:
setInstanceId
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Parameters:
instanceId
- The instanceId to set.
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the mimeType.
-
setMimeType
public void setMimeType(String mimeType)
- Specified by:
setMimeType
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Specified by:
setMimeType
in interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
- Parameters:
mimeType
- The mimeType to set.
-
getSession
public org.pentaho.platform.api.engine.IPentahoSession getSession()
- Specified by:
getSession
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the session.
-
setSession
public void setSession(org.pentaho.platform.api.engine.IPentahoSession session)
- Specified by:
setSession
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Parameters:
session
- The session to set.
-
getSolutionPath
public String getSolutionPath()
- Specified by:
getSolutionPath
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the solutionPath.
-
setSolutionPath
public void setSolutionPath(String solutionPath)
- Specified by:
setSolutionPath
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Parameters:
solutionPath
- The solutionPath to set.
-
getContentRef
public String getContentRef()
- Specified by:
getContentRef
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Returns:
- Returns the contentRef.
-
setContentRef
public void setContentRef(String contentRef)
- Specified by:
setContentRef
in interfaceorg.pentaho.platform.api.engine.IContentOutputHandler
- Parameters:
contentRef
- The contentRef to set.
-
setName
public void setName(String name)
- Specified by:
setName
in interfaceorg.pentaho.platform.api.engine.IMimeTypeListener
-
-