public class DemandeUIModel extends AbstractFaxToMailBeanUIModel<Email,DemandeUIModel> implements AttachmentModelAware, org.nuiton.jaxx.application.swing.tab.TabContentModel
id, modify, PROPERTY_ID, PROPERTY_MODIFY, PROPERTY_VALID, validPROPERTY_ATTACHMENT, PROPERTY_OBJECT_ID| Constructor and Description |
|---|
DemandeUIModel() |
firePropertyChanged, fromBean, getChild, getChild, getId, getIdAsInt, isCreate, isModify, isValid, setId, setId, setModify, setValid, toBeanaddPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_QUOTATION_NB
public static final String PROPERTY_PF_NB
public static final String PROPERTY_SAV_NB
public static final String PROPERTY_RANGE_PANEL_VISIBLE
public static final String PROPERTY_CLIENT_CODE
public static final String PROPERTY_CLIENT_BRAND
public static final String PROPERTY_REFERENCE
public static final String PROPERTY_EDITABLE
public static final String PROPERTY_LAST_ATTACHMENT_OPENING_IN_THIS_FOLDER_USER
public static final String PROPERTY_GROUPED_DEMANDES
public static final String PROPERTY_VALID_RANGE_ROW_MODELS
protected final Email editObject
protected final Collection<Attachment> attachments
protected final Collection<DemandeUIModel> groupedDemandes
protected final Collection<RangeRowModel> validRangeRowModels
protected History firstOpeningHistory
protected History lastModificationHistory
protected History lastAttachmentOpeningInThisFolderHistory
protected int quotationNb
protected int pfNb
protected int savNb
protected String clientCode
protected String clientBrand
protected boolean editable
protected String htmlContent
protected String plainContent
protected String subject
protected boolean closeable
protected static org.nuiton.util.beans.Binder<DemandeUIModel,Email> toBeanBinder
protected static org.nuiton.util.beans.Binder<Email,DemandeUIModel> fromBeanBinder
protected static org.nuiton.util.beans.Binder<Attachment,Attachment> fromAttachmentBinder
public void fromEntity(Email entity)
fromEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>public void fromEntity(Email entity, boolean full)
public Email toEntity()
toEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>public Email toEntity(Email entity)
toEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>public Boolean getFax()
public void setFax(Boolean fax)
public String getTopiaId()
public void setTopiaId(String id)
public void setSender(String sender)
public String getSender()
public void setRecipient(String recipient)
public String getRecipient()
public void setObject(String object)
public String getObject()
public String getSubject()
public String getToRecipients()
public String getCcRecipients()
public String getPlainContent()
public String getHtmlContent()
public void setOriginalEmail(String originalEmail)
public String getOriginalEmail()
public void setClientCode(String clientCode)
public void setClient(Client client)
public Client getClient()
public String getClientCode()
public void setClientBrand(String clientBrand)
public String getClientBrand()
public void setEtatAttente(EtatAttente etatAttente)
public EtatAttente getEtatAttente()
public void setTakenBy(FaxToMailUser faxToMailUser)
public FaxToMailUser getTakenBy()
public Priority getPriority()
public void setPriority(Priority priority)
public DemandType getDemandType()
public void setDemandType(DemandType demandType)
public boolean isRangePanelVisible()
public DemandStatus getDemandStatus()
public void setDemandStatus(DemandStatus demandStatus)
public void setReceptionDate(Date receptionDate)
public Date getReceptionDate()
public void setEdiCodeNumber(String ediCodeNumber)
public String getEdiCodeNumber()
public void setProjectReference(String projectReference)
public String getProjectReference()
public void setCompanyReference(String companyReference)
public String getCompanyReference()
public String getReference()
public void setHistory(Collection<History> history)
public Collection<History> getHistory()
public int sizeHistory()
public void findFirstOpeningHistory()
public void findLastModificationHistory()
public void findLastAttachmentOpeningInThisFolderHistory()
public History getFirstOpeningHistory()
public FaxToMailUser getFirstOpeningUser()
public Date getFirstOpeningDate()
public History getLastModificationHistory()
public FaxToMailUser getLastModificationUser()
public Date getLastModificationDate()
public History getLastAttachmentOpeningInThisFolderHistory()
public FaxToMailUser getLastAttachmentOpeningInThisFolderUser()
public Date getLastAttachmentOpeningInThisFolderDate()
public Collection<Attachment> getAttachment()
getAttachment in interface AttachmentModelAwarepublic void addAllAttachment(Collection<Attachment> attachment)
addAllAttachment in interface AttachmentModelAwarepublic void addAttachment(Attachment attachment)
addAttachment in interface AttachmentModelAwarepublic void removeAttachment(Attachment attachment)
removeAttachment in interface AttachmentModelAwarepublic void setAttachment(Collection<Attachment> attachment)
public Collection<RangeRow> getRangeRow()
public void addRangeRow(RangeRow rangeRow)
public void addAllRangeRow(Collection<RangeRow> rangeRow)
public void removeRangeRow(RangeRow rangeRow)
public void setRangeRow(Collection<RangeRow> rangeRow)
public MailFolder getMailFolder()
public void setMailFolder(MailFolder mailFolder)
public Date getArchiveDate()
public void setArchiveDate(Date archiveDate)
public int getQuotationNb()
public void setQuotationNb(int quotationNb)
public int getPfNb()
public void setPfNb(int pfNb)
public int getSavNb()
public void setSavNb(int savNb)
public boolean isEditable()
public void setEditable(boolean editable)
public void setComment(String comment)
public String getComment()
public void setGroupedDemandes(EmailGroup emailGroup)
public void addGroupedDemande(DemandeUIModel demand)
public Collection<DemandeUIModel> getGroupedDemandes()
public int sizeGroupedDemandes()
public void addAllReplies(Collection<Reply> replies)
public void addReplies(Reply reply)
public void removeReply(Reply reply)
public void setReplies(Collection<Reply> replies)
public Collection<Reply> getReplies()
public int sizeReplies()
public Collection<RangeRowModel> getValidRangeRowModels()
public void setValidRangeRowModels(Collection<RangeRowModel> validRangeRowModels)
public void addValidRangeRow(RangeRowModel row)
public void removeValidRangeRow(RangeRowModel row)
public boolean isValid(String field)
protected Email newEntity()
newEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>protected void decomposeEmail()
protected void decomposeMultipartEmail(javax.mail.Part part)
throws Exception
part - the part to decomposeExceptionprotected Charset getCharset(javax.mail.Part part) throws javax.mail.MessagingException
javax.mail.MessagingExceptionpublic boolean isEmpty()
isEmpty in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getTitle()
getTitle in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic String getIcon()
getIcon in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic boolean isCloseable()
isCloseable in interface org.nuiton.jaxx.application.swing.tab.TabContentModelpublic void setCloseable(boolean closeable)
Copyright © 2014 CodeLutin. All rights reserved.