public class ReplyFormUIModel
extends org.jdesktop.beans.AbstractSerializableBean
| Constructor and Description |
|---|
ReplyFormUIModel() |
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenerpublic static final String PROPERTY_CONTACT
public static final String PROPERTY_TO
public static final String PROPERTY_CC
public static final String PROPERTY_CCI
public static final String PROPERTY_FROM
public static final String PROPERTY_SUBJECT
public static final String PROPERTY_MESSAGE
public static final String PROPERTY_ORIGINAL_DEMAND
public static final String PROPERTY_ATTACHMENT
public static final String PROPERTY_MAX_ATTACHMENT_LENGTH
public static final String PROPERTY_TOTAL_ATTACHMENT_LENGTH
public static final String PROPERTY_VALID
public static final String PROPERTY_SENDER_ALLOWED_DOMAINS
public static final String PROPERTY_SENDER_ALLOWED_ADDRESSES
public static final String PROPERTY_READONLY
public static final String PROPERTY_EDITABLE
public static final String PROPERTY_READ_SENT_DATE
protected Contact contact
protected String to
protected String cc
protected String cci
protected String from
protected String subject
protected String message
protected DemandeUIModel originalDemand
protected long maxAttachmentLength
protected long totalAttachmentLength
protected boolean valid
protected boolean readonly
protected boolean editable
protected Date readSentDate
null).protected Set<ReplyAttachmentModel> attachments
protected Set<ReplyAttachmentModel> availableAttachments
protected File lastVisitedDirectory
protected org.nuiton.util.beans.Binder<ReplyFormUIModel,ReplyFormUIModel> copyBinder
public void fromModel(ReplyFormUIModel other)
public Contact getContact()
public void setContact(Contact contact)
public String getTo()
public void setTo(String to)
public String getCc()
public void setCc(String cc)
public String getCci()
public void setCci(String cci)
public String getFrom()
public void setFrom(String from)
public String getSubject()
public void setSubject(String subject)
public String getMessage()
public void setMessage(String message)
public DemandeUIModel getOriginalDemand()
public void setOriginalDemand(DemandeUIModel originalDemand)
public Set<ReplyAttachmentModel> getAttachments()
public void addAttachment(ReplyAttachmentModel attachment)
public void removeAttachment(ReplyAttachmentModel attachment)
public void setAttachments(Set<ReplyAttachmentModel> attachments)
public Set<ReplyAttachmentModel> getAvailableAttachments()
public void addAvailableAttachment(ReplyAttachmentModel attachment)
public void removeAvailableAttachment(ReplyAttachmentModel attachment)
public File getLastVisitedDirectory()
public void setLastVisitedDirectory(File lastVisitedDirectory)
public boolean isReadonly()
public void setReadonly(boolean readonly)
public boolean isEditable()
public void setEditable(boolean editable)
public void setReadSentDate(Date readSentDate)
public Date getReadSentDate()
public long getMaxAttachmentLength()
public void setMaxAttachmentLength(long maxAttachmentLength)
public long getTotalAttachmentLength()
public void setTotalAttachmentLength(long totalAttachmentLength)
public boolean isValid()
public void setValid(boolean valid)
public boolean isValid(String field)
field - field to validateprotected boolean isEmailAllowed(String mail)
mail - email to testprotected boolean isDomainAllowed(String mail)
mail - email to testpublic boolean isAttachmentSizeValid(long totalAttachmentLength)
public void setSenderAllowedAddresses(List<String> senderAllowedAddresses)
Copyright © 2014–2016 CodeLutin. All rights reserved.