import HeurekaParam = require('../../Entity/Feed/Heureka/HeurekaParam'); import IHeurekaParamObject = require('../../Entity/Feed/Heureka/IHeurekaParamObject'); import Util = require('asimplia-util'); import List = Util.ODBM.Entity.List; import Manager = Util.ODBM.Repository.PostgreSql.Manager; /* tslint:disable */ Util; /* tslint:enable */ export = HeurekaParamRecorder; class HeurekaParamRecorder { static $service = 'Feed.Heureka.HeurekaParamRecorder'; static $inject = [ 'connection.postgres' ]; constructor( private connection: any, private manager: Manager> = new Manager>(HeurekaParam, List, connection) ) {} insertList(heurekaParamList: List, callback: (e: Error, heurekaParamList?: List) => void) { this.manager.insertList(heurekaParamList, callback); } insert(heurekaParam: HeurekaParam, callback: (e: Error, heurekaParam?: HeurekaParam) => void) { this.manager.insert(heurekaParam, callback); } }