egroupware/api/js/etemplate/et2_dataview_interfaces.js

27 lines
1.1 KiB
JavaScript
Raw Normal View History

/**
* EGroupware eTemplate2 - Contains interfaces used inside the dataview
*
* @license http://opensource.org/licenses/gpl-license.php GPL - GNU General Public License
* @package etemplate
* @subpackage dataview
* @link https://www.egroupware.org
* @author Andreas Stöckel
* @copyright EGroupware GmbH 2011-2021
*/
/*egw:uses
et2_core_inheritance;
*/
import { implements_methods, et2_implements_registry } from "./et2_core_interfaces";
export const et2_dataviewIInvalidatable = "et2_dataview_IInvalidatable";
et2_implements_registry.et2_dataview_IInvalidatable = function (obj) {
2020-01-31 21:07:27 +01:00
return implements_methods(obj, ["invalidate"]);
};
export const et2_dataview_IViewRange = "et2_dataview_IViewRange";
et2_implements_registry.et2_dataview_IViewRange = function (obj) {
2020-01-31 21:07:27 +01:00
return implements_methods(obj, ["setViewRange"]);
};
export const et2_IDataProvider = "et2_IDataProvider";
et2_implements_registry.et2_IDataProvider = function (obj) {
2020-01-31 21:07:27 +01:00
return implements_methods(obj, ["dataFetch", "dataRegisterUID", "dataUnregisterUID"]);
};
2020-01-24 12:14:08 +01:00
//# sourceMappingURL=et2_dataview_interfaces.js.map