it.sistematica.isharedoc.service
Interface UtilityService

All Known Implementing Classes:
UtilityServiceImpl

public interface UtilityService

The Interface UtilityService.


Method Summary
 java.io.File convertToPdf(CloudFile file, java.util.Map<java.lang.String,java.lang.Object> customProperties)
          Convert to pdf.
 java.io.File convertToPdf(java.io.File file)
          Convert to pdf.
 java.io.File convertToPdf(java.io.File file, java.util.Map<java.lang.String,java.lang.Object> customProperties)
          Convert to pdf.
 void mailMerge(java.io.File doc, java.io.File database, java.lang.String sheetName, java.lang.String outputFileName)
          Mail merge.
 

Method Detail

convertToPdf

java.io.File convertToPdf(java.io.File file)
                          throws java.lang.Exception
Convert to pdf.

Parameters:
file - the file
Returns:
the file
Throws:
java.lang.Exception - the exception

convertToPdf

java.io.File convertToPdf(CloudFile file,
                          java.util.Map<java.lang.String,java.lang.Object> customProperties)
                          throws java.lang.Exception
Convert to pdf.

Parameters:
file - the file
customProperties - the custom properties
Returns:
the file
Throws:
java.lang.Exception - the exception

convertToPdf

java.io.File convertToPdf(java.io.File file,
                          java.util.Map<java.lang.String,java.lang.Object> customProperties)
                          throws java.lang.Exception
Convert to pdf.

Parameters:
file - the file
customProperties - the custom properties
Returns:
the file
Throws:
java.lang.Exception - the exception

mailMerge

void mailMerge(java.io.File doc,
               java.io.File database,
               java.lang.String sheetName,
               java.lang.String outputFileName)
               throws java.lang.Exception
Mail merge.

Parameters:
doc - the doc
database - the database
sheetName - the sheet name
outputFileName - the output file name
Throws:
java.lang.Exception - the exception