Package org.teamapps.model.controlcenter
Class UdbApplicationPrivilege
java.lang.Object
org.teamapps.universaldb.pojo.AbstractUdbEntity<ApplicationPrivilege>
org.teamapps.model.controlcenter.UdbApplicationPrivilege
- All Implemented Interfaces:
ApplicationPrivilege,org.teamapps.universaldb.pojo.Entity<ApplicationPrivilege>,org.teamapps.universaldb.pojo.Identifiable,org.teamapps.universaldb.record.EntityBuilder<ApplicationPrivilege>
public class UdbApplicationPrivilege extends org.teamapps.universaldb.pojo.AbstractUdbEntity<ApplicationPrivilege> implements ApplicationPrivilege
-
Field Summary
Fields Modifier and Type Field Description protected static org.teamapps.universaldb.index.text.TextIndexiconprotected 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.IntegerIndexmetaModificationDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaModifiedByprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoreDateprotected static org.teamapps.universaldb.index.numeric.IntegerIndexmetaRestoredByprotected static org.teamapps.universaldb.index.text.TextIndexnameprotected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndexprivilegeGroupprotected static org.teamapps.universaldb.index.TableIndextableprotected static org.teamapps.universaldb.index.text.TextIndextitleKeyFields inherited from interface org.teamapps.model.controlcenter.ApplicationPrivilege
FIELD_ICON, FIELD_META_CREATED_BY, FIELD_META_CREATION_DATE, FIELD_META_DELETED_BY, FIELD_META_DELETION_DATE, FIELD_META_MODIFICATION_DATE, FIELD_META_MODIFIED_BY, FIELD_META_RESTORE_DATE, FIELD_META_RESTORED_BY, FIELD_NAME, FIELD_PRIVILEGE_GROUP, FIELD_TITLE_KEY -
Constructor Summary
Constructors Constructor Description UdbApplicationPrivilege()UdbApplicationPrivilege(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 -
metaModificationDate
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModificationDate -
metaModifiedBy
protected static org.teamapps.universaldb.index.numeric.IntegerIndex metaModifiedBy -
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 -
privilegeGroup
protected static org.teamapps.universaldb.index.reference.single.SingleReferenceIndex privilegeGroup -
name
protected static org.teamapps.universaldb.index.text.TextIndex name -
icon
protected static org.teamapps.universaldb.index.text.TextIndex icon -
titleKey
protected static org.teamapps.universaldb.index.text.TextIndex titleKey
-
-
Constructor Details
-
UdbApplicationPrivilege
public UdbApplicationPrivilege() -
UdbApplicationPrivilege
public UdbApplicationPrivilege(int id, boolean createEntity)
-
-
Method Details
-
getAll
-
getDeletedRecords
-
sort
public static java.util.List<ApplicationPrivilege> sort(java.util.List<ApplicationPrivilege> list, java.lang.String sortFieldName, boolean ascending, org.teamapps.universaldb.context.UserContext userContext, java.lang.String... path) -
sort
public static java.util.List<ApplicationPrivilege> 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<ApplicationPrivilege>
-
build
- Specified by:
buildin interfaceorg.teamapps.universaldb.record.EntityBuilder<ApplicationPrivilege>
-
getMetaCreationDate
public java.time.Instant getMetaCreationDate()- Specified by:
getMetaCreationDatein interfaceApplicationPrivilege
-
setMetaCreationDate
- Specified by:
setMetaCreationDatein interfaceApplicationPrivilege
-
getMetaCreationDateAsEpochSecond
public int getMetaCreationDateAsEpochSecond()- Specified by:
getMetaCreationDateAsEpochSecondin interfaceApplicationPrivilege
-
setMetaCreationDateAsEpochSecond
- Specified by:
setMetaCreationDateAsEpochSecondin interfaceApplicationPrivilege
-
getMetaCreationDateAsEpochMilli
public long getMetaCreationDateAsEpochMilli()- Specified by:
getMetaCreationDateAsEpochMilliin interfaceApplicationPrivilege
-
setMetaCreationDateAsEpochMilli
- Specified by:
setMetaCreationDateAsEpochMilliin interfaceApplicationPrivilege
-
getMetaCreatedBy
public int getMetaCreatedBy()- Specified by:
getMetaCreatedByin interfaceApplicationPrivilege
-
setMetaCreatedBy
- Specified by:
setMetaCreatedByin interfaceApplicationPrivilege
-
getMetaModificationDate
public java.time.Instant getMetaModificationDate()- Specified by:
getMetaModificationDatein interfaceApplicationPrivilege
-
setMetaModificationDate
- Specified by:
setMetaModificationDatein interfaceApplicationPrivilege
-
getMetaModificationDateAsEpochSecond
public int getMetaModificationDateAsEpochSecond()- Specified by:
getMetaModificationDateAsEpochSecondin interfaceApplicationPrivilege
-
setMetaModificationDateAsEpochSecond
- Specified by:
setMetaModificationDateAsEpochSecondin interfaceApplicationPrivilege
-
getMetaModificationDateAsEpochMilli
public long getMetaModificationDateAsEpochMilli()- Specified by:
getMetaModificationDateAsEpochMilliin interfaceApplicationPrivilege
-
setMetaModificationDateAsEpochMilli
- Specified by:
setMetaModificationDateAsEpochMilliin interfaceApplicationPrivilege
-
getMetaModifiedBy
public int getMetaModifiedBy()- Specified by:
getMetaModifiedByin interfaceApplicationPrivilege
-
setMetaModifiedBy
- Specified by:
setMetaModifiedByin interfaceApplicationPrivilege
-
getMetaDeletionDate
public java.time.Instant getMetaDeletionDate()- Specified by:
getMetaDeletionDatein interfaceApplicationPrivilege
-
setMetaDeletionDate
- Specified by:
setMetaDeletionDatein interfaceApplicationPrivilege
-
getMetaDeletionDateAsEpochSecond
public int getMetaDeletionDateAsEpochSecond()- Specified by:
getMetaDeletionDateAsEpochSecondin interfaceApplicationPrivilege
-
setMetaDeletionDateAsEpochSecond
- Specified by:
setMetaDeletionDateAsEpochSecondin interfaceApplicationPrivilege
-
getMetaDeletionDateAsEpochMilli
public long getMetaDeletionDateAsEpochMilli()- Specified by:
getMetaDeletionDateAsEpochMilliin interfaceApplicationPrivilege
-
setMetaDeletionDateAsEpochMilli
- Specified by:
setMetaDeletionDateAsEpochMilliin interfaceApplicationPrivilege
-
getMetaDeletedBy
public int getMetaDeletedBy()- Specified by:
getMetaDeletedByin interfaceApplicationPrivilege
-
setMetaDeletedBy
- Specified by:
setMetaDeletedByin interfaceApplicationPrivilege
-
getMetaRestoreDate
public java.time.Instant getMetaRestoreDate()- Specified by:
getMetaRestoreDatein interfaceApplicationPrivilege
-
setMetaRestoreDate
- Specified by:
setMetaRestoreDatein interfaceApplicationPrivilege
-
getMetaRestoreDateAsEpochSecond
public int getMetaRestoreDateAsEpochSecond()- Specified by:
getMetaRestoreDateAsEpochSecondin interfaceApplicationPrivilege
-
setMetaRestoreDateAsEpochSecond
- Specified by:
setMetaRestoreDateAsEpochSecondin interfaceApplicationPrivilege
-
getMetaRestoreDateAsEpochMilli
public long getMetaRestoreDateAsEpochMilli()- Specified by:
getMetaRestoreDateAsEpochMilliin interfaceApplicationPrivilege
-
setMetaRestoreDateAsEpochMilli
- Specified by:
setMetaRestoreDateAsEpochMilliin interfaceApplicationPrivilege
-
getMetaRestoredBy
public int getMetaRestoredBy()- Specified by:
getMetaRestoredByin interfaceApplicationPrivilege
-
setMetaRestoredBy
- Specified by:
setMetaRestoredByin interfaceApplicationPrivilege
-
getPrivilegeGroup
- Specified by:
getPrivilegeGroupin interfaceApplicationPrivilege
-
setPrivilegeGroup
- Specified by:
setPrivilegeGroupin interfaceApplicationPrivilege
-
getName
public java.lang.String getName()- Specified by:
getNamein interfaceApplicationPrivilege
-
setName
- Specified by:
setNamein interfaceApplicationPrivilege
-
getIcon
public java.lang.String getIcon()- Specified by:
getIconin interfaceApplicationPrivilege
-
setIcon
- Specified by:
setIconin interfaceApplicationPrivilege
-
getTitleKey
public java.lang.String getTitleKey()- Specified by:
getTitleKeyin interfaceApplicationPrivilege
-
setTitleKey
- Specified by:
setTitleKeyin interfaceApplicationPrivilege
-
save
- Specified by:
savein interfaceorg.teamapps.universaldb.pojo.Entity<ApplicationPrivilege>
-
delete
public void delete()- Specified by:
deletein interfaceorg.teamapps.universaldb.pojo.Entity<ApplicationPrivilege>
-
restoreDeleted
public void restoreDeleted()- Specified by:
restoreDeletedin interfaceorg.teamapps.universaldb.pojo.Entity<ApplicationPrivilege>
-