blob: 5e45ee54bfdb0a0258ecea2cdf4df1539f855cad [file] [log] [blame]
Nick Karanatsios758df8d2014-01-14 22:16:32 -08001/*
2 * To change this template, choose Tools | Templates
3 * and open the template in the editor.
4 */
5package net.onrc.onos.ofcontroller.flowmanager;
6
7import com.tinkerpop.blueprints.Direction;
8import java.util.Map;
9import net.onrc.onos.graph.DBOperation;
10
Nick Karanatsios758df8d2014-01-14 22:16:32 -080011public interface FlowEntityManager {
12 public void setPrimaryKey(String key);
13 public String getPrimaryKey();
14 public void hasMany(Class<?> cClass);
15 public void operationBegin(String opName);
16 public void operationEnd(String opName);
17 public void setProperty(String propertyName, Object value);
18 public Object getProperty(String propertyName);
19 public Map<String, Object> getProperties();
20 public FlowEntityManager append(Object entity);
21 public void addEdge(Object dst, Direction dir, String label);
22 public void removeEdge(Object src, Object dst, Direction dir, String label);
23 public void persist(DBOperation dbHandler);
24}
25