initi.doc/docfiles/providers/managers/groupTypes/manager.js

38 lines
1.0 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/**
* #### Менеджер типов групп.
*
* Этот менеджер позволяет запросить данные по типу компонента.
*
* ```bash
* // доступ
* ps.pl.gtm
* ```
* @group manager
* @namespace GroupTypes
*/
function GroupTypes() {
/**
* Вернет ссылку на Тип группы.
*
*
* Пример
* ```
* // компонентом может быть например portEntity
* ps.pl.gtm.get(new v2.model_type("portEntity")).then(function(_ref){
* var provider = _ref.value();
* // теперь можно работать с провайдером группы
* }, function(_err){
* console.log("произошла ошибка")
* });
* ```
*
* @public
* @function get
* @memberof GroupTypes
* @param {v2.model_type} groupType Адрес модели
* @returns {tools.promise(GroupTypes.GroupType)}
*/
this.get = function (groupType) {
};
}