Package org.teamapps.model.controlcenter
Class UdbUserLoginStats
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<UserLoginStats>
org.teamapps.model.controlcenter.UdbUserLoginStats
- All Implemented Interfaces:
UserLoginStats,org.teamapps.universaldb.pojo.Entity<UserLoginStats>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<UserLoginStats>
public class UdbUserLoginStats extends org.teamapps.universaldb.pojo.AbstractUdbEntity<UserLoginStats> implements UserLoginStats
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.numeric.IntegerIndexfirstLoginprotected static org.teamapps.universaldb.index.numeric.IntegerIndexlastLoginprotected static org.teamapps.universaldb.index.numeric.IntegerIndexlastLoginIpAddressprotected static org.teamapps.universaldb.index.numeric.IntegerIndexloginCountprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexuserprotected static org.teamapps.universaldb.index.numeric.IntegerIndexwrongPasswordCountprotected static org.teamapps.universaldb.index.numeric.IntegerIndexwrongPasswordIpAddressprotected static org.teamapps.universaldb.index.numeric.IntegerIndexwrongPasswordTimestampFields inherited from interface org.teamapps.model.controlcenter.UserLoginStats
FIELD_FIRST_LOGIN, FIELD_LAST_LOGIN, FIELD_LAST_LOGIN_IP_ADDRESS, FIELD_LOGIN_COUNT, FIELD_USER, FIELD_WRONG_PASSWORD_COUNT, FIELD_WRONG_PASSWORD_IP_ADDRESS, FIELD_WRONG_PASSWORD_TIMESTAMP -
Constructor Summary
Constructors Constructor Description UdbUserLoginStats()UdbUserLoginStats(int id, boolean createEntity) -
Method Summary
Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, clearFieldChanges, createdBy, createEntityList, createEntityList, createEntityList, deleteRecord, equals, getBooleanValue, getChangedValue, getChangeValue, getCorrelationId, getDateAsEpochMilli, getDateTimeAsEpochMilli, getDateTimeValue, getDateValue, getDoubleValue, getEntityValue, getEnumValue, getFloatValue, getId, getIntValue, getLocalDateValue, getLongValue, getMultiReferenceValue, getMultiReferenceValueAsBitSet, getMultiReferenceValueCount, getQualifiedName, getRecordUpdates, getReferenceChangeValue, getShortValue, getTableId, getTableIndex, getTextValue, getTimestampAsEpochMilli, getTimestampAsEpochSecond, getTimestampValue, getTimeValue, getTranslatableTextValue, hashCode, isChanged, isChanged, isDeleted, isModified, isRestorable, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, restoreDeletedRecord, saveRecord, saveRecord, setBooleanValue, setChangeValue, setDatabase, setDateAsEpochMilli, setDateTimeAsEpochMilli, setDateTimeValue, setDateValue, setDoubleValue, setEntityValue, setEnumValue, setFloatValue, setIntValue, setLocalDateAsEpochMilli, setLocalDateValue, setLongValue, setMultiReferenceValue, setShortValue, setSingleReferenceValue, setTextValue, setTimestampAsEpochMilli, setTimestampAsEpochSecond, setTimestampValue, setTimeValue, setTranslatableTextValue, sort, sort, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.teamapps.universaldb.pojo.Entity
clearChanges, clearFieldChanges, getEntityValue, getId, getRecordUpdates, isChanged, isDeleted, isModified, isRestorable, isStored, setEntityValueMethods inherited from interface org.teamapps.universaldb.pojo.Identifiable
getQualifiedName
-
Field Details
-
table
protected static org.teamapps.universaldb.index.TableIndex table -
user
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex user -
firstLogin
protected static org.teamapps.universaldb.index.numeric.IntegerIndex firstLogin -
lastLogin
protected static org.teamapps.universaldb.index.numeric.IntegerIndex lastLogin -
loginCount
protected static org.teamapps.universaldb.index.numeric.IntegerIndex loginCount -
lastLoginIpAddress
protected static org.teamapps.universaldb.index.numeric.IntegerIndex lastLoginIpAddress -
wrongPasswordTimestamp
protected static org.teamapps.universaldb.index.numeric.IntegerIndex wrongPasswordTimestamp -
wrongPasswordIpAddress
protected static org.teamapps.universaldb.index.numeric.IntegerIndex wrongPasswordIpAddress -
wrongPasswordCount
protected static org.teamapps.universaldb.index.numeric.IntegerIndex wrongPasswordCount
-
-
Constructor Details
-
UdbUserLoginStats
public UdbUserLoginStats() -
UdbUserLoginStats
public UdbUserLoginStats(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
getDeletedRecords
-
sort
public static java.util.List<UserLoginStats> sort(java.util.List<UserLoginStats> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
sort
public static java.util.List<UserLoginStats> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<UserLoginStats>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<UserLoginStats>
-
getUser
- Specified by:
getUserin interfaceUserLoginStats
-
setUser
- Specified by:
setUserin interfaceUserLoginStats
-
getFirstLogin
public java.time.Instant getFirstLogin()- Specified by:
getFirstLoginin interfaceUserLoginStats
-
setFirstLogin
- Specified by:
setFirstLoginin interfaceUserLoginStats
-
getFirstLoginAsEpochSecond
public int getFirstLoginAsEpochSecond()- Specified by:
getFirstLoginAsEpochSecondin interfaceUserLoginStats
-
setFirstLoginAsEpochSecond
- Specified by:
setFirstLoginAsEpochSecondin interfaceUserLoginStats
-
getFirstLoginAsEpochMilli
public long getFirstLoginAsEpochMilli()- Specified by:
getFirstLoginAsEpochMilliin interfaceUserLoginStats
-
setFirstLoginAsEpochMilli
- Specified by:
setFirstLoginAsEpochMilliin interfaceUserLoginStats
-
getLastLogin
public java.time.Instant getLastLogin()- Specified by:
getLastLoginin interfaceUserLoginStats
-
setLastLogin
- Specified by:
setLastLoginin interfaceUserLoginStats
-
getLastLoginAsEpochSecond
public int getLastLoginAsEpochSecond()- Specified by:
getLastLoginAsEpochSecondin interfaceUserLoginStats
-
setLastLoginAsEpochSecond
- Specified by:
setLastLoginAsEpochSecondin interfaceUserLoginStats
-
getLastLoginAsEpochMilli
public long getLastLoginAsEpochMilli()- Specified by:
getLastLoginAsEpochMilliin interfaceUserLoginStats
-
setLastLoginAsEpochMilli
- Specified by:
setLastLoginAsEpochMilliin interfaceUserLoginStats
-
getLoginCount
public int getLoginCount()- Specified by:
getLoginCountin interfaceUserLoginStats
-
setLoginCount
- Specified by:
setLoginCountin interfaceUserLoginStats
-
getLastLoginIpAddress
public java.time.Instant getLastLoginIpAddress()- Specified by:
getLastLoginIpAddressin interfaceUserLoginStats
-
setLastLoginIpAddress
- Specified by:
setLastLoginIpAddressin interfaceUserLoginStats
-
getLastLoginIpAddressAsEpochSecond
public int getLastLoginIpAddressAsEpochSecond()- Specified by:
getLastLoginIpAddressAsEpochSecondin interfaceUserLoginStats
-
setLastLoginIpAddressAsEpochSecond
- Specified by:
setLastLoginIpAddressAsEpochSecondin interfaceUserLoginStats
-
getLastLoginIpAddressAsEpochMilli
public long getLastLoginIpAddressAsEpochMilli()- Specified by:
getLastLoginIpAddressAsEpochMilliin interfaceUserLoginStats
-
setLastLoginIpAddressAsEpochMilli
- Specified by:
setLastLoginIpAddressAsEpochMilliin interfaceUserLoginStats
-
getWrongPasswordTimestamp
public java.time.Instant getWrongPasswordTimestamp()- Specified by:
getWrongPasswordTimestampin interfaceUserLoginStats
-
setWrongPasswordTimestamp
- Specified by:
setWrongPasswordTimestampin interfaceUserLoginStats
-
getWrongPasswordTimestampAsEpochSecond
public int getWrongPasswordTimestampAsEpochSecond()- Specified by:
getWrongPasswordTimestampAsEpochSecondin interfaceUserLoginStats
-
setWrongPasswordTimestampAsEpochSecond
- Specified by:
setWrongPasswordTimestampAsEpochSecondin interfaceUserLoginStats
-
getWrongPasswordTimestampAsEpochMilli
public long getWrongPasswordTimestampAsEpochMilli()- Specified by:
getWrongPasswordTimestampAsEpochMilliin interfaceUserLoginStats
-
setWrongPasswordTimestampAsEpochMilli
- Specified by:
setWrongPasswordTimestampAsEpochMilliin interfaceUserLoginStats
-
getWrongPasswordIpAddress
public java.time.Instant getWrongPasswordIpAddress()- Specified by:
getWrongPasswordIpAddressin interfaceUserLoginStats
-
setWrongPasswordIpAddress
- Specified by:
setWrongPasswordIpAddressin interfaceUserLoginStats
-
getWrongPasswordIpAddressAsEpochSecond
public int getWrongPasswordIpAddressAsEpochSecond()- Specified by:
getWrongPasswordIpAddressAsEpochSecondin interfaceUserLoginStats
-
setWrongPasswordIpAddressAsEpochSecond
- Specified by:
setWrongPasswordIpAddressAsEpochSecondin interfaceUserLoginStats
-
getWrongPasswordIpAddressAsEpochMilli
public long getWrongPasswordIpAddressAsEpochMilli()- Specified by:
getWrongPasswordIpAddressAsEpochMilliin interfaceUserLoginStats
-
setWrongPasswordIpAddressAsEpochMilli
- Specified by:
setWrongPasswordIpAddressAsEpochMilliin interfaceUserLoginStats
-
getWrongPasswordCount
public int getWrongPasswordCount()- Specified by:
getWrongPasswordCountin interfaceUserLoginStats
-
setWrongPasswordCount
- Specified by:
setWrongPasswordCountin interfaceUserLoginStats
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<UserLoginStats>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<UserLoginStats>
-
restoreDeleted
public void restoreDeleted()- Specified by:
restoreDeletedin interfaceorg.teamapps.universaldb.pojo.Entity<UserLoginStats>
-