Uses of Interface
com.ultikits.ultitools.interfaces.DataOperator
Packages that use DataOperator
Package
Description
-
Uses of DataOperator in com.ultikits.ultitools.abstracts
Methods in com.ultikits.ultitools.abstracts that return DataOperatorModifier and TypeMethodDescriptionfinal <T extends BaseDataEntity<String>>
DataOperator<T> UltiToolsPlugin.getDataOperator(Class<T> dataClazz) Gets data operator. -
Uses of DataOperator in com.ultikits.ultitools.api
Methods in com.ultikits.ultitools.api that return DataOperatorModifier and TypeMethodDescriptionstatic <T extends BaseDataEntity<String>>
DataOperator<T> UltiToolsAPI.getDataOperator(org.bukkit.plugin.java.JavaPlugin plugin, Class<T> dataEntity) Get a DataOperator for an external plugin's data entity. -
Uses of DataOperator in com.ultikits.ultitools.interfaces
Methods in com.ultikits.ultitools.interfaces that return DataOperatorModifier and TypeMethodDescription<T extends BaseDataEntity<String>>
DataOperator<T> DataStore.getOperator(UltiToolsPlugin plugin, Class<T> dataEntity) Deprecated, for removal: This API element is subject to removal in a future version.default <T extends BaseDataEntity<String>>
DataOperator<T> DataStore.getOperator(DataScope scope, Class<T> dataEntity) Get a data operator for the entityscopeowns, refusing outright when it does not (D-14).default <T extends BaseDataEntity<String>>
DataOperator<T> DataStore.getOperator(File dataFolder, Class<T> dataEntity) Deprecated, for removal: This API element is subject to removal in a future version.Enforces D-18's ownership check viaDataStore.checkOwnership(java.io.File, Class)as its own first statement -- aDataStoreimplementation that overrides this method directly must call the same helper to get the refusal; the three backends shipped by this framework all do (02-12).default <T extends BaseDataEntity<String>>
DataOperator<T> DataStore.getOperatorUnchecked(DataScope scope, Class<T> dataEntity) Internal, unchecked construction path used ONLY byDataStore.getOperator(DataScope, Class), called after its ownscope.owns(...)check has already passed (CR-01, 02-13). -
Uses of DataOperator in com.ultikits.ultitools.interfaces.impl.data
Classes in com.ultikits.ultitools.interfaces.impl.data that implement DataOperatorModifier and TypeClassDescriptionclassAbstractRelationalDataOperator<T extends BaseDataEntity<String>>Abstract base class for relational database data operators.Fields in com.ultikits.ultitools.interfaces.impl.data declared as DataOperatorConstructors in com.ultikits.ultitools.interfaces.impl.data with parameters of type DataOperator -
Uses of DataOperator in com.ultikits.ultitools.interfaces.impl.data.json
Classes in com.ultikits.ultitools.interfaces.impl.data.json that implement DataOperatorModifier and TypeClassDescriptionclassSimpleJsonDataOperator<T extends BaseDataEntity<String>>Simple Json data operator.Methods in com.ultikits.ultitools.interfaces.impl.data.json that return DataOperatorModifier and TypeMethodDescription<T extends BaseDataEntity<String>>
DataOperator<T> JsonStore.getOperator(UltiToolsPlugin plugin, Class<T> dataEntity) <T extends BaseDataEntity<String>>
DataOperator<T> JsonStore.getOperator(File dataFolder, Class<T> dataEntity) private <T extends BaseDataEntity<String>>
DataOperator<T> JsonStore.getOperatorForIdentity(String identity, String location, Class<T> dataEntity) Shared operator-construction body for all three entry points above, once ownership and the@Tableannotation have already been established by whichever one of them was called.<T extends BaseDataEntity<String>>
DataOperator<T> JsonStore.getOperatorUnchecked(DataScope scope, Class<T> dataEntity) Internal, unchecked construction path (CR-01/CR-03, 02-13):DataStore.getOperator(DataScope, Class)'s default body calls this only after its ownscope.owns(...)check has already passed. -
Uses of DataOperator in com.ultikits.ultitools.interfaces.impl.data.mysql
Classes in com.ultikits.ultitools.interfaces.impl.data.mysql that implement DataOperatorModifier and TypeClassDescriptionclassMysqlDataOperator<T extends BaseDataEntity<String>>MySQL implementation of the data operator.Fields in com.ultikits.ultitools.interfaces.impl.data.mysql with type parameters of type DataOperatorModifier and TypeFieldDescriptionprivate final Map<MysqlDataStore.OperatorKey, DataOperator<?>> MysqlDataStore.dataOperatorMapOperator cache, keyed by (requesting identity, entity class).Methods in com.ultikits.ultitools.interfaces.impl.data.mysql that return DataOperatorModifier and TypeMethodDescription<T extends BaseDataEntity<String>>
DataOperator<T> MysqlDataStore.getOperator(UltiToolsPlugin plugin, Class<T> dataEntity) <T extends BaseDataEntity<String>>
DataOperator<T> MysqlDataStore.getOperator(File dataFolder, Class<T> dataEntity) private <T extends BaseDataEntity<String>>
DataOperator<T> MysqlDataStore.getOperatorForIdentity(String identity, Class<T> dataEntity) Shared operator-construction body for all three entry points above, once ownership has already been established by whichever one of them was called.<T extends BaseDataEntity<String>>
DataOperator<T> MysqlDataStore.getOperatorUnchecked(DataScope scope, Class<T> dataEntity) Internal, unchecked construction path (CR-01/CR-03, 02-13):DataStore.getOperator(DataScope, Class)'s default body calls this only after its ownscope.owns(...)check has already passed. -
Uses of DataOperator in com.ultikits.ultitools.interfaces.impl.data.sqlite
Classes in com.ultikits.ultitools.interfaces.impl.data.sqlite that implement DataOperatorModifier and TypeClassDescriptionclassSQLiteDataOperator<T extends BaseDataEntity<String>>SQLite implementation of the data operator.Fields in com.ultikits.ultitools.interfaces.impl.data.sqlite with type parameters of type DataOperatorModifier and TypeFieldDescriptionprivate final Map<SQLiteDataStore.OperatorKey, DataOperator<?>> SQLiteDataStore.dataOperatorMapOperator cache, keyed by (backing .db file canonical path, entity class).Methods in com.ultikits.ultitools.interfaces.impl.data.sqlite that return DataOperatorModifier and TypeMethodDescription<T extends BaseDataEntity<String>>
DataOperator<T> SQLiteDataStore.getOperator(UltiToolsPlugin plugin, Class<T> dataEntity) <T extends BaseDataEntity<String>>
DataOperator<T> SQLiteDataStore.getOperator(File dataFolder, Class<T> dataEntity) private <T extends BaseDataEntity<String>>
DataOperator<T> SQLiteDataStore.getOperatorForPath(String dbPath, Class<T> dataEntity) Shared operator-construction body for all three entry points above, once ownership has already been established by whichever one of them was called.<T extends BaseDataEntity<String>>
DataOperator<T> SQLiteDataStore.getOperatorUnchecked(DataScope scope, Class<T> dataEntity) Internal, unchecked construction path (CR-01/CR-03, 02-13):DataStore.getOperator(DataScope, Class)'s default body calls this only after its ownscope.owns(...)check has already passed.
DataStoreimplementation that overrides this method directly must callDataStore.checkOwnership(UltiToolsPlugin, Class)as its own first statement to get the refusal; the three backends shipped by this framework all do (02-12).