public class SmtpSettings extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException
Modifier and Type | Field and Description |
---|---|
static BooleanField |
DebugModeEnabled |
static StringField |
Description |
static StringField |
Hostname |
static IdentityField |
Id |
static RecordMeta<SmtpSettings> |
META |
static StringField |
Name |
static EncodedStringField |
Password |
static IntField |
Port |
static LongField |
SmtpTimeout |
static BooleanField |
SSLEnabled |
static StringField |
Username |
static BooleanField |
UseSSLPort |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
SmtpSettings() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHostname() |
java.lang.Long |
getId() |
RecordMeta<?> |
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for
this instance.
|
java.lang.String |
getName() |
java.lang.String |
getPassword() |
int |
getPort() |
long |
getSmtpTimeout() |
java.lang.String |
getUsername() |
boolean |
isDebugModeEnabled() |
boolean |
isSslEnabled()
Use StartTls
|
boolean |
isUseSSLport()
Use Ssl/Tls port
|
getBoolean, getDoubleObj, getIntObj, getLongObj, getString, installDefaultValues
allFields, assertNewRow, assertNotNewRow, defineInitialValue, deleteRecord, doQueryRecord, doValidateRecord, equals, findReference, findReference, findReference, findReference, getBigDecimal, getBytes, getDataSet, getDate, getDouble, getEnum, getInitialValue, getInt, getLogger, getLong, getObject, getRawArrayValue, getReferenceNoQuery, getTime, getTimestamp, hashCode, isAttached, isDeleted, isDirty, isDirty, isEmpty, isNewRow, isNotDestroyed, isNull, isReadOnly, isValid, onQueryRecord, onValidateField, onValidateRecord, setBigDecimal, setBoolean, setBytes, setDate, setDirty, setDouble, setEmpty, setEnum, setInt, setLong, setNewRow, setNull, setObject, setObject, setRawArrayValue, setReadOnly, setReference, setString, setTime, setTimestamp, toString, validatePrimaryKeys, wasInCache
public static final RecordMeta<SmtpSettings> META
public static final IdentityField Id
public static final StringField Name
public static final StringField Description
public static final StringField Hostname
public static final IntField Port
public static final BooleanField UseSSLPort
public static final BooleanField SSLEnabled
public static final StringField Username
public static final EncodedStringField Password
public static final LongField SmtpTimeout
public static final BooleanField DebugModeEnabled
public RecordMeta<?> getMeta()
SRecordInstance
SRecord getMeta() { return meta; };
The actual meta
variable is thus not Serialized, but it would not be anyway as it is usually static.
getMeta
in class PersistentRecord
public java.lang.Long getId()
public java.lang.String getName()
public java.lang.String getHostname()
public int getPort()
public boolean isUseSSLport()
public boolean isSslEnabled()
public java.lang.String getUsername()
public java.lang.String getPassword()
public long getSmtpTimeout()
public boolean isDebugModeEnabled()