it.sistematica.isharedoc.model.mbox
Class MessageBox
java.lang.Object
it.sistematica.isharedoc.model.mbox.MessageBox
- All Implemented Interfaces:
- it.neverworks.application.data.tracking.Loggable, it.neverworks.application.model.CreationAuditable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, java.io.Serializable
public class MessageBox
- extends java.lang.Object
- implements java.io.Serializable, it.neverworks.application.model.ModificationAuditable, PartitionAttribute, it.neverworks.application.data.tracking.Loggable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
DRAFT
public static final java.lang.String DRAFT
- See Also:
- Constant Field Values
INBOX
public static final java.lang.String INBOX
- See Also:
- Constant Field Values
OUTBOX
public static final java.lang.String OUTBOX
- See Also:
- Constant Field Values
UNSENTOUTBOX
public static final java.lang.String UNSENTOUTBOX
- See Also:
- Constant Field Values
TRASH
public static final java.lang.String TRASH
- See Also:
- Constant Field Values
ATTACHMENTS
public static final java.lang.String ATTACHMENTS
- See Also:
- Constant Field Values
ARCHIVES
public static final java.lang.String ARCHIVES
- See Also:
- Constant Field Values
SERVICEMESSAGES
public static final java.lang.String SERVICEMESSAGES
- See Also:
- Constant Field Values
id
protected java.lang.Long id
created
protected java.util.Date created
createdBy
protected it.neverworks.security.User createdBy
modified
protected java.util.Date modified
modifiedBy
protected it.neverworks.security.User modifiedBy
partition
protected Partition partition
name
protected java.lang.String name
fullName
protected java.lang.String fullName
description
protected java.lang.String description
transportType
protected MessageBox.TransportType transportType
attachmentMbLimit
protected java.lang.Long attachmentMbLimit
recipientsLimit
protected java.lang.Long recipientsLimit
inServer
protected java.lang.String inServer
inServerPort
protected java.lang.Integer inServerPort
inServerType
protected MessageBox.ServerType inServerType
inServerSecure
protected MessageBox.SecureType inServerSecure
inUsername
protected java.lang.String inUsername
inPassword
protected java.lang.String inPassword
email
protected java.lang.String email
mailCheckSeconds
protected java.lang.Integer mailCheckSeconds
outServer
protected java.lang.String outServer
outServerPort
protected java.lang.Integer outServerPort
outServerSecure
protected MessageBox.SecureType outServerSecure
outUsername
protected java.lang.String outUsername
outPassword
protected java.lang.String outPassword
interoperabilityType
protected MessageBox.InteroperabilityType interoperabilityType
owner
protected it.neverworks.security.User owner
defaultFolder
protected File defaultFolder
specialFolder
protected FileSpecial specialFolder
storyboards
protected java.util.List<Storyboard> storyboards
signatures
protected java.util.List<Signature> signatures
templates
protected java.util.List<MailTemplate> templates
inboundStoryboard
protected Storyboard inboundStoryboard
permissions
protected java.util.List<MessageBoxPermission> permissions
smartrules
protected java.util.List<SmartRule> smartrules
sharingOrganizations
protected java.util.List<Organization> sharingOrganizations
maxOnlineMessagesCount
protected java.lang.Integer maxOnlineMessagesCount
entities
it.neverworks.data.EntityManager entities
documentManager
DocumentManager documentManager
MessageBox
public MessageBox()
getId
public java.lang.Long getId()
setId
public void setId(java.lang.Long id)
getCreated
public java.util.Date getCreated()
- Specified by:
getCreated
in interface it.neverworks.application.model.CreationAuditable
setCreated
public void setCreated(java.util.Date created)
- Specified by:
setCreated
in interface it.neverworks.application.model.CreationAuditable
getCreatedBy
public it.neverworks.security.User getCreatedBy()
- Specified by:
getCreatedBy
in interface it.neverworks.application.model.CreationAuditable
setCreatedBy
public void setCreatedBy(it.neverworks.security.User createdBy)
- Specified by:
setCreatedBy
in interface it.neverworks.application.model.CreationAuditable
getModified
public java.util.Date getModified()
- Specified by:
getModified
in interface it.neverworks.application.model.ModificationAuditable
setModified
public void setModified(java.util.Date modified)
- Specified by:
setModified
in interface it.neverworks.application.model.ModificationAuditable
getModifiedBy
public it.neverworks.security.User getModifiedBy()
- Specified by:
getModifiedBy
in interface it.neverworks.application.model.ModificationAuditable
setModifiedBy
public void setModifiedBy(it.neverworks.security.User modifiedBy)
- Specified by:
setModifiedBy
in interface it.neverworks.application.model.ModificationAuditable
getPartition
public Partition getPartition()
- Specified by:
getPartition
in interface PartitionAttribute
setPartition
public void setPartition(Partition partition)
- Specified by:
setPartition
in interface PartitionAttribute
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
getFullName
public java.lang.String getFullName()
setFullName
public void setFullName(java.lang.String fullName)
getDescription
public java.lang.String getDescription()
setDescription
public void setDescription(java.lang.String description)
getMailEnabled
public java.lang.Boolean getMailEnabled()
getHtmlEnabled
public java.lang.Boolean getHtmlEnabled()
setHtmlEnabled
public void setHtmlEnabled(java.lang.Boolean htmlEnabled)
getToMandatory
public java.lang.Boolean getToMandatory()
setToMandatory
public void setToMandatory(java.lang.Boolean toMandatory)
getTransportType
public MessageBox.TransportType getTransportType()
setTransportType
public void setTransportType(MessageBox.TransportType transportType)
getMailPollingEnabled
public java.lang.Boolean getMailPollingEnabled()
setMailPollingEnabled
public void setMailPollingEnabled(java.lang.Boolean mailPollingEnabled)
getPec
public java.lang.Boolean getPec()
setPec
public void setPec(java.lang.Boolean pec)
getAttachmentMbLimit
public java.lang.Long getAttachmentMbLimit()
setAttachmentMbLimit
public void setAttachmentMbLimit(java.lang.Long attachmentMbLimit)
getShared
public java.lang.Boolean getShared()
setShared
public void setShared(java.lang.Boolean shared)
getNeddRebuildPermissions
public java.lang.Boolean getNeddRebuildPermissions()
setNeddRebuildPermissions
public void setNeddRebuildPermissions(java.lang.Boolean neddRebuildPermissions)
getShowInAccount
public java.lang.Boolean getShowInAccount()
setShowInAccount
public void setShowInAccount(java.lang.Boolean showInAccount)
getMergeSubjectBody
public java.lang.Boolean getMergeSubjectBody()
setMergeSubjectBody
public void setMergeSubjectBody(java.lang.Boolean mergeSubjectBody)
getMainAttachmentEnabled
public java.lang.Boolean getMainAttachmentEnabled()
setMainAttachmentEnabled
public void setMainAttachmentEnabled(java.lang.Boolean mainAttachmentEnabled)
getInServer
public java.lang.String getInServer()
setInServer
public void setInServer(java.lang.String inServer)
getInServerPort
public java.lang.Integer getInServerPort()
setInServerPort
public void setInServerPort(java.lang.Integer inServerPort)
getInServerType
public MessageBox.ServerType getInServerType()
setInServerType
public void setInServerType(MessageBox.ServerType inServerType)
getInServerSecure
public MessageBox.SecureType getInServerSecure()
setInServerSecure
public void setInServerSecure(MessageBox.SecureType inServerSecure)
getInUsername
public java.lang.String getInUsername()
setInUsername
public void setInUsername(java.lang.String inUsername)
getInPassword
public java.lang.String getInPassword()
setInPassword
public void setInPassword(java.lang.String inPassword)
getRecipientsLimit
public java.lang.Long getRecipientsLimit()
setRecipientsLimit
public void setRecipientsLimit(java.lang.Long recipientsLimit)
getEmail
public java.lang.String getEmail()
setEmail
public void setEmail(java.lang.String email)
getMailCheckSeconds
public java.lang.Integer getMailCheckSeconds()
setMailCheckSeconds
public void setMailCheckSeconds(java.lang.Integer mailCheckSeconds)
getOutServer
public java.lang.String getOutServer()
setOutServer
public void setOutServer(java.lang.String outServer)
getOutServerPort
public java.lang.Integer getOutServerPort()
setOutServerPort
public void setOutServerPort(java.lang.Integer outServerPort)
getOutServerSecure
public MessageBox.SecureType getOutServerSecure()
setOutServerSecure
public void setOutServerSecure(MessageBox.SecureType outServerSecure)
getOutUsername
public java.lang.String getOutUsername()
setOutUsername
public void setOutUsername(java.lang.String outUsername)
getOutPassword
public java.lang.String getOutPassword()
setOutPassword
public void setOutPassword(java.lang.String outPassword)
getOutAttachmentMandatory
public java.lang.Boolean getOutAttachmentMandatory()
setOutAttachmentMandatory
public void setOutAttachmentMandatory(java.lang.Boolean outAttachmentMandatory)
getInteroperabilityType
public MessageBox.InteroperabilityType getInteroperabilityType()
setInteroperabilityType
public void setInteroperabilityType(MessageBox.InteroperabilityType interoperabilityType)
getOwner
public it.neverworks.security.User getOwner()
setOwner
public void setOwner(it.neverworks.security.User owner)
getDefaultFolder
public File getDefaultFolder()
setDefaultFolder
public void setDefaultFolder(File defaultFolder)
getSpecialFolder
public FileSpecial getSpecialFolder()
setSpecialFolder
public void setSpecialFolder(FileSpecial specialFolder)
getStoryboards
public java.util.List<Storyboard> getStoryboards()
setStoryboards
public void setStoryboards(java.util.List<Storyboard> storyboards)
addStoryboard
public void addStoryboard(Storyboard storyboard)
removeStoryboard
public void removeStoryboard(Storyboard storyboard)
getStoryboardByCode
public Storyboard getStoryboardByCode(java.lang.String storyboardCode)
getSignatures
public java.util.List<Signature> getSignatures()
addSignature
public void addSignature(Signature signature)
setSignatures
public void setSignatures(java.util.List<Signature> signatures)
getTemplates
public java.util.List<MailTemplate> getTemplates()
addTemplates
public void addTemplates(MailTemplate template)
setTemplates
public void setTemplates(java.util.List<MailTemplate> templates)
getInboundStoryboard
public Storyboard getInboundStoryboard()
setInboundStoryboard
public void setInboundStoryboard(Storyboard inboundStoryboard)
getPermissions
public java.util.List<MessageBoxPermission> getPermissions()
setPermissions
public void setPermissions(java.util.List<MessageBoxPermission> permissions)
addPermission
public void addPermission(MessageBoxPermission permission)
removePermission
public void removePermission(MessageBoxPermission permission)
getSmartrules
public java.util.List<SmartRule> getSmartrules()
setSmartrules
public void setSmartrules(java.util.List<SmartRule> smartrules)
getSharingOrganizations
public java.util.List<Organization> getSharingOrganizations()
setSharingOrganizations
public void setSharingOrganizations(java.util.List<Organization> sharingOrganizations)
addSharingOrganization
public void addSharingOrganization(Organization organization)
removeSharingOrganization
public void removeSharingOrganization(Organization organization)
getMaxOnlineMessagesCount
public java.lang.Integer getMaxOnlineMessagesCount()
setMaxOnlineMessagesCount
public void setMaxOnlineMessagesCount(java.lang.Integer maxOnlineMessagesCount)
getChanges
public java.util.Map<java.lang.String,java.lang.Object> getChanges()
setChanges
public void setChanges(java.util.Map<java.lang.String,java.lang.Object> changes)
addChange
public void addChange(java.lang.String key,
java.lang.Object change)
addMultiChange
public void addMultiChange(java.lang.String key,
java.lang.Object change)
validityMessage
public java.lang.String validityMessage()
checkValidity
public void checkValidity()
isValid
public boolean isValid()
isSharedTo
public boolean isSharedTo(it.neverworks.security.User user)
isEnabledTo
public boolean isEnabledTo(it.neverworks.security.User user)
getMessageInstanceAcl
public AccessModeItem getMessageInstanceAcl(it.neverworks.security.User user)
getFolderDraft
public File getFolderDraft()
getFolderTrash
public File getFolderTrash()
getFolderInbox
public File getFolderInbox()
getFolderOutbox
public File getFolderOutbox()
getFolderUnsentOutbox
public File getFolderUnsentOutbox()
getFolderAttachments
public File getFolderAttachments()
getFolderArchives
public File getFolderArchives()
getFolderServiceMessages
public File getFolderServiceMessages()
isPecEmailEnabled
public boolean isPecEmailEnabled()
createMessageBox
public void createMessageBox()
saveMessageBox
public void saveMessageBox()
deleteMessageBox
public void deleteMessageBox()
setEntities
public void setEntities(it.neverworks.data.EntityManager entities)
setDocumentManager
public void setDocumentManager(DocumentManager documentManager)
toLog
public it.neverworks.application.data.tracking.Log toLog()
- Specified by:
toLog
in interface it.neverworks.application.data.tracking.Loggable
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object