public class PrintoutProvider
extends java.lang.Object
PrintoutProvider
provides methods for executing printouts
This Class is usually used in Rule-classes and allows API access only
Constructor and Description |
---|
PrintoutProvider() |
Modifier and Type | Method and Description |
---|---|
static NuclosFile |
run(OutputFormat format,
java.lang.Long boId)
This method runs the
Printout that belongs to the given OutputFormat and
returns the generated NuclosFile |
static NuclosFile |
run(OutputFormat format,
java.lang.Long boId,
java.util.Map<java.lang.String,java.lang.Object> params)
Providing the parameters this method runs the
Printout that belongs to the given OutputFormat and
returns the generated NuclosFile |
static NuclosFile |
run(OutputFormat format,
java.lang.Long boId,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale)
Providing the parameters this method runs the
Printout that belongs to the given OutputFormat and
returns the generated NuclosFile containing all localized data in the given locale language |
static NuclosFile |
run(OutputFormat format,
java.lang.Long boId,
NuclosLocale locale)
This method runs the
Printout that belongs to the given OutputFormat and
returns the generated NuclosFile containing all localized data in the given locale language |
void |
setPrintoutService(PrintoutService repService) |
public void setPrintoutService(PrintoutService repService)
public static NuclosFile run(OutputFormat format, java.lang.Long boId) throws BusinessException
Printout
that belongs to the given OutputFormat
and
returns the generated NuclosFile
format
- OutputFormat
- OutputFormat stored in the generated printout classNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, java.lang.Long boId, NuclosLocale locale) throws BusinessException
Printout
that belongs to the given OutputFormat
and
returns the generated NuclosFile
containing all localized data in the given locale languageformat
- OutputFormat
- OutputFormat stored in the generated printout classlocale
- NuclosLocale
- Language in which the localized data is displayedNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, java.lang.Long boId, java.util.Map<java.lang.String,java.lang.Object> params) throws BusinessException
Printout
that belongs to the given OutputFormat
and
returns the generated NuclosFile
format
- OutputFormat
- OutputFormat stored in the generated printout classboId
- params
- Map
- Parameters for the printoutNuclosFile
BusinessException
public static NuclosFile run(OutputFormat format, java.lang.Long boId, java.util.Map<java.lang.String,java.lang.Object> params, NuclosLocale locale) throws BusinessException
Printout
that belongs to the given OutputFormat
and
returns the generated NuclosFile
containing all localized data in the given locale languageformat
- OutputFormat
- OutputFormat stored in the generated printout classboId
- params
- Map
- Parameters for the printoutlocale
- NuclosLocale
- Language in which the localized data is displayedNuclosFile
BusinessException
Copyright © 2024. All rights reserved.