it.sistematica.isharedoc.model.xml.mail.signature.dtd
Class DTDUtils

java.lang.Object
  extended by it.sistematica.isharedoc.model.xml.mail.signature.dtd.DTDUtils
All Implemented Interfaces:
SignatureUtils

public class DTDUtils
extends java.lang.Object
implements SignatureUtils


Field Summary
 
Fields inherited from interface it.sistematica.isharedoc.model.xml.mail.signature.SignatureUtils
ANNULLAMENTO, CONFERMA_RICEZIONE, DATA_PROTOCOLLO_MITTENTE, DESCRIZIONE_MESSAGGIO, DOCUMENTO, INDIRIZZO_TELEMATICO, MITTENTE, MOTIVO, NOTIFICA_ECCEZIONE, OGGETTO, PROTOCOL_DATE, PROTOCOL_DATE_TIMELESS, PROTOCOL_NUMBER, PROTOCOLLO_MITTENTE, SEGNATURA
 
Constructor Summary
DTDUtils()
           
 
Method Summary
 java.lang.String generateAnnullamento(MessageInstance messageInstance, java.lang.String motivo, java.lang.String provvedimento)
           
 java.lang.String generateConferma(MessageInstance messageInstance, java.lang.String protocolNumber, java.util.Date protocolDate)
           
 java.lang.String generateNotificaEccezione(MessageInstance messageInstance, java.lang.String motivo)
           
 java.lang.String generateSegnatura(MessageInstance messageInstance)
           
 java.lang.String generateSegnatura(MessageInstance messageInstance, java.util.List<ContactInstance> contactInstances)
           
 java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromAnnullamento(java.io.InputStream annullamentoXml)
           
 java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromConfermaRicezione(java.io.InputStream confermaXml)
           
 java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromNotificaEccezione(java.io.InputStream eccezioneXml)
           
 java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromSegnatura(java.io.InputStream segnaturaXml)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DTDUtils

public DTDUtils()
Method Detail

generateSegnatura

public java.lang.String generateSegnatura(MessageInstance messageInstance)
                                   throws org.xml.sax.SAXException,
                                          javax.xml.bind.JAXBException
Specified by:
generateSegnatura in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException

generateSegnatura

public java.lang.String generateSegnatura(MessageInstance messageInstance,
                                          java.util.List<ContactInstance> contactInstances)
                                   throws org.xml.sax.SAXException,
                                          javax.xml.bind.JAXBException
Specified by:
generateSegnatura in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException

generateConferma

public java.lang.String generateConferma(MessageInstance messageInstance,
                                         java.lang.String protocolNumber,
                                         java.util.Date protocolDate)
                                  throws java.lang.Exception
Specified by:
generateConferma in interface SignatureUtils
Throws:
java.lang.Exception

generateNotificaEccezione

public java.lang.String generateNotificaEccezione(MessageInstance messageInstance,
                                                  java.lang.String motivo)
                                           throws java.lang.Exception
Specified by:
generateNotificaEccezione in interface SignatureUtils
Throws:
java.lang.Exception

generateAnnullamento

public java.lang.String generateAnnullamento(MessageInstance messageInstance,
                                             java.lang.String motivo,
                                             java.lang.String provvedimento)
                                      throws java.lang.Exception
Specified by:
generateAnnullamento in interface SignatureUtils
Throws:
java.lang.Exception

getVariablesMapFromSegnatura

public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromSegnatura(java.io.InputStream segnaturaXml)
                                                                              throws org.xml.sax.SAXException,
                                                                                     javax.xml.bind.JAXBException,
                                                                                     java.text.ParseException,
                                                                                     java.io.IOException
Specified by:
getVariablesMapFromSegnatura in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException

getVariablesMapFromConfermaRicezione

public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromConfermaRicezione(java.io.InputStream confermaXml)
                                                                                      throws org.xml.sax.SAXException,
                                                                                             javax.xml.bind.JAXBException,
                                                                                             java.text.ParseException,
                                                                                             java.io.IOException
Specified by:
getVariablesMapFromConfermaRicezione in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException

getVariablesMapFromAnnullamento

public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromAnnullamento(java.io.InputStream annullamentoXml)
                                                                                 throws org.xml.sax.SAXException,
                                                                                        javax.xml.bind.JAXBException,
                                                                                        java.text.ParseException,
                                                                                        java.io.IOException
Specified by:
getVariablesMapFromAnnullamento in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException

getVariablesMapFromNotificaEccezione

public java.util.Map<java.lang.String,java.lang.Object> getVariablesMapFromNotificaEccezione(java.io.InputStream eccezioneXml)
                                                                                      throws org.xml.sax.SAXException,
                                                                                             javax.xml.bind.JAXBException,
                                                                                             java.text.ParseException,
                                                                                             java.io.IOException
Specified by:
getVariablesMapFromNotificaEccezione in interface SignatureUtils
Throws:
org.xml.sax.SAXException
javax.xml.bind.JAXBException
java.text.ParseException
java.io.IOException