public class ReplyFormUIModel
extends org.jdesktop.beans.AbstractSerializableBean
| Modifier and Type | Field and Description |
|---|---|
protected Set<AttachmentFile> |
attachments |
protected Set<AttachmentFile> |
availableAttachments |
protected String |
from |
protected File |
lastVisitedDirectory |
protected long |
maxAttachmentLength |
protected String |
message |
protected DemandeUIModel |
originalDemand |
static String |
PROPERTY_ATTACHMENT |
static String |
PROPERTY_FROM |
static String |
PROPERTY_MAX_ATTACHMENT_LENGTH |
static String |
PROPERTY_MESSAGE |
static String |
PROPERTY_ORIGINAL_DEMAND |
static String |
PROPERTY_READONLY |
static String |
PROPERTY_SENDER_ALLOWED_DOMAINS |
static String |
PROPERTY_SUBJECT |
static String |
PROPERTY_TO |
static String |
PROPERTY_TOTAL_ATTACHMENT_LENGTH |
static String |
PROPERTY_VALID |
protected boolean |
readonly |
protected List<String> |
senderAllowedDomains |
protected String |
subject |
protected String |
to |
protected long |
totalAttachmentLength |
protected boolean |
valid |
| 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_TO
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_READONLY
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
protected String to
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 Set<AttachmentFile> attachments
protected Set<AttachmentFile> availableAttachments
protected File lastVisitedDirectory
public String getTo()
public void setTo(String to)
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<AttachmentFile> getAttachments()
public void addAttachment(AttachmentFile attachment)
public void removeAttachment(AttachmentFile attachment)
public Set<AttachmentFile> getAvailableAttachments()
public void addAvailableAttachment(AttachmentFile attachment)
public void removeAvailableAttachment(AttachmentFile attachment)
public File getLastVisitedDirectory()
public void setLastVisitedDirectory(File lastVisitedDirectory)
public boolean isReadonly()
public void setReadonly(boolean readonly)
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 isAttachmentSizeValid(long totalAttachmentLength)
public boolean isDomainAllowed(String from)
Copyright © 2014 CodeLutin. All rights reserved.