|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.dts.DtsServiceImpl
@Service(value="dtsService") public class DtsServiceImpl
Field Summary | |
---|---|
(package private) DocumentManager |
documentManager
|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) InstanceSecurityService |
instanceSecurityService
|
(package private) InstanceService |
instanceService
|
(package private) MessageboxService |
messageboxService
|
(package private) OrganizationService |
organizationService
|
static java.lang.String |
PARAMETERS_STORYBOARD
|
(package private) PecService |
pecService
|
(package private) WorkProcessManager |
processManager
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
(package private) it.neverworks.application.service.TemporaryFileService |
temporaryFileService
|
(package private) it.neverworks.application.data.tracking.TrackerDAO |
trackerDAO
|
(package private) org.springframework.transaction.PlatformTransactionManager |
transactionManager
|
(package private) it.neverworks.security.service.UserService |
userService
|
Constructor Summary | |
---|---|
DtsServiceImpl()
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PARAMETERS_STORYBOARD
org.hibernate.SessionFactory sessionFactory
org.springframework.transaction.PlatformTransactionManager transactionManager
it.neverworks.data.EntityManager entities
InstanceService instanceService
InstanceSecurityService instanceSecurityService
DocumentManager documentManager
PecService pecService
MessageboxService messageboxService
WorkProcessManager processManager
OrganizationService organizationService
it.neverworks.security.service.UserService userService
it.neverworks.application.data.tracking.TrackerDAO trackerDAO
it.neverworks.application.service.TemporaryFileService temporaryFileService
Constructor Detail |
---|
public DtsServiceImpl()
Method Detail |
---|
public void importDocuments(java.io.InputStream inputExcelStream, int sheetIndex, File targetFolder, java.lang.String targetAttributeNameStore, java.io.OutputStream os) throws java.io.IOException
DtsService
importDocuments
in interface DtsService
inputExcelStream
- the input excel streamsheetIndex
- the sheet indextargetFolder
- the target foldertargetAttributeNameStore
- the target attribute name storeos
- the os
java.io.IOException
- Signals that an I/O exception has occurred.@Transactional public void importMessageInstanceFromSheet(java.lang.String filePath) throws java.lang.Exception
DtsService
importMessageInstanceFromSheet
in interface DtsService
filePath
- the file path
java.lang.Exception
- the exception@Transactional public 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
DtsService
importMessageInstance
in interface DtsService
appIdentifier
- the app identifierappIdentifierDate
- the app identifier datesender
- the senderto
- the tocc
- the ccvariables
- the variablesmessageType
- the message typesConfidentialityLevel
- the s confidentiality levelattachments
- the attachmentsorgVersion
- the org versionisPec
- the is pecskipCreated
- the skip createdmailBoxName
- the mail box name
java.lang.Exception
- the exception@Transactional public 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
DtsService
importMessageServiceInstance
in interface DtsService
appIdentifier
- the app identifierappIdentifierDate
- the app identifier datesender
- the senderto
- the tocc
- the ccvariables
- the variablesserviceType
- the service typeattachments
- the attachmentsskipCreated
- the skip created
java.lang.Exception
- the exceptionpublic void exportObjects(java.lang.Class<?> clazz, java.util.Collection<?> rows, java.io.OutputStream output, it.neverworks.struts.Parameters parameters) throws java.lang.InterruptedException
DtsService
exportObjects
in interface DtsService
clazz
- the clazzrows
- the rowsoutput
- the outputparameters
- the parameters
java.lang.InterruptedException
- the interrupted exceptionpublic 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
DtsService
exportObjects
in interface DtsService
clazz
- the clazzrows
- the rowsoutput
- the outputparameters
- the parameterslink
- the link
java.lang.InterruptedException
- the interrupted exception@Transactional public void exportOrganizations(java.io.OutputStream os)
DtsService
exportOrganizations
in interface DtsService
os
- the os
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |