Package org.teamapps.model.controlcenter
Class UdbLogin
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<Login>
org.teamapps.model.controlcenter.UdbLogin
- All Implemented Interfaces:
Login,org.teamapps.universaldb.pojo.Entity<Login>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<Login>
public class UdbLogin extends org.teamapps.universaldb.pojo.AbstractUdbEntity<Login> implements Login
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.numeric.IntegerIndexactivityCountprotected static org.teamapps.universaldb.index.numeric.IntegerIndexapplicationOpenCountprotected static org.teamapps.universaldb.index.numeric.IntegerIndexdateLoginprotected static org.teamapps.universaldb.index.numeric.IntegerIndexdateLogoutprotected static org.teamapps.universaldb.index.text.TextIndexipprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletionDateprotected static org.teamapps.universaldb.index.bool.BooleanIndexmobileDeviceprotected static org.teamapps.universaldb.index.text.TextIndexscreenSizeprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexuserprotected static org.teamapps.universaldb.index.text.TextIndexuserAgentFields inherited from interface org.teamapps.model.controlcenter.Login
FIELD_ACTIVITY_COUNT, FIELD_APPLICATION_OPEN_COUNT, FIELD_DATE_LOGIN, FIELD_DATE_LOGOUT, FIELD_IP, FIELD_META_DELETED_BY, FIELD_META_DELETION_DATE, FIELD_MOBILE_DEVICE, FIELD_SCREEN_SIZE, FIELD_USER, FIELD_USER_AGENT -
Constructor Summary
-
Method Summary
Modifier and Type Method Description Loginbuild()Loginbuild(int id)voiddelete()voiddelete(org.teamapps.universaldb.transaction.Transaction transaction)intgetActivityCount()static java.util.List<Login>getAll()intgetApplicationOpenCount()static intgetCount()java.time.InstantgetDateLogin()longgetDateLoginAsEpochMilli()intgetDateLoginAsEpochSecond()java.time.InstantgetDateLogout()longgetDateLogoutAsEpochMilli()intgetDateLogoutAsEpochSecond()java.lang.StringgetIp()intgetMetaDeletedBy()java.time.InstantgetMetaDeletionDate()longgetMetaDeletionDateAsEpochMilli()intgetMetaDeletionDateAsEpochSecond()booleangetMobileDevice()java.lang.StringgetScreenSize()UsergetUser()java.lang.StringgetUserAgent()booleanisMobileDevice()UdbLoginsave()UdbLoginsave(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)UdbLoginsaveTransactional(boolean strictChangeVerification)LoginsetActivityCount(int value)LoginsetApplicationOpenCount(int value)LoginsetDateLogin(java.time.Instant value)LoginsetDateLoginAsEpochMilli(long value)LoginsetDateLoginAsEpochSecond(int value)LoginsetDateLogout(java.time.Instant value)LoginsetDateLogoutAsEpochMilli(long value)LoginsetDateLogoutAsEpochSecond(int value)LoginsetIp(java.lang.String value)LoginsetMetaDeletedBy(int value)LoginsetMetaDeletionDate(java.time.Instant value)LoginsetMetaDeletionDateAsEpochMilli(long value)LoginsetMetaDeletionDateAsEpochSecond(int value)LoginsetMobileDevice(boolean value)LoginsetScreenSize(java.lang.String value)LoginsetUser(User value)LoginsetUserAgent(java.lang.String value)static java.util.List<Login>sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)static java.util.List<Login>sort(java.util.List<Login> list, java.lang.String sortFieldName, boolean ascending, java.lang.String... path)Methods inherited from class org.teamapps.universaldb.pojo.AbstractUdbEntity
addMultiReferenceValue, clearChanges, createEntityList, createEntityList, createEntityList, delete, delete, equals, getBooleanValue, getChangedValue, getChangeValue, getCorrelationId, getDateAsEpochMilli, getDateTimeAsEpochMilli, getDateTimeValue, getDateValue, getDoubleValue, getEntityId, getEntityValue, getEnumValue, getFloatValue, getId, getIntValue, getLocalDateValue, getLongValue, getMultiReferenceValue, getMultiReferenceValueAsBitSet, getMultiReferenceValueCount, getQualifiedName, getReferenceChangeValue, getShortValue, getTableIndex, getTextValue, getTimestampAsEpochMilli, getTimestampAsEpochSecond, getTimestampValue, getTimeValue, getTransaction, getTranslatableTextValue, hashCode, isChanged, isDeleted, isModified, isStored, removeAllMultiReferenceValue, removeMultiReferenceValue, save, save, save, saveAsynchronously, setBooleanValue, setChangeValue, setDateAsEpochMilli, setDateTimeAsEpochMilli, setDateTimeValue, setDateValue, setDoubleValue, setEntityValue, setEnumValue, setFloatValue, setIntValue, setLocalDateAsEpochMilli, setLocalDateValue, setLongValue, setMultiReferenceValue, setShortValue, setSingleReferenceValue, setTextValue, setTimestampAsEpochMilli, setTimestampAsEpochSecond, setTimestampValue, setTimeValue, setTranslatableTextValue, sort, sort, 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, getEntityValue, getId, isDeleted, isModified, isStored, save, saveTransactional, setEntityValueMethods inherited from interface org.teamapps.universaldb.pojo.Identifiable
getQualifiedName
-
Field Details
-
table
protected static org.teamapps.universaldb.index.TableIndex table -
metaDeletionDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletionDate -
metaDeletedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletedBy -
user
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex user -
ip
protected static org.teamapps.universaldb.index.text.TextIndex ip -
userAgent
protected static org.teamapps.universaldb.index.text.TextIndex userAgent -
mobileDevice
protected static org.teamapps.universaldb.index.bool.BooleanIndex mobileDevice -
screenSize
protected static org.teamapps.universaldb.index.text.TextIndex screenSize -
dateLogin
protected static org.teamapps.universaldb.index.numeric.IntegerIndex dateLogin -
dateLogout
protected static org.teamapps.universaldb.index.numeric.IntegerIndex dateLogout -
activityCount
protected static org.teamapps.universaldb.index.numeric.IntegerIndex activityCount -
applicationOpenCount
protected static org.teamapps.universaldb.index.numeric.IntegerIndex applicationOpenCount
-
-
Constructor Details
-
UdbLogin
public UdbLogin() -
UdbLogin
public UdbLogin(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
sort
-
sort
public static java.util.List<Login> sort(java.util.BitSet recordIds, java.lang.String sortFieldName, boolean ascending, java.lang.String... path) -
getCount
public static int getCount() -
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Login>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<Login>
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceLogin
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceLogin
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceLogin
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceLogin
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceLogin
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceLogin
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceLogin
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceLogin
-
getUser
-
setUser
-
getIp
public java.lang.String getIp() -
setIp
-
getUserAgent
public java.lang.String getUserAgent()- Specified by:
getUserAgentin interfaceLogin
-
setUserAgent
- Specified by:
setUserAgentin interfaceLogin
-
getMobileDevice
public boolean getMobileDevice()- Specified by:
getMobileDevicein interfaceLogin
-
setMobileDevice
- Specified by:
setMobileDevicein interfaceLogin
-
isMobileDevice
public boolean isMobileDevice()- Specified by:
isMobileDevicein interfaceLogin
-
getScreenSize
public java.lang.String getScreenSize()- Specified by:
getScreenSizein interfaceLogin
-
setScreenSize
- Specified by:
setScreenSizein interfaceLogin
-
getDateLogin
public java.time.Instant getDateLogin()- Specified by:
getDateLoginin interfaceLogin
-
setDateLogin
- Specified by:
setDateLoginin interfaceLogin
-
getDateLoginAsEpochSecond
public int getDateLoginAsEpochSecond()- Specified by:
getDateLoginAsEpochSecondin interfaceLogin
-
setDateLoginAsEpochSecond
- Specified by:
setDateLoginAsEpochSecondin interfaceLogin
-
getDateLoginAsEpochMilli
public long getDateLoginAsEpochMilli()- Specified by:
getDateLoginAsEpochMilliin interfaceLogin
-
setDateLoginAsEpochMilli
- Specified by:
setDateLoginAsEpochMilliin interfaceLogin
-
getDateLogout
public java.time.Instant getDateLogout()- Specified by:
getDateLogoutin interfaceLogin
-
setDateLogout
- Specified by:
setDateLogoutin interfaceLogin
-
getDateLogoutAsEpochSecond
public int getDateLogoutAsEpochSecond()- Specified by:
getDateLogoutAsEpochSecondin interfaceLogin
-
setDateLogoutAsEpochSecond
- Specified by:
setDateLogoutAsEpochSecondin interfaceLogin
-
getDateLogoutAsEpochMilli
public long getDateLogoutAsEpochMilli()- Specified by:
getDateLogoutAsEpochMilliin interfaceLogin
-
setDateLogoutAsEpochMilli
- Specified by:
setDateLogoutAsEpochMilliin interfaceLogin
-
getActivityCount
public int getActivityCount()- Specified by:
getActivityCountin interfaceLogin
-
setActivityCount
- Specified by:
setActivityCountin interfaceLogin
-
getApplicationOpenCount
public int getApplicationOpenCount()- Specified by:
getApplicationOpenCountin interfaceLogin
-
setApplicationOpenCount
- Specified by:
setApplicationOpenCountin interfaceLogin
-
save
public UdbLogin save(org.teamapps.universaldb.transaction.Transaction transaction, boolean strictChangeVerification)- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Login>
-
saveTransactional
- Specified by:
saveTransactionalin interfaceorg.teamapps.universaldb.pojo.Entity<Login>
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<Login>
-
delete
public void delete(org.teamapps.universaldb.transaction.Transaction transaction)- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Login>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<Login>
-