added authentication TELSDN-193: #close
[lispflowmapping.git] / mappingservice / api / src / main / java / org / opendaylight / lispflowmapping / interfaces / dao / ILispDAO.java
1 /*
2  * Copyright (c) 2013 Contextream, Inc. and others.  All rights reserved.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  */
8
9 package org.opendaylight.lispflowmapping.interfaces.dao;
10
11 import java.util.Map;
12
13 public interface ILispDAO {
14
15     public <K> void put(K key, MappingEntry<?>... values);
16
17     public <K, V> V getSpecific(K key, MappingValueKey<V> valueKey);
18
19     public <K> Object getSpecific(K key, String valueKey);
20
21     public <K> Map<String, ?> get(K key);
22
23     public <K> boolean remove(K key);
24
25     public void clearAll();
26
27     public <UserType, DbType> void register(Class<? extends ILispTypeConverter<UserType, DbType>> userType);
28 }