изменил иерархию файлов
This commit is contained in:
parent
9ef7ac0df9
commit
dd1eed15cf
52 changed files with 1602 additions and 938 deletions
151
docfiles/providers/managers/publishers/items/items.js
Normal file
151
docfiles/providers/managers/publishers/items/items.js
Normal file
|
@ -0,0 +1,151 @@
|
|||
/** @typedef {Publishers.Publisher.Items.Item} PublisherItem */
|
||||
/** @typedef {Publishers.Publisher.Items.Item.Attributes.Attribute} PublisherItemAttribute */
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Items
|
||||
* @memberof Publishers.Publisher
|
||||
*/
|
||||
var Items = function () {
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @memberof Publishers.Publisher.Items
|
||||
* @param _id {v2.integer}
|
||||
* @returns {tools.promise(PublisherItem)}
|
||||
*/
|
||||
this.get = function (_id) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function is_exist
|
||||
* @memberof Publishers.Publisher.Items
|
||||
* @param _id {v2.integer}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
this.is_exist = function (_id) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Item
|
||||
* @memberof Publishers.Publisher.Items
|
||||
*/
|
||||
var Item = function () {
|
||||
/**
|
||||
*
|
||||
* @name id
|
||||
* @public
|
||||
* @memberof Publishers.Publisher.Items.Item
|
||||
* @type {v2.integer}
|
||||
*/
|
||||
this.id = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @memberof Publishers.Publisher.Items.Item
|
||||
* @param _index {v2.integer}
|
||||
* @returns {tools.promise(PublisherItemAttribute)}
|
||||
*/
|
||||
this.get = function (_index) {
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Attributes
|
||||
* @memberof Publishers.Publisher.Items.Item
|
||||
*/
|
||||
var Attributes = function () {
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes
|
||||
* @param _id {v2.integer}
|
||||
* @returns {tools.promise(PublisherItemAttribute)}
|
||||
*/
|
||||
this.get = function (_id) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function attributes
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes
|
||||
* @returns {v2.list(v2.string)}
|
||||
*/
|
||||
this.attributes = function () {}
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Attribute
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes
|
||||
*/
|
||||
var Attribute = function () {
|
||||
/**
|
||||
*
|
||||
* @name s_size_change
|
||||
* @public
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes.Attribute
|
||||
* @type {number}
|
||||
*/
|
||||
this.s_size_change = -1;
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function name
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes.Attribute
|
||||
* @returns {v2.string}
|
||||
*/
|
||||
this.name = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function value
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes.Attribute
|
||||
* @returns {v2}
|
||||
*/
|
||||
this.value = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function type
|
||||
* @memberof Publishers.Publisher.Items.Item.Attributes.Attribute
|
||||
* @returns {v2.type}
|
||||
*/
|
||||
this.type = function () {
|
||||
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
|
19
docfiles/providers/managers/publishers/manager.js
Normal file
19
docfiles/providers/managers/publishers/manager.js
Normal file
|
@ -0,0 +1,19 @@
|
|||
/**
|
||||
* Менеджер паблишеров.
|
||||
*
|
||||
* @group manager
|
||||
* @namespace Publishers
|
||||
*/
|
||||
function Publishers() {
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @param {v2.address} address Адрес паблишера
|
||||
* @returns {tools.promise(Publishers.Publisher)}
|
||||
* @memberof Publishers
|
||||
*/
|
||||
this.get = function (address) {
|
||||
|
||||
};
|
||||
}
|
89
docfiles/providers/managers/publishers/publisher.js
Normal file
89
docfiles/providers/managers/publishers/publisher.js
Normal file
|
@ -0,0 +1,89 @@
|
|||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Publisher
|
||||
* @memberof Publishers
|
||||
*/
|
||||
function Publisher() {
|
||||
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function address
|
||||
* @memberof Publishers.Publisher
|
||||
* @returns {v2.address}
|
||||
*/
|
||||
this.address = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function id
|
||||
* @memberof Publishers.Publisher
|
||||
* @returns {v2.address}
|
||||
*/
|
||||
this.id = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function headers
|
||||
* @memberof Publishers.Publisher
|
||||
* @returns {v2.list(v2.vc)}
|
||||
*/
|
||||
this.headers = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get_reader
|
||||
* @memberof Publishers.Publisher
|
||||
* @param _column_name {v2.string}
|
||||
* @param _sort {v2.integer}
|
||||
* @returns {tools.promise(PublisherReader)}
|
||||
*/
|
||||
this.get_reader = function (_column_name, _sort) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get_item
|
||||
* @memberof Publishers.Publisher
|
||||
* @param _id {v2.integer}
|
||||
* @returns {tools.promise(PublisherItem)}
|
||||
*/
|
||||
this.get_item = function (_id) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function default_sort_column
|
||||
* @returns {v2.string}
|
||||
* @memberof Publishers.Publisher
|
||||
*/
|
||||
this.default_sort_column = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function default_sort
|
||||
* @memberof Publishers.Publisher
|
||||
* @returns {v2.integer}
|
||||
*/
|
||||
this.default_sort = function () {
|
||||
|
||||
};
|
||||
}
|
22
docfiles/providers/managers/publishers/readers/manager.js
Normal file
22
docfiles/providers/managers/publishers/readers/manager.js
Normal file
|
@ -0,0 +1,22 @@
|
|||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Readers
|
||||
* @memberof Publishers.Publisher
|
||||
*/
|
||||
var Readers = function () {
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @memberof Publishers.Publisher.Readers
|
||||
* @param _column_name {v2.string}
|
||||
* @param _sort {v2.integer}
|
||||
* @returns {tools.promise(PublisherReader)}
|
||||
*/
|
||||
this.get = function (_column_name, _sort) {
|
||||
|
||||
};
|
||||
};
|
||||
|
|
@ -0,0 +1,36 @@
|
|||
/** @typedef {Publishers.Publisher.Readers.Reader.Index} PublisherReaderIndex */
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Index
|
||||
* @memberof Publishers.Publisher.Readers.Reader
|
||||
*/
|
||||
var Index = function () {
|
||||
/**
|
||||
*
|
||||
* @name s_change
|
||||
* @public
|
||||
* @memberof Publishers.Publisher.Readers.Reader.Index
|
||||
* @type {number}
|
||||
*/
|
||||
this.s_change = -1;
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function index
|
||||
* @memberof Publishers.Publisher.Readers.Reader.Index
|
||||
* @returns {v2.integer}
|
||||
*/
|
||||
this.index = function () {};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function inst_id
|
||||
* @memberof Publishers.Publisher.Readers.Reader.Index
|
||||
* @returns {v2.integer}
|
||||
*/
|
||||
this.inst_id = function () {};
|
||||
};
|
|
@ -0,0 +1,54 @@
|
|||
/** @typedef {Publishers.Publisher.Readers.Reader} PublisherReader */
|
||||
|
||||
/**
|
||||
*
|
||||
* @group manager
|
||||
* @class Reader
|
||||
* @memberof Publishers.Publisher.Readers
|
||||
*/
|
||||
var Reader = function () {
|
||||
/**
|
||||
*
|
||||
* @name s_size_change
|
||||
* @public
|
||||
* @memberof Publishers.Publisher.Readers.Reader
|
||||
* @type {number}
|
||||
*/
|
||||
this.s_size_change = -1;
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function get
|
||||
* @memberof Publishers.Publisher.Readers.Reader
|
||||
* @param _index {v2.integer}
|
||||
* @returns {tools.promise(PublisherReaderIndex)}
|
||||
*/
|
||||
this.get = function (_index) {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function size
|
||||
* @memberof Publishers.Publisher.Readers.Reader
|
||||
* @returns {v2.integer}
|
||||
*/
|
||||
this.size = function () {
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
*
|
||||
* @public
|
||||
* @function check_index
|
||||
* @memberof Publishers.Publisher.Readers.Reader
|
||||
* @param _index {v2.integer}
|
||||
* @returns {boolean}
|
||||
*/
|
||||
this.check_index = function (_index) {
|
||||
|
||||
}
|
||||
};
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue