it.sistematica.isharedoc.service.dts
Interface DtsService

All Known Implementing Classes:
DtsServiceImpl

public interface DtsService

The Interface DtsService.


Method Summary
 void exportObjects(java.lang.Class<?> clazz, java.util.Collection<?> rows, java.io.OutputStream output, it.neverworks.struts.Parameters parameters)
          Export objects.
 void exportObjects(java.lang.Class<?> clazz, java.util.Collection<?> rows, java.io.OutputStream output, it.neverworks.struts.Parameters parameters, it.neverworks.application.util.TaskLink link)
          Export objects.
 void exportOrganizations(java.io.OutputStream os)
          Export organizations.
 void importDocuments(java.io.InputStream inputExcelStream, int sheetIndex, File targetFolder, java.lang.String targetAttributeNameStore, java.io.OutputStream os)
          Import documents.
 void importMessageInstance(java.lang.String appIdentifier, java.util.Date appIdentifierDate, java.lang.String sender, java.util.Map<java.lang.String,java.lang.String> to, java.util.Map<java.lang.String,java.lang.String> cc, java.util.Map<java.lang.String,java.lang.Object> variables, MessageInstance.MessageType messageType, java.lang.String sConfidentialityLevel, java.util.Collection<java.io.File> attachments, java.lang.String orgVersion, boolean isPec, boolean skipCreated, java.lang.String mailBoxName)
          Import message instance.
 void importMessageInstanceFromSheet(java.lang.String filePath)
          Import message instance from sheet.
 void importMessageServiceInstance(java.lang.String appIdentifier, java.util.Date appIdentifierDate, java.lang.String sender, java.util.List<java.lang.String> to, java.util.List<java.lang.String> cc, java.util.Map<java.lang.String,java.lang.Object> variables, MessageServiceInstance.ServiceType serviceType, java.util.Collection<java.io.File> attachments, boolean skipCreated)
          Import message service instance.
 

Method Detail

importDocuments

void importDocuments(java.io.InputStream inputExcelStream,
                     int sheetIndex,
                     File targetFolder,
                     java.lang.String targetAttributeNameStore,
                     java.io.OutputStream os)
                     throws java.io.IOException
Import documents.

Parameters:
inputExcelStream - the input excel stream
sheetIndex - the sheet index
targetFolder - the target folder
targetAttributeNameStore - the target attribute name store
os - the os
Throws:
java.io.IOException - Signals that an I/O exception has occurred.

importMessageInstance

void importMessageInstance(java.lang.String appIdentifier,
                           java.util.Date appIdentifierDate,
                           java.lang.String sender,
                           java.util.Map<java.lang.String,java.lang.String> to,
                           java.util.Map<java.lang.String,java.lang.String> cc,
                           java.util.Map<java.lang.String,java.lang.Object> variables,
                           MessageInstance.MessageType messageType,
                           java.lang.String sConfidentialityLevel,
                           java.util.Collection<java.io.File> attachments,
                           java.lang.String orgVersion,
                           boolean isPec,
                           boolean skipCreated,
                           java.lang.String mailBoxName)
                           throws java.lang.Exception
Import message instance.

Parameters:
appIdentifier - the app identifier
appIdentifierDate - the app identifier date
sender - the sender
to - the to
cc - the cc
variables - the variables
messageType - the message type
sConfidentialityLevel - the s confidentiality level
attachments - the attachments
orgVersion - the org version
isPec - the is pec
skipCreated - the skip created
mailBoxName - the mail box name
Throws:
java.lang.Exception - the exception

importMessageInstanceFromSheet

void importMessageInstanceFromSheet(java.lang.String filePath)
                                    throws java.lang.Exception
Import message instance from sheet.

Parameters:
filePath - the file path
Throws:
java.lang.Exception - the exception

importMessageServiceInstance

void importMessageServiceInstance(java.lang.String appIdentifier,
                                  java.util.Date appIdentifierDate,
                                  java.lang.String sender,
                                  java.util.List<java.lang.String> to,
                                  java.util.List<java.lang.String> cc,
                                  java.util.Map<java.lang.String,java.lang.Object> variables,
                                  MessageServiceInstance.ServiceType serviceType,
                                  java.util.Collection<java.io.File> attachments,
                                  boolean skipCreated)
                                  throws java.lang.Exception
Import message service instance.

Parameters:
appIdentifier - the app identifier
appIdentifierDate - the app identifier date
sender - the sender
to - the to
cc - the cc
variables - the variables
serviceType - the service type
attachments - the attachments
skipCreated - the skip created
Throws:
java.lang.Exception - the exception

exportObjects

void exportObjects(java.lang.Class<?> clazz,
                   java.util.Collection<?> rows,
                   java.io.OutputStream output,
                   it.neverworks.struts.Parameters parameters,
                   it.neverworks.application.util.TaskLink link)
                   throws java.lang.InterruptedException
Export objects.

Parameters:
clazz - the clazz
rows - the rows
output - the output
parameters - the parameters
link - the link
Throws:
java.lang.InterruptedException - the interrupted exception

exportObjects

void exportObjects(java.lang.Class<?> clazz,
                   java.util.Collection<?> rows,
                   java.io.OutputStream output,
                   it.neverworks.struts.Parameters parameters)
                   throws java.lang.InterruptedException
Export objects.

Parameters:
clazz - the clazz
rows - the rows
output - the output
parameters - the parameters
Throws:
java.lang.InterruptedException - the interrupted exception

exportOrganizations

void exportOrganizations(java.io.OutputStream os)
Export organizations.

Parameters:
os - the os