File

src/app/services/objective.service.ts

Extends

PersistenceService

Index

Properties
Methods

Constructor

constructor(http: HttpClient)
Parameters :
Name Type Optional
http HttpClient No

Methods

count
count()
Inherited from PersistenceService
Returns : Observable<any>
createAuthorizationHeader
createAuthorizationHeader()
Inherited from PersistenceService
Returns : HttpHeaders
delete
delete(id)
Inherited from PersistenceService
Parameters :
Name Optional
id No
Returns : Observable<any>
errorHandler
errorHandler(error)
Inherited from PersistenceService
Parameters :
Name Optional
error No
Returns : any
findByExperiment
findByExperiment(experimentId)
Inherited from PersistenceService
Parameters :
Name Optional
experimentId No
Returns : Observable<any>
get
get(id)
Inherited from PersistenceService
Parameters :
Name Optional
id No
Returns : Observable<any>
getAll
getAll()
Inherited from PersistenceService
Returns : Observable<any>
post
post(obj)
Inherited from PersistenceService
Parameters :
Name Optional
obj No
Returns : Observable<any>
put
put(obj)
Inherited from PersistenceService
Parameters :
Name Optional
obj No
Returns : Observable<any>

Properties

Protected collection
Type : string
Default value : ''
Inherited from PersistenceService
Protected http
Type : HttpClient
Inherited from PersistenceService
import {Injectable} from '@angular/core';
import {HttpClient} from "@angular/common/http";
import {PersistenceService} from "./persistence.service";

@Injectable({
  providedIn: 'root'
})
export class ObjectiveService extends PersistenceService {

  constructor(http: HttpClient) {
    super("objective", http);
  }
}

result-matching ""

    No results matching ""