|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MessageboxService
The Interface MessageboxService.
Nested Class Summary | |
---|---|
static class |
MessageboxService.PecAttachmentsSizeLimitExceededException
The Class PecAttachmentsSizeLimitExceededException. |
static class |
MessageboxService.PecRecipientsLimitExceededException
The Class PecRecipientsLimitExceededException. |
Field Summary | |
---|---|
static java.lang.String |
ACCETTAZIONE
The Constant ACCETTAZIONE. |
static java.lang.String |
AGGIORNAMENTO_CONFERMA
The Constant AGGIORNAMENTO_CONFERMA. |
static java.lang.String |
ANNULLAMENTO_PROTOCOLLAZIONE
The Constant ANNULLAMENTO_PROTOCOLLAZIONE. |
static java.lang.String |
ANOMALIA
The Constant ANOMALIA. |
static java.lang.String |
AVVENUTA_CONSEGNA
The Constant AVVENUTA_CONSEGNA. |
static java.lang.String |
CONFERMA_RICEZIONE
The Constant CONFERMA_RICEZIONE. |
static java.lang.String |
ERRORE_CONSEGNA
The Constant ERRORE_CONSEGNA. |
static java.lang.String |
ISHAREDOC_ERROR_WEBMAIL_FOLDER
The Constant ISHAREDOC_ERROR_WEBMAIL_FOLDER. |
static java.lang.String |
ISHAREDOC_PROCESSED_WEBMAIL_FOLDER
The Constant ISHAREDOC_PROCESSED_WEBMAIL_FOLDER. |
static java.lang.String |
ITEM_INSTANCE_PREFIX
The Constant ITEM_INSTANCE_PREFIX. |
static java.lang.String |
MAIL_EML
The Constant MAIL_EML. |
static java.lang.String |
MISSING_XML
The Constant MISSING_XML. |
static java.lang.String |
NON_ACCETTAZIONE
The Constant NON_ACCETTAZIONE. |
static java.lang.String |
NOTIFICA_ECCEZIONE
The Constant NOTIFICA_ECCEZIONE. |
static java.lang.String |
PEC_EML
The Constant PEC_EML. |
static java.lang.String |
POSTA_CERTIFICATA
The Constant POSTA_CERTIFICATA. |
static java.lang.String |
PREAVVISO_ERRORE_CONSEGNA
The Constant PREAVVISO_ERRORE_CONSEGNA. |
static java.lang.String |
PROCESS_INSTANCE_PREFIX
The Constant PROCESS_INSTANCE_PREFIX. |
static java.lang.String |
SEGNATURA
The Constant SEGNATURA. |
static char |
SEPARATOR_PREFIX
The Constant SEPARATOR_PREFIX. |
static java.lang.String |
X_RICEVUTA
The Constant X_RICEVUTA. |
static java.lang.String |
X_Riferimento_Message_ID
The Constant X_Riferimento_Message_ID. |
static java.lang.String |
X_TRASPORTO
The Constant X_TRASPORTO. |
static java.lang.String |
XML_MULTIPLI
The Constant XML_MULTIPLI. |
Method Summary | |
---|---|
void |
archive()
Archive. |
void |
archive(java.util.Date fromDate,
java.util.Date toDate)
Archive. |
void |
archive(MessageBox messageBox,
java.util.Date fromDate,
java.util.Date toDate)
Archive. |
void |
archiveInstance(ItemInstance instance)
Archive instance. |
void |
associateServiceInstance(MessageInstance message,
MessageServiceInstance messageService)
Associate service instance. |
void |
checkPECSendLimits(MessageInstance messageInstance)
Check pec send limits. |
MessageBox |
findMessageBoxById(java.lang.Long id)
Find message box by id. |
File |
getInstanceAttachmentFolder(MessageInstance instance)
Gets the instance attachment folder. |
File |
getInstanceAttachmentFolderMonth(MessageInstance instance)
Gets the instance attachment folder month. |
java.util.List<MessageBox> |
getMessageBoxes(boolean filterAccessibleMe,
boolean filterShowInAccounts)
Gets the message boxes. |
java.util.List<MessageBox> |
getMessageBoxesCreateMessage()
Gets the message boxes create message. |
java.util.List<MessageBox> |
getMessageBoxesCreateMessage(Storyboard storyboard)
Gets the message boxes create message. |
java.util.List<MessageInstance.MessageType> |
getMessageTypeCreateMessage(MessageBox mbox)
Gets the message type create message. |
java.util.List<Organization> |
getMyOrganizationsOnMessageBox(MessageBox mbox)
Gets the my organizations on message box. |
void |
loopPendingMessages(java.lang.Long partitionId,
java.lang.Long messageBoxId)
Loop pending messages. |
void |
MIME2MessageInstance(javax.mail.Message message,
MessageInstance instance,
boolean getOriginalMessage,
java.util.Map<java.lang.String,java.lang.Object> variables)
MIM e2 message instance. |
void |
moveAllRecipientsToCcn(MessageInstance messageInstance)
Move all recipients to ccn. |
void |
moveMessage(MessageInstance message,
MessageBox mbox)
Move message. |
void |
moveMessages(MessageBox fromMbox,
MessageBox toMbox)
Move messages. |
void |
processMailboxRulesAllPartitions()
Process mailbox rules all partitions. |
void |
processPendingMessagesAllPartitions()
Process pending messages all partitions. |
void |
rebuildSpecialFoldersPermissions(MessageBox mbox)
Rebuild special folders permissions. |
void |
repair()
Repair. |
void |
repair(MessageBox mbox)
Repair. |
void |
repairDirectoryMessages()
Repair directory messages. |
void |
repairDirectoryMessages(MessageBox mbox)
Repair directory messages. |
void |
save(MessageBox mbox)
Save. |
void |
saveAndApplyRules(MessageInstance messageInstance)
Save and apply rules. |
void |
saveMessage(javax.mail.Message message,
java.lang.Long messageBoxId)
Save message. |
void |
scheduleSendMail(MessageInstance messageInstance,
java.util.Date scheduleDate)
Schedule send mail. |
void |
sendMail(MessageInstance messageInstance)
Send mail. |
void |
sendMail(MessageInstance messageInstance,
ContactInstance contactInstance)
Send mail. |
void |
sendMailAnnullamento(MessageInstance messageInstance,
java.lang.String motivo,
java.lang.String provvedimento)
Send mail annullamento. |
void |
sendMailConfermaRicezione(MessageInstance messageInstance,
java.lang.String protocolNumber,
java.util.Date protocolDate)
Send mail conferma ricezione. |
void |
sendMailNotificaEccezione(MessageInstance messageInstance,
java.lang.String motivo)
Send mail notifica eccezione. |
void |
setDeliveryInfo(MessageInstance messageInstance,
it.neverworks.mail.helper.MessageHelper message)
Sets the delivery info. |
void |
setReplyMessage(MessageInstance replyMessage,
MessageInstance repliedMessage)
Sets the reply message. |
void |
validateDefaults(MessageBox mbox)
Validate defaults. |
Field Detail |
---|
static final java.lang.String MAIL_EML
static final java.lang.String PEC_EML
static final java.lang.String ISHAREDOC_PROCESSED_WEBMAIL_FOLDER
static final java.lang.String ISHAREDOC_ERROR_WEBMAIL_FOLDER
static final java.lang.String X_Riferimento_Message_ID
static final java.lang.String ITEM_INSTANCE_PREFIX
static final java.lang.String PROCESS_INSTANCE_PREFIX
static final char SEPARATOR_PREFIX
static final java.lang.String X_TRASPORTO
static final java.lang.String POSTA_CERTIFICATA
static final java.lang.String ANOMALIA
static final java.lang.String X_RICEVUTA
static final java.lang.String ACCETTAZIONE
static final java.lang.String NON_ACCETTAZIONE
static final java.lang.String PREAVVISO_ERRORE_CONSEGNA
static final java.lang.String ERRORE_CONSEGNA
static final java.lang.String AVVENUTA_CONSEGNA
static final java.lang.String SEGNATURA
static final java.lang.String CONFERMA_RICEZIONE
static final java.lang.String NOTIFICA_ECCEZIONE
static final java.lang.String AGGIORNAMENTO_CONFERMA
static final java.lang.String ANNULLAMENTO_PROTOCOLLAZIONE
static final java.lang.String XML_MULTIPLI
static final java.lang.String MISSING_XML
Method Detail |
---|
void save(MessageBox mbox)
mbox
- the mboxvoid validateDefaults(MessageBox mbox)
mbox
- the mboxvoid repair()
void repair(MessageBox mbox)
mbox
- the mboxvoid repairDirectoryMessages()
void repairDirectoryMessages(MessageBox mbox)
mbox
- the mboxvoid rebuildSpecialFoldersPermissions(MessageBox mbox)
mbox
- the mboxjava.util.List<MessageBox> getMessageBoxes(boolean filterAccessibleMe, boolean filterShowInAccounts)
filterAccessibleMe
- the filter accessible mefilterShowInAccounts
- the filter show in accounts
java.util.List<MessageBox> getMessageBoxesCreateMessage()
java.util.List<MessageBox> getMessageBoxesCreateMessage(Storyboard storyboard)
storyboard
- the storyboard
java.util.List<MessageInstance.MessageType> getMessageTypeCreateMessage(MessageBox mbox)
mbox
- the mbox
java.util.List<Organization> getMyOrganizationsOnMessageBox(MessageBox mbox)
mbox
- the mbox
MessageBox findMessageBoxById(java.lang.Long id)
id
- the id
void moveMessage(MessageInstance message, MessageBox mbox)
message
- the messagembox
- the mboxvoid moveMessages(MessageBox fromMbox, MessageBox toMbox)
fromMbox
- the from mboxtoMbox
- the to mboxvoid setReplyMessage(MessageInstance replyMessage, MessageInstance repliedMessage)
replyMessage
- the reply messagerepliedMessage
- the replied messagevoid associateServiceInstance(MessageInstance message, MessageServiceInstance messageService)
message
- the messagemessageService
- the message serviceFile getInstanceAttachmentFolderMonth(MessageInstance instance)
instance
- the instance
File getInstanceAttachmentFolder(MessageInstance instance)
instance
- the instance
void scheduleSendMail(MessageInstance messageInstance, java.util.Date scheduleDate)
messageInstance
- the message instancescheduleDate
- the schedule datevoid sendMail(MessageInstance messageInstance) throws java.lang.Exception
messageInstance
- the message instance
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void sendMail(MessageInstance messageInstance, ContactInstance contactInstance) throws java.lang.Exception
messageInstance
- the message instancecontactInstance
- the contact instance
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void sendMailConfermaRicezione(MessageInstance messageInstance, java.lang.String protocolNumber, java.util.Date protocolDate) throws java.lang.Exception
messageInstance
- the message instanceprotocolNumber
- the protocol numberprotocolDate
- the protocol date
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void sendMailNotificaEccezione(MessageInstance messageInstance, java.lang.String motivo) throws java.lang.Exception
messageInstance
- the message instancemotivo
- the motivo
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void sendMailAnnullamento(MessageInstance messageInstance, java.lang.String motivo, java.lang.String provvedimento) throws java.lang.Exception
messageInstance
- the message instancemotivo
- the motivoprovvedimento
- the provvedimento
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void saveMessage(javax.mail.Message message, java.lang.Long messageBoxId) throws javax.mail.MessagingException, java.lang.Exception, java.io.IOException
message
- the messagemessageBoxId
- the message box id
javax.mail.MessagingException
- the messaging exception
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.io.IOException
- Signals that an I/O exception has occurred.
java.lang.Exception
void saveAndApplyRules(MessageInstance messageInstance)
messageInstance
- the message instancevoid archive()
void archive(java.util.Date fromDate, java.util.Date toDate)
fromDate
- the from datetoDate
- the to datevoid archive(MessageBox messageBox, java.util.Date fromDate, java.util.Date toDate)
messageBox
- the message boxfromDate
- the from datetoDate
- the to datevoid archiveInstance(ItemInstance instance)
instance
- the instancevoid loopPendingMessages(java.lang.Long partitionId, java.lang.Long messageBoxId) throws javax.mail.MessagingException, java.lang.Exception
partitionId
- the partition idmessageBoxId
- the message box id
javax.mail.MessagingException
- the messaging exception
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void processPendingMessagesAllPartitions() throws javax.mail.MessagingException, java.lang.Exception
javax.mail.MessagingException
- the messaging exception
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void processMailboxRulesAllPartitions() throws javax.mail.MessagingException, java.lang.Exception
javax.mail.MessagingException
- the messaging exception
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void MIME2MessageInstance(javax.mail.Message message, MessageInstance instance, boolean getOriginalMessage, java.util.Map<java.lang.String,java.lang.Object> variables) throws java.lang.Exception
message
- the messageinstance
- the instancegetOriginalMessage
- the get original messagevariables
- the variables
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void setDeliveryInfo(MessageInstance messageInstance, it.neverworks.mail.helper.MessageHelper message) throws java.lang.Exception
messageInstance
- the message instancemessage
- the message
MessageboxService.PecRecipientsLimitExceededException
- the exception
java.lang.Exception
void checkPECSendLimits(MessageInstance messageInstance)
messageInstance
- the message instancevoid moveAllRecipientsToCcn(MessageInstance messageInstance)
messageInstance
- the message instance
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |