2 * Copyright (c) 2017 ZTE Corporation.
\r
3 * All rights reserved. This program and the accompanying materials
\r
4 * are made available under the terms of the Eclipse Public License v1.0
\r
5 * and the Apache License 2.0 which both accompany this distribution,
\r
6 * and are available at http://www.eclipse.org/legal/epl-v10.html
\r
7 * and http://www.apache.org/licenses/LICENSE-2.0
\r
10 * ZTE - initial API and implementation and/or initial documentation
\r
13 import { Injectable } from '@angular/core';
\r
14 import { WorkflowNode } from "../../model/workflow/workflow-node";
\r
15 import { Observable } from "rxjs/Observable";
\r
16 import { HttpService } from "../../util/http.service";
\r
17 import { Workflow } from "../../model/workflow/workflow";
\r
21 * provides data access from backend
\r
24 export abstract class CatalogService {
\r
26 constructor(protected httpService: HttpService) {}
\r
28 public abstract loadWorkflow(workflowId: string): Observable<Workflow>;
\r
30 public abstract saveWorkflow(workflow: Workflow): Observable<boolean>;
\r