Project

General

Profile

« Previous | Next » 

Revision 57639

[Monitor Dashboard]: 1. Create indicator Modal 2. Add new fields on stakeholder elements. 3. Add getFullUrl on indicatorUtils.

View differences:

stakeholder.ts
269 269
}
270 270

  
271 271
export class Topic {
272
  id:string;
272 273
  name: string;
273 274
  alias: string;
274 275
  description: string;
275 276
  isActive: boolean;
276 277
  isPublic: boolean;
278
  isDefault: boolean;
277 279
  categories: Category[];
278
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean){
280
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean) {
281
    this.id = null;
279 282
    this.name =  name;
280 283
    this.description = description;
281 284
    this.alias = alias;
......
285 288
  }
286 289
}
287 290
export class Category {
291
  id:string;
288 292
  name: string;
289 293
  alias: string;
290 294
  description: string;
291 295
  isActive: boolean;
292 296
  isPublic: boolean;
293 297
  isOverview: boolean;
298
  isDefault: boolean;
294 299
  subCategories: SubCategory[];
295
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean){
300
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean) {
301
    this.id = null;
296 302
    this.name =  name;
297 303
    this.description = description;
298 304
    this.alias = alias;
......
303 309
}
304 310

  
305 311
export class SubCategory {
312
  id:string;
306 313
  name: string;
307 314
  alias: string;
308 315
  description: string;
309 316
  isActive: boolean;
310 317
  isPublic: boolean;
318
  isDefault: boolean;
311 319
  charts: Indicator[];
312 320
  numbers: Indicator[];
313
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean){
321
  constructor(name: string, description: string, alias:string , isActive: boolean, isPublic: boolean) {
322
    this.id = null;
314 323
    this.name =  name;
315 324
    this.description = description;
316 325
    this.alias = alias;
......
330 339
  tags:string[];
331 340
  isActive: boolean;
332 341
  isPublic: boolean;
342
  isDefault: boolean;
333 343
  indicatorPaths:IndicatorPath[];
334 344
  constructor(name: string, description: string, type:string , width:string,  isActive: boolean, isPublic: boolean, indicatorPaths:IndicatorPath[]){
345
    this.id = null;
335 346
    this.name =  name;
336 347
    this.description = description;
337 348
    this.type =  type;

Also available in: Unified diff