Modifier and Type | Method and Description |
---|---|
java.util.List<NuclosFile> |
Stateful.getAttachments()
Returns all generic documents attached to this businessobject
|
Modifier and Type | Method and Description |
---|---|
void |
Stateful.deleteAttachment(NuclosFile nuclosFile)
Deletes the given file if attached to this businessobject
|
void |
Stateful.insertAttachment(NuclosFile nuclosFile,
java.lang.String comment)
Inserts the given file as generic document with the given comment
|
Modifier and Type | Method and Description |
---|---|
NuclosFile |
NuclosFileLink.toFile() |
Modifier and Type | Method and Description |
---|---|
NuclosFile |
PrintResult.getOutput()
returns printed result as
NuclosFile |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<NuclosFile> |
NuclosMail.getAttachments()
returns a collection of all attached
NuclosFile s |
java.util.Collection<NuclosFile> |
NuclosMail.getInlineAttachments()
Returns a collection of all attached
NuclosFile s representing inline attachments (e.g. |
Modifier and Type | Method and Description |
---|---|
void |
NuclosMail.addAttachment(NuclosFile pFileToAttach)
attaches a
NuclosFile to the email |
void |
NuclosMail.addInlineAttachment(NuclosFile pFileToAttach)
Attaches a
NuclosFile representing an inline attachment (e.g. |
Modifier and Type | Method and Description |
---|---|
NuclosFile |
ImportResult.getLogFile()
This method returns the log file that has been created during import process
|
Constructor and Description |
---|
ImportResult(boolean hasErrors,
java.lang.String message,
NuclosFile logFile) |
Modifier and Type | Method and Description |
---|---|
static NuclosFile |
FileProvider.newFile(java.io.File file)
Opens and reads the data from the given file and returns a new
NuclosFile with the same filename and content. |
static NuclosFile |
FileProvider.newFile(java.lang.String completeFilename)
Opens and reads the data from the file the given filename points to and returns a new
NuclosFile with the same filename and content. |
static NuclosFile |
BusinessObjectProvider.newFile(java.lang.String name,
byte[] content)
This method creates a new
NuclosFile using the given content |
static NuclosFile |
FileProvider.newFile(java.lang.String fileName,
byte[] content)
Returns a new
NuclosFile with the given filename and content. |
static NuclosFile |
ReportProvider.run(OutputFormat format)
This method runs the
Report that belongs to the given OutputFormat and returns
the generated NuclosFile |
static NuclosFile |
PrintoutProvider.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 |
PrintoutProvider.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 |
PrintoutProvider.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 |
PrintoutProvider.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 |
static NuclosFile |
ReportProvider.run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params)
Providing the parameters this method runs the
Report that belongs to the given OutputFormat and
returns the generated NuclosFile |
static NuclosFile |
ReportProvider.run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale)
Providing the parameters this method runs the
Report that belongs to the given OutputFormat and
returns the generated NuclosFile containing all localized data in the given locale language |
static NuclosFile |
ReportProvider.run(OutputFormat format,
NuclosLocale locale)
This method runs the
Report that belongs to the given OutputFormat and returns
the generated NuclosFile containing all localized data in the given locale language |
static NuclosFile |
ReportProvider.run(UID outputFormatId,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale) |
static NuclosFile |
FileProvider.toPdf(NuclosFile file)
Transforms the given file to PDF.
|
Modifier and Type | Method and Description |
---|---|
static void |
FileProvider.print(NuclosFile file)
This method sends a
NuclosFile to the default printer |
static void |
FileProvider.print(NuclosFile file,
PrintProperties printProperties)
This method prints a
NuclosFile with the given PrintProperties |
static void |
FileProvider.print(NuclosFile file,
java.lang.String printername)
This method sends a
NuclosFile to the given printer |
static ImportResult |
ImportProvider.run(NuclosFile importFile,
boolean isTransactional,
java.lang.Class<? extends ImportStructureDefinition>... structureDefClasses)
This method executes an import process by which the content of a
NuclosFile is parsed using the given structure definitions
and stored in the database afterwards. |
static ImportResult |
XmlImportProvider.run(NuclosFile importFile,
boolean isTransactional,
java.lang.Class<? extends XmlImportStructureDefinition>... structureDefClasses)
This method executes an import process by which the content of a
NuclosFile is parsed using the given structure definitions
and stored in the database afterwards. |
static void |
FileProvider.save(NuclosFile file,
java.lang.String directory)
This method saves a
NuclosFile in the given directory |
static NuclosFile |
FileProvider.toPdf(NuclosFile file)
Transforms the given file to PDF.
|
Modifier and Type | Method and Description |
---|---|
NuclosFile |
FileService.newFile(java.io.File file) |
NuclosFile |
FileService.newFile(java.lang.String completeFilePath) |
NuclosFile |
FileService.newFile(java.lang.String fileName,
byte[] content) |
NuclosFile |
BusinessObjectService.newFile(java.lang.String name,
byte[] content) |
NuclosFile |
ReportService.run(OutputFormat format) |
NuclosFile |
PrintoutService.run(OutputFormat format,
java.lang.Long iBusinessObjectId) |
NuclosFile |
PrintoutService.run(OutputFormat format,
java.lang.Long iBusinessObjectId,
java.util.Map<java.lang.String,java.lang.Object> params) |
NuclosFile |
PrintoutService.run(OutputFormat format,
java.lang.Long iBusinessObjectId,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale) |
NuclosFile |
PrintoutService.run(OutputFormat format,
java.lang.Long iBusinessObjectId,
NuclosLocale locale) |
NuclosFile |
ReportService.run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params) |
NuclosFile |
ReportService.run(OutputFormat format,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale) |
NuclosFile |
ReportService.run(OutputFormat format,
NuclosLocale locale) |
NuclosFile |
ReportService.run(UID outputFormatId,
java.util.Map<java.lang.String,java.lang.Object> params,
NuclosLocale locale) |
NuclosFile |
FileService.toPdf(NuclosFile file) |
Modifier and Type | Method and Description |
---|---|
void |
FileService.print(NuclosFile file) |
void |
FileService.print(NuclosFile file,
PrintProperties printProperties) |
void |
FileService.print(NuclosFile file,
java.lang.String printerName) |
ImportResult |
ImportService.run(NuclosFile importFile,
boolean isTransactional,
java.lang.Class<? extends ImportStructureDefinition>... structureDefClasses)
This method executes an import process by which the content of a
NuclosFile is parsed using the given structure definitions
and stored in the database afterwards. |
ImportResult |
XmlImportService.run(NuclosFile importFile,
boolean isTransactional,
java.lang.Class<? extends XmlImportStructureDefinition>... structureDefClasses)
This method executes an XML import process by which the content of a
NuclosFile is parsed using the given XML structure definitions
and stored in the database afterwards. |
void |
FileService.save(NuclosFile file,
java.lang.String directory) |
NuclosFile |
FileService.toPdf(NuclosFile file) |
Copyright © 2024. All rights reserved.