Package org.teamapps.model.controlcenter
Class UdbUserAccessToken
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<UserAccessToken>
org.teamapps.model.controlcenter.UdbUserAccessToken
- All Implemented Interfaces:
UserAccessToken,org.teamapps.universaldb.pojo.Entity<UserAccessToken>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<UserAccessToken>
public class UdbUserAccessToken extends org.teamapps.universaldb.pojo.AbstractUdbEntity<UserAccessToken> implements UserAccessToken
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.numeric.IntegerIndexlastUsedprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreatedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaCreationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaDeletionDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoreDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoredByprotected static org.teamapps.universaldb.index.bool.BooleanIndexrestApiprotected static org.teamapps.universaldb.index.text.TextIndexsecureTokenprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexuserprotected static org.teamapps.universaldb.index.text.TextIndexuserAgentLastUsedprotected static org.teamapps.universaldb.index.text.TextIndexuserAgentOnCreationprotected static org.teamapps.universaldb.index.bool.BooleanIndexvalidFields inherited from interface org.teamapps.model.controlcenter.UserAccessToken
FIELD_LAST_USED, FIELD_META_CREATED_BY, FIELD_META_CREATION_DATE, FIELD_META_DELETED_BY, FIELD_META_DELETION_DATE, FIELD_META_RESTORE_DATE, FIELD_META_RESTORED_BY, FIELD_REST_API, FIELD_SECURE_TOKEN, FIELD_USER, FIELD_USER_AGENT_LAST_USED, FIELD_USER_AGENT_ON_CREATION, FIELD_VALID -
Constructor Summary
Constructors Constructor Description UdbUserAccessToken()UdbUserAccessToken(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 -
metaCreationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreationDate -
metaCreatedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaCreatedBy -
metaDeletionDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletionDate -
metaDeletedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaDeletedBy -
metaRestoreDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoreDate -
metaRestoredBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaRestoredBy -
user
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex user -
userAgentOnCreation
protected static org.teamapps.universaldb.index.text.TextIndex userAgentOnCreation -
userAgentLastUsed
protected static org.teamapps.universaldb.index.text.TextIndex userAgentLastUsed -
lastUsed
protected static org.teamapps.universaldb.index.numeric.IntegerIndex lastUsed -
valid
protected static org.teamapps.universaldb.index.bool.BooleanIndex valid -
restApi
protected static org.teamapps.universaldb.index.bool.BooleanIndex restApi -
secureToken
protected static org.teamapps.universaldb.index.text.TextIndex secureToken
-
-
Constructor Details
-
UdbUserAccessToken
public UdbUserAccessToken() -
UdbUserAccessToken
public UdbUserAccessToken(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
getDeletedRecords
-
sort
public static java.util.List<UserAccessToken> sort(java.util.List<UserAccessToken> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
sort
public static java.util.List<UserAccessToken> 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<UserAccessToken>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<UserAccessToken>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceUserAccessToken
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceUserAccessToken
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceUserAccessToken
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceUserAccessToken
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceUserAccessToken
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceUserAccessToken
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceUserAccessToken
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceUserAccessToken
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceUserAccessToken
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceUserAccessToken
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceUserAccessToken
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceUserAccessToken
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceUserAccessToken
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceUserAccessToken
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceUserAccessToken
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceUserAccessToken
-
getMetaRestoreDate
public java.time.Instant getMetaRestoreDate()- Specified by:
getMetaRestoreDatein interfaceUserAccessToken
-
setMetaRestoreDate
- Specified by:
setMetaRestoreDatein interfaceUserAccessToken
-
getMetaRestoreDateAsEpochSecond
public int getMetaRestoreDateAsEpochSecond()- Specified by:
getMetaRestoreDateAsEpochSecondin interfaceUserAccessToken
-
setMetaRestoreDateAsEpochSecond
- Specified by:
setMetaRestoreDateAsEpochSecondin interfaceUserAccessToken
-
getMetaRestoreDateAsEpochMilli
public long getMetaRestoreDateAsEpochMilli()- Specified by:
getMetaRestoreDateAsEpochMilliin interfaceUserAccessToken
-
setMetaRestoreDateAsEpochMilli
- Specified by:
setMetaRestoreDateAsEpochMilliin interfaceUserAccessToken
-
getMetaRestoredBy
public int getMetaRestoredBy()- Specified by:
getMetaRestoredByin interfaceUserAccessToken
-
setMetaRestoredBy
- Specified by:
setMetaRestoredByin interfaceUserAccessToken
-
getUser
- Specified by:
getUserin interfaceUserAccessToken
-
setUser
- Specified by:
setUserin interfaceUserAccessToken
-
getUserAgentOnCreation
public java.lang.String getUserAgentOnCreation()- Specified by:
getUserAgentOnCreationin interfaceUserAccessToken
-
setUserAgentOnCreation
- Specified by:
setUserAgentOnCreationin interfaceUserAccessToken
-
getUserAgentLastUsed
public java.lang.String getUserAgentLastUsed()- Specified by:
getUserAgentLastUsedin interfaceUserAccessToken
-
setUserAgentLastUsed
- Specified by:
setUserAgentLastUsedin interfaceUserAccessToken
-
getLastUsed
public java.time.Instant getLastUsed()- Specified by:
getLastUsedin interfaceUserAccessToken
-
setLastUsed
- Specified by:
setLastUsedin interfaceUserAccessToken
-
getLastUsedAsEpochSecond
public int getLastUsedAsEpochSecond()- Specified by:
getLastUsedAsEpochSecondin interfaceUserAccessToken
-
setLastUsedAsEpochSecond
- Specified by:
setLastUsedAsEpochSecondin interfaceUserAccessToken
-
getLastUsedAsEpochMilli
public long getLastUsedAsEpochMilli()- Specified by:
getLastUsedAsEpochMilliin interfaceUserAccessToken
-
setLastUsedAsEpochMilli
- Specified by:
setLastUsedAsEpochMilliin interfaceUserAccessToken
-
getValid
public boolean getValid()- Specified by:
getValidin interfaceUserAccessToken
-
setValid
- Specified by:
setValidin interfaceUserAccessToken
-
isValid
public boolean isValid()- Specified by:
isValidin interfaceUserAccessToken
-
getRestApi
public boolean getRestApi()- Specified by:
getRestApiin interfaceUserAccessToken
-
setRestApi
- Specified by:
setRestApiin interfaceUserAccessToken
-
isRestApi
public boolean isRestApi()- Specified by:
isRestApiin interfaceUserAccessToken
-
getSecureToken
public java.lang.String getSecureToken()- Specified by:
getSecureTokenin interfaceUserAccessToken
-
setSecureToken
- Specified by:
setSecureTokenin interfaceUserAccessToken
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<UserAccessToken>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<UserAccessToken>
-
restoreDeleted
public void restoreDeleted()- Specified by:
restoreDeletedin interfaceorg.teamapps.universaldb.pojo.Entity<UserAccessToken>
-