Uses of Interface
org.nuclos.api.common.NuclosFile
Package
Description
-
Uses of NuclosFile in org.nuclos.api.businessobject.facade.thin
Modifier and TypeMethodDescriptionStateful.getAttachments()
Returns all generic documents attached to this businessobjectModifier and TypeMethodDescriptionvoid
Stateful.deleteAttachment
(NuclosFile nuclosFile) Deletes the given file if attached to this businessobjectvoid
Stateful.insertAttachment
(NuclosFile nuclosFile, String comment) Inserts the given file as generic document with the given comment -
Uses of NuclosFile in org.nuclos.api.common
-
Uses of NuclosFile in org.nuclos.api.context
-
Uses of NuclosFile in org.nuclos.api.mail
Modifier and TypeMethodDescriptionNuclosMail.getAttachments()
returns a collection of all attachedNuclosFile
sNuclosMail.getInlineAttachments()
Returns a collection of all attachedNuclosFile
s representing inline attachments (e.g.Modifier and TypeMethodDescriptionvoid
NuclosMail.addAttachment
(NuclosFile pFileToAttach) attaches aNuclosFile
to the emailvoid
NuclosMail.addInlineAttachment
(NuclosFile pFileToAttach) Attaches aNuclosFile
representing an inline attachment (e.g. -
Uses of NuclosFile in org.nuclos.api.objectimport
Modifier and TypeMethodDescriptionImportResult.getLogFile()
This method returns the log file that has been created during import processModifierConstructorDescriptionImportResult
(boolean hasErrors, String message, NuclosFile logFile) -
Uses of NuclosFile in org.nuclos.api.provider
Modifier and TypeMethodDescriptionstatic NuclosFile
This method creates a newNuclosFile
using the given contentstatic NuclosFile
Opens and reads the data from the given file and returns a newNuclosFile
with the same filename and content.static NuclosFile
Opens and reads the data from the file the given filename points to and returns a newNuclosFile
with the same filename and content.static NuclosFile
Returns a newNuclosFile
with the given filename and content.static NuclosFile
PrintoutProvider.run
(OutputFormat format, Long boId) This method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
static NuclosFile
Providing the parameters this method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
static NuclosFile
PrintoutProvider.run
(OutputFormat format, Long boId, Map<String, Object> params, NuclosLocale locale) Providing the parameters this method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
PrintoutProvider.run
(OutputFormat format, Long boId, NuclosLocale locale) This method runs thePrintout
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
ReportProvider.run
(OutputFormat format) This method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
static NuclosFile
ReportProvider.run
(OutputFormat format, Map<String, Object> params) Providing the parameters this method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
static NuclosFile
ReportProvider.run
(OutputFormat format, Map<String, Object> params, NuclosLocale locale) Providing the parameters this method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
ReportProvider.run
(OutputFormat format, NuclosLocale locale) This method runs theReport
that belongs to the givenOutputFormat
and returns the generatedNuclosFile
containing all localized data in the given locale languagestatic NuclosFile
static NuclosFile
FileProvider.toPdf
(NuclosFile file) Transforms the given file to PDF.Modifier and TypeMethodDescriptionstatic void
FileProvider.print
(NuclosFile file) This method sends aNuclosFile
to the default printerstatic void
FileProvider.print
(NuclosFile file, String printername) This method sends aNuclosFile
to the given printerstatic void
FileProvider.print
(NuclosFile file, PrintProperties printProperties) This method prints aNuclosFile
with the givenPrintProperties
static ImportResult
ImportProvider.run
(NuclosFile importFile, boolean isTransactional, Class<? extends ImportStructureDefinition>... structureDefClasses) This method executes an import process by which the content of aNuclosFile
is parsed using the given structure definitions and stored in the database afterwards.static ImportResult
XmlImportProvider.run
(NuclosFile importFile, boolean isTransactional, Class<? extends XmlImportStructureDefinition>... structureDefClasses) This method executes an import process by which the content of aNuclosFile
is parsed using the given structure definitions and stored in the database afterwards.static void
FileProvider.save
(NuclosFile file, String directory) This method saves aNuclosFile
in the given directorystatic NuclosFile
FileProvider.toPdf
(NuclosFile file) Transforms the given file to PDF. -
Uses of NuclosFile in org.nuclos.api.service
Modifier and TypeMethodDescriptionPrintoutService.run
(OutputFormat format, Long iBusinessObjectId) PrintoutService.run
(OutputFormat format, Long iBusinessObjectId, Map<String, Object> params, NuclosLocale locale) PrintoutService.run
(OutputFormat format, Long iBusinessObjectId, NuclosLocale locale) ReportService.run
(OutputFormat format) ReportService.run
(OutputFormat format, Map<String, Object> params) ReportService.run
(OutputFormat format, Map<String, Object> params, NuclosLocale locale) ReportService.run
(OutputFormat format, NuclosLocale locale) FileService.toPdf
(NuclosFile file) Modifier and TypeMethodDescriptionvoid
FileService.print
(NuclosFile file) void
FileService.print
(NuclosFile file, String printerName) void
FileService.print
(NuclosFile file, PrintProperties printProperties) ImportService.run
(NuclosFile importFile, boolean isTransactional, Class<? extends ImportStructureDefinition>... structureDefClasses) This method executes an import process by which the content of aNuclosFile
is parsed using the given structure definitions and stored in the database afterwards.XmlImportService.run
(NuclosFile importFile, boolean isTransactional, Class<? extends XmlImportStructureDefinition>... structureDefClasses) This method executes an XML import process by which the content of aNuclosFile
is parsed using the given XML structure definitions and stored in the database afterwards.void
FileService.save
(NuclosFile file, String directory) FileService.toPdf
(NuclosFile file)