public class InternalUserRecord extends PersistentRecord
SRecordInstance.BrokenOptimisticLockException
Modifier and Type | Field and Description |
---|---|
static StringField |
Description |
static StringField |
FirstName |
static StringField |
Language |
static StringField |
LastName |
static RecordMeta<InternalUserRecord> |
META |
static StringField |
Password |
static ReferenceField<UserSourceProfileRecord> |
Profile |
static LongField |
ProfileId |
static StringField |
Schedule |
static IdentityField |
UserId |
static StringField |
Username |
DEFAULT_VALUE, FORM_META_KEY, INDEXED, UNIQUE
Constructor and Description |
---|
InternalUserRecord() |
Modifier and Type | Method and Description |
---|---|
boolean |
checkPassword(java.lang.String password) |
RecordMeta<?> |
getMeta()
This must be defined in every user record's definition to access the SRecord which provides the meta data for this
instance.
|
long |
getUserId() |
java.lang.String |
getUsername() |
void |
setPasswordSha256(java.lang.String password) |
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<InternalUserRecord> META
public static final IdentityField UserId
public static final LongField ProfileId
public static final ReferenceField<UserSourceProfileRecord> Profile
public static final StringField Username
public static final StringField FirstName
public static final StringField LastName
public static final StringField Schedule
public static final StringField Language
public static final StringField Password
public static final StringField Description
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 long getUserId()
public java.lang.String getUsername()
public void setPasswordSha256(java.lang.String password)
public boolean checkPassword(java.lang.String password)