Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 | 8x 8x 8x 8x 8x 15x 15x 1x | import Logger from "../../Utils/LoggerByDefault";
/**
* @classdesc
* @private
*
* @constructor
* @alias Gp.Formats.XLS.AbstractService
*
* @param {Object} [options] - options
*/
function AbstractService (options) {
this.logger = Logger.getLogger();
this.logger.trace("[Constructeur AbstractService ()]");
Iif (!(this instanceof AbstractService)) {
throw new TypeError("AbstractService constructor cannot be called as a function.");
}
// options par defaut
this.options = options || {};
// et on ajoute les options en paramètre aux options par défaut
for (var opt in options) {
Eif (options.hasOwnProperty(opt)) {
this.options[opt] = options[opt];
}
}
}
/**
* @lends module:AbstractService#
*/
AbstractService.prototype = {
/**
* request (out)
* @type {String}
*/
strRequest : null,
/**
* objet Request
* @type {Request}
*/
oRequest : null,
/**
* Filter
* @type {FilterExtension}
*/
oFilter : null,
/**
* Constructeur (alias)
*/
constructor : AbstractService,
/**
* Ajout d'un objet de type Request : GeocodeRequest / ReverseGeocodeRequest / RouteRequest
*
* @param {Object} oRequest - GeocodeRequest / ReverseGeocodeRequest / RouteRequest
*/
addRequest : function (oRequest) {
this.logger.error("overwritten method !");
},
/**
* Ajout d'un objet de type FilterExtension : GeocodeFilterExtension ou RouteRequestExtension
*
* @param {Object} oFilter - GeocodeFilterExtension ou RouteRequestExtension
*/
addFilter : function (oFilter) {
this.logger.error("overwritten method !");
},
/**
* toString
*/
toString : function () {
this.logger.error("overwritten method !");
}
};
export default AbstractService;
|