|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.sistematica.isharedoc.service.mail.PecServiceImpl
@Service(value="pecService") public class PecServiceImpl
Nested Class Summary | |
---|---|
static class |
PecServiceImpl.DatiCert
|
Field Summary | |
---|---|
(package private) it.neverworks.data.EntityManager |
entities
|
(package private) InstanceService |
instanceService
|
(package private) OrganizationService |
organizationService
|
Constructor Summary | |
---|---|
PecServiceImpl()
|
Method Summary | |
---|---|
java.lang.String |
generateAnnullamentoXml(MessageInstance messageInstance,
java.lang.String motivo,
java.lang.String provvedimento)
Generate annullamento xml. |
java.lang.String |
generateConfermaXml(MessageInstance messageInstance,
java.lang.String protocolNumber,
java.util.Date protocolDate)
Generate conferma xml. |
java.lang.String |
generateNotificaEccezioneXml(MessageInstance messageInstance,
java.lang.String motivo)
Generate notifica eccezione xml. |
java.lang.String |
generateSegnaturaXml(MessageInstance messageInstance)
Generate segnatura xml. |
java.lang.String |
generateSegnaturaXml(MessageInstance messageInstance,
java.util.List<ContactInstance> contactInstances)
Generate segnatura xml. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesMapFromAnnullamento(java.io.InputStream annullamentoXml,
MessageBox.InteroperabilityType interoperabilityType)
Gets the variables map from annullamento. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesMapFromConfermaRicezione(java.io.InputStream confermaXml,
MessageBox.InteroperabilityType interoperabilityType)
Gets the variables map from conferma ricezione. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesMapFromNotificaEccezione(java.io.InputStream eccezioneXml,
MessageBox.InteroperabilityType interoperabilityType)
Gets the variables map from notifica eccezione. |
java.util.Map<java.lang.String,java.lang.Object> |
getVariablesMapFromSegnatura(java.io.InputStream segnaturaXml,
MessageBox.InteroperabilityType interoperabilityType)
Gets the variables map from segnatura. |
MessageServiceInstance.XmlAutomationType |
getXmlAutomationType(java.lang.String xmlFileName)
Gets the xml automation type. |
java.lang.String |
getXmlType(java.util.Collection<java.io.File> attachments)
Gets the xml type. |
java.lang.String |
getXmlType(it.neverworks.mail.helper.MessageHelper messageHelper)
Gets the xml type. |
java.lang.String |
getXmlType(java.util.Vector<java.lang.String> attachments)
Gets the xml type. |
static PecServiceImpl.DatiCert |
readDaticertFromXml(java.io.InputStream daticert)
|
static Postacert |
readPostacertFromXml(java.io.InputStream daticert)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
InstanceService instanceService
it.neverworks.data.EntityManager entities
OrganizationService organizationService
Constructor Detail |
---|
public PecServiceImpl()
Method Detail |
---|
public java.lang.String generateSegnaturaXml(MessageInstance messageInstance) throws javax.xml.bind.JAXBException, org.xml.sax.SAXException
PecService
generateSegnaturaXml
in interface PecService
messageInstance
- the message instance
javax.xml.bind.JAXBException
org.xml.sax.SAXException
public java.lang.String generateSegnaturaXml(MessageInstance messageInstance, java.util.List<ContactInstance> contactInstances) throws javax.xml.bind.JAXBException, org.xml.sax.SAXException
PecService
generateSegnaturaXml
in interface PecService
messageInstance
- the message instancecontactInstances
- the contact instances
javax.xml.bind.JAXBException
org.xml.sax.SAXException
public java.lang.String generateConfermaXml(MessageInstance messageInstance, java.lang.String protocolNumber, java.util.Date protocolDate) throws java.lang.Exception
PecService
generateConfermaXml
in interface PecService
messageInstance
- the message instanceprotocolNumber
- the protocol numberprotocolDate
- the protocol date
java.lang.Exception
- the exceptionpublic java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromSegnatura(java.io.InputStream segnaturaXml, MessageBox.InteroperabilityType interoperabilityType) throws org.xml.sax.SAXException, javax.xml.bind.JAXBException, java.text.ParseException, java.io.IOException
PecService
getVariablesMapFromSegnatura
in interface PecService
segnaturaXml
- the segnatura xmlinteroperabilityType
- the interoperability type
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromConfermaRicezione(java.io.InputStream confermaXml, MessageBox.InteroperabilityType interoperabilityType) throws org.xml.sax.SAXException, javax.xml.bind.JAXBException, java.text.ParseException, java.io.IOException
PecService
getVariablesMapFromConfermaRicezione
in interface PecService
confermaXml
- the conferma xmlinteroperabilityType
- the interoperability type
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromAnnullamento(java.io.InputStream annullamentoXml, MessageBox.InteroperabilityType interoperabilityType) throws org.xml.sax.SAXException, javax.xml.bind.JAXBException, java.text.ParseException, java.io.IOException
PecService
getVariablesMapFromAnnullamento
in interface PecService
annullamentoXml
- the annullamento xmlinteroperabilityType
- the interoperability type
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException
public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromNotificaEccezione(java.io.InputStream eccezioneXml, MessageBox.InteroperabilityType interoperabilityType) throws java.lang.Exception
PecService
getVariablesMapFromNotificaEccezione
in interface PecService
eccezioneXml
- the annullamento xmlinteroperabilityType
- the interoperability type
java.lang.Exception
- the exceptionpublic java.lang.String generateNotificaEccezioneXml(MessageInstance messageInstance, java.lang.String motivo) throws java.lang.Exception
PecService
generateNotificaEccezioneXml
in interface PecService
messageInstance
- the message instancemotivo
- the motivo
java.lang.Exception
- the exceptionpublic java.lang.String generateAnnullamentoXml(MessageInstance messageInstance, java.lang.String motivo, java.lang.String provvedimento) throws java.lang.Exception
PecService
generateAnnullamentoXml
in interface PecService
messageInstance
- the message instancemotivo
- the motivoprovvedimento
- the provvedimento
java.lang.Exception
- the exceptionpublic static Postacert readPostacertFromXml(java.io.InputStream daticert) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public static PecServiceImpl.DatiCert readDaticertFromXml(java.io.InputStream daticert) throws javax.mail.internet.AddressException
javax.mail.internet.AddressException
public java.lang.String getXmlType(java.util.Collection<java.io.File> attachments) throws java.lang.Exception
PecService
getXmlType
in interface PecService
attachments
- the attachments
java.lang.Exception
- the exceptionpublic java.lang.String getXmlType(it.neverworks.mail.helper.MessageHelper messageHelper) throws java.lang.Exception
PecService
getXmlType
in interface PecService
messageHelper
- the message helper
java.lang.Exception
- the exceptionpublic java.lang.String getXmlType(java.util.Vector<java.lang.String> attachments) throws java.lang.Exception
PecService
getXmlType
in interface PecService
attachments
- the attachments
java.lang.Exception
- the exceptionpublic MessageServiceInstance.XmlAutomationType getXmlAutomationType(java.lang.String xmlFileName)
PecService
getXmlAutomationType
in interface PecService
xmlFileName
- the xml file name
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |