|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.ReportingServiceImpl
public class ReportingServiceImpl
Nested Class Summary | |
---|---|
static class |
ReportingServiceImpl.MessageBoxReport
|
Field Summary | |
---|---|
(package private) it.neverworks.util.Configuration |
configuration
|
(package private) it.neverworks.util.Configuration |
Configuration
|
(package private) DocumentManager |
documentManager
|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) InstanceSecurityService |
instanceSecurityService
|
(package private) InstanceService |
instanceService
|
(package private) IsharedocSystemService |
isharedocSystemService
|
(package private) org.springframework.mail.javamail.JavaMailSenderImpl |
mailSender
|
(package private) it.neverworks.template.TemplateEngine |
mailTemplateEngine
|
(package private) org.springframework.mail.SimpleMailMessage |
notificationMailMessage
|
(package private) NotificationService |
notificationService
|
(package private) OrganizationService |
organizationService
|
(package private) PartitionService |
partitionService
|
(package private) WorkProcessManager |
processManager
|
(package private) org.hibernate.SessionFactory |
sessionFactory
|
(package private) WorkTaskManager |
taskManager
|
(package private) it.neverworks.application.service.TemporaryFileService |
temporaryFileService
|
(package private) org.springframework.transaction.PlatformTransactionManager |
transactionManager
|
(package private) it.neverworks.application.service.UserInfo |
userInfo
|
Constructor Summary | |
---|---|
ReportingServiceImpl()
|
Method Summary | |
---|---|
void |
archiveInstancePdfReport()
Archive instance pdf report. |
java.io.File |
createInstancePdfReport(ItemInstance instance)
Creates the instance pdf report. |
java.io.File |
createTreePdfReport(File file)
Creates the tree pdf report. |
java.util.List<DailyInstance> |
findInstanceReport(java.util.Date fromDate,
java.util.Date toDate)
Find instance report. |
java.lang.String |
getJasperImagePath()
|
it.neverworks.jasper.ConfigurableFileResolver |
getJasperResolver()
|
java.io.ByteArrayOutputStream |
instanceMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
Instance mail report. |
void |
mail(java.lang.String from,
java.lang.String[] to,
java.lang.String[] cc,
java.lang.String subject,
java.lang.String body)
Mail. |
void |
mail(it.neverworks.security.User sender,
java.lang.String from,
java.lang.String[] to,
java.lang.String[] cc,
java.lang.String subject,
java.util.Map<java.lang.String,java.lang.Object> data,
java.lang.String template)
Mail. |
java.util.List<ReportingServiceImpl.MessageBoxReport> |
messageBoxesReport()
Message boxes report. |
java.lang.String |
prepareTweet(it.neverworks.security.User from,
it.neverworks.security.User to,
Tweet.Type type,
java.lang.String group,
java.lang.String title,
java.util.Map<java.lang.String,java.lang.Object> data,
java.lang.String template)
Prepare tweet. |
void |
sendDailyReport()
Send daily report. |
void |
sendDailyReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
Send daily report. |
void |
sendDeadlinesReport(java.util.List<java.lang.String> mailAddresses,
java.util.Map<java.lang.String,java.lang.Object> parameters)
Send deadlines report. |
void |
sendInstanceMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
Send instance mail report. |
void |
sendMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
Send mail report. |
void |
setJasperImagePath(java.lang.String jasperImagePath)
|
void |
setJasperResolver(it.neverworks.jasper.ConfigurableFileResolver jasperResolver)
|
void |
setReportBaseUrl(java.lang.String reportBaseUrl)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
it.neverworks.application.service.UserInfo userInfo
it.neverworks.data.EntityManager entities
WorkProcessManager processManager
DocumentManager documentManager
InstanceService instanceService
InstanceSecurityService instanceSecurityService
it.neverworks.application.service.TemporaryFileService temporaryFileService
it.neverworks.util.Configuration configuration
NotificationService notificationService
OrganizationService organizationService
WorkTaskManager taskManager
IsharedocSystemService isharedocSystemService
it.neverworks.util.Configuration Configuration
PartitionService partitionService
org.hibernate.SessionFactory sessionFactory
org.springframework.transaction.PlatformTransactionManager transactionManager
org.springframework.mail.javamail.JavaMailSenderImpl mailSender
org.springframework.mail.SimpleMailMessage notificationMailMessage
it.neverworks.template.TemplateEngine mailTemplateEngine
Constructor Detail |
---|
public ReportingServiceImpl()
Method Detail |
---|
public java.lang.String getJasperImagePath()
public void setJasperImagePath(java.lang.String jasperImagePath)
public it.neverworks.jasper.ConfigurableFileResolver getJasperResolver()
public void setJasperResolver(it.neverworks.jasper.ConfigurableFileResolver jasperResolver)
public void setReportBaseUrl(java.lang.String reportBaseUrl)
@Transactional public java.lang.String prepareTweet(it.neverworks.security.User from, it.neverworks.security.User to, Tweet.Type type, java.lang.String group, java.lang.String title, java.util.Map<java.lang.String,java.lang.Object> data, java.lang.String template)
ReportingService
prepareTweet
in interface ReportingService
from
- the fromto
- the totype
- the typegroup
- the grouptitle
- the titledata
- the datatemplate
- the template
@Transactional public void mail(it.neverworks.security.User sender, java.lang.String from, java.lang.String[] to, java.lang.String[] cc, java.lang.String subject, java.util.Map<java.lang.String,java.lang.Object> data, java.lang.String template) throws java.lang.Exception
ReportingService
mail
in interface ReportingService
sender
- the senderfrom
- the fromto
- the tocc
- the ccsubject
- the subjectdata
- the datatemplate
- the template
java.lang.Exception
- the exceptionpublic void mail(java.lang.String from, java.lang.String[] to, java.lang.String[] cc, java.lang.String subject, java.lang.String body)
ReportingService
mail
in interface ReportingService
from
- the fromto
- the tocc
- the ccsubject
- the subjectbody
- the body@Transactional public java.util.List<DailyInstance> findInstanceReport(java.util.Date fromDate, java.util.Date toDate)
ReportingService
findInstanceReport
in interface ReportingService
fromDate
- the from datetoDate
- the to date
@Transactional public void archiveInstancePdfReport()
ReportingService
archiveInstancePdfReport
in interface ReportingService
@Transactional public void sendDailyReport()
ReportingService
sendDailyReport
in interface ReportingService
@Transactional public void sendDailyReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
ReportingService
sendDailyReport
in interface ReportingService
parameters
- the parameterspublic void sendDeadlinesReport(java.util.List<java.lang.String> mailAddresses, java.util.Map<java.lang.String,java.lang.Object> parameters)
ReportingService
sendDeadlinesReport
in interface ReportingService
mailAddresses
- the mail addressesparameters
- the parameterspublic void sendMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
ReportingService
sendMailReport
in interface ReportingService
parameters
- the parameterspublic void sendInstanceMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
ReportingService
sendInstanceMailReport
in interface ReportingService
parameters
- the parameterspublic java.io.ByteArrayOutputStream instanceMailReport(java.util.Map<java.lang.String,java.lang.Object> parameters)
ReportingService
instanceMailReport
in interface ReportingService
parameters
- the parameters
@Transactional public java.io.File createInstancePdfReport(ItemInstance instance)
ReportingService
createInstancePdfReport
in interface ReportingService
instance
- the instance
@Transactional public java.io.File createTreePdfReport(File file)
ReportingService
createTreePdfReport
in interface ReportingService
file
- the file
@Transactional public java.util.List<ReportingServiceImpl.MessageBoxReport> messageBoxesReport()
ReportingService
messageBoxesReport
in interface ReportingService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |