public class PrintComponent
extends org.pentaho.platform.engine.services.solution.ComponentBase
COMPONENT_EXECUTE_FAIL, MISSING_SESSION
Constructor and Description |
---|
PrintComponent() |
Modifier and Type | Method and Description |
---|---|
void |
done() |
static PrintService |
getDefaultPrinter() |
org.apache.commons.logging.Log |
getLogger() |
static PrintService |
getPrinter(String printerName)
Takes a printer name and find the associated PrintService.
|
PrintService |
getPrinterInternal(String printerName,
String lastPrinterName)
Takes a printer name and find the associated PrintService.
|
boolean |
init() |
createFeedbackParameter, createFeedbackParameter, createNewInstance, execute, getActionDefinition, getActionName, getActionTitle, getComponentDefinition, getComponentDefinition, getId, getInitFailMessage, getInitOk, getInstanceId, getLogId, getObjectName, getProcessId, getResourceAsString, getRuntimeContext, getSession, inputMissingError, outputMissingError, promptNeeded, promptNow, resolveParameter, resourceComponentSettingError, resourceMissingError, setActionDefinition, setActionName, setComponentDefinition, setComponentDefinitionMap, setInstanceId, setProcessId, setRuntimeContext, setSession, validate
debug, debug, error, error, error, fatal, fatal, getMessages, getUserString, info, info, setMessages, trace, trace, warn, warn
genLogIdFromInfo, genLogIdFromInfo, genLogIdFromSession, getLoggingLevel, setLoggingLevel, setLogId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public org.apache.commons.logging.Log getLogger()
getLogger
in class org.pentaho.platform.engine.core.system.PentahoBase
public boolean init()
init
in interface org.pentaho.platform.api.engine.IComponent
init
in class org.pentaho.platform.engine.services.solution.ComponentBase
public void done()
done
in interface org.pentaho.platform.api.engine.IComponent
done
in class org.pentaho.platform.engine.services.solution.ComponentBase
public PrintService getPrinterInternal(String printerName, String lastPrinterName)
printerName
- public static PrintService getPrinter(String printerName)
printerName
- public static PrintService getDefaultPrinter()