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| Constructor and Description |
|---|
DemandeUIModel() |
firePropertyChanged, fromBean, 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_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 List<Attachment> attachments
protected final List<DemandeUIModel> groupedDemandes
protected final List<RangeRowModel> validRangeRowModels
protected int quotationNb
protected int pfNb
protected int savNb
protected String clientCode
protected String clientBrand
protected boolean editable
protected String subject
protected boolean closeable
protected static final org.nuiton.util.beans.Binder<DemandeUIModel,Email> toBeanBinder
protected static final 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>protected void loadAttachments(Email entity)
protected void loadReplies(Email entity)
entity - entitypublic Email toEntity()
toEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>public Email toEntity(Email entity)
toEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>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 void setOriginalEmail(OriginalEmail originalEmail)
public OriginalEmail getOriginalEmail()
public String getOriginalEmailContent()
public void setClientCode(String clientCode)
public boolean isFax()
public void setFax(boolean fax)
public void setClient(Client client)
public Client getClient()
public String getClientCode()
public void setClientBrand(String clientBrand)
public String getClientBrand()
public void setWaitingState(WaitingState waitingState)
public WaitingState getWaitingState()
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 DemandStatus getDemandStatus()
public void setDemandStatus(DemandStatus demandStatus)
public void setReceptionDate(Date receptionDate)
public Date getReceptionDate()
public void setEdiError(String ediCodeNumber)
public String getEdiError()
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 FaxToMailUser getFirstOpeningUser()
public Date getFirstOpeningDate()
public FaxToMailUser getLastModificationUser()
public Date getLastModificationDate()
public FaxToMailUser getLastAttachmentOpener()
#lastAttachmentOpeningInThisFolderHistory normalement.public void setLastAttachmentOpener(FaxToMailUser lastAttachmentOpener)
public FaxToMailUser getLastAttachmentOpeningInFolderUser()
public Date getLastAttachmentOpeningInFolderDate()
public List<Attachment> getAttachment()
getAttachment in interface AttachmentModelAwarepublic void addAllAttachment(List<Attachment> attachment)
addAllAttachment in interface AttachmentModelAwarepublic void addAttachment(Attachment attachment)
addAttachment in interface AttachmentModelAwarepublic void removeAttachment(Attachment attachment)
removeAttachment in interface AttachmentModelAwarepublic void setAttachment(List<Attachment> attachment)
public void addRangeRow(RangeRow rangeRow)
public void removeRangeRow(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 List<DemandeUIModel> getGroupedDemandes()
public int sizeGroupedDemandes()
public void addReplies(Reply reply)
public void removeReply(Reply reply)
public int sizeReplies()
public List<RangeRowModel> getValidRangeRowModels()
public void setValidRangeRowModels(List<RangeRowModel> validRangeRowModels)
public void addValidRangeRow(RangeRowModel row)
public void removeValidRangeRow(RangeRowModel row)
public void recomputeValidRangeRows()
public boolean isValid(String field)
field - field to validateprotected Email newEntity()
newEntity in class AbstractFaxToMailBeanUIModel<Email,DemandeUIModel>protected void decomposeEmail()
protected void decomposeMultipartEmail(javax.mail.Part part)
throws Exception
part - the part to decomposeExceptionpublic 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–2015 CodeLutin. All rights reserved.