NsgDataClient class
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- registeredDataItemsCount → int
-
Количество зарегистрированных типов данных в провайдере
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addItemsToCache(
{List< NsgDataItem?> ? items, String? tag = ''}) → void -
getAllRegisteredServerNames(
) → List< String> - Вернуть все зарегистрированные классы данных по именам серверных классов Необходимо, чтобы защититься от обфускации
-
getAllRegisteredTypes(
) → List< String> - Вернуть все зарегистрированные классы данных по tyoeName Внимание!!! В релизной веб версии типы данных изменят свои названия из-за обфускации
-
getFieldList(
Type itemType) → NsgFieldList -
getItemsFromCache(
Type type, String id, {bool allowNull = false}) → NsgDataItem? -
getNewObject(
Type type) → NsgDataItem -
getNewObjectByTypeName(
String typeName) → NsgDataItem -
getParamList(
Type itemType) → NsgParamList -
getReferentFieldByFullPath(
Type dataType, String fullPath) → NsgDataBaseReferenceField< NsgDataItem> ? -
getTypeByName(
String typeName) → Type -
getTypeByServerName(
String typeName) → Type -
initializeEnums(
) → void - Re-initializing enums. For example for changing localization
-
isRegistered(
Type type) → bool -
isRegisteredByName(
String typeName) → bool -
isRegisteredByServerName(
String typeName) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
registerDataItem(
NsgDataItem item, {NsgDataProvider? remoteProvider, NsgLocalDb? localDb}) → void -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- client ↔ NsgDataClient
-
getter/setter pair