1 package org.itracker.persistence.dao;
2
3 import org.itracker.model.Configuration;
4
5 import java.util.List;
6
7
8
9
10 public interface ConfigurationDAO extends BaseDAO<Configuration> {
11
12 public Configuration findByPrimaryKey(Integer id);
13
14 public List<Configuration> findByType(Configuration.Type type);
15
16
17
18
19
20
21
22 public List<Configuration> findByType(int type);
23
24 @Deprecated
25 public List<Configuration> findByTypeAndValue(int type, String value);
26
27
28
29
30
31
32
33 public Configuration findByTypeValueKey(Configuration.Type type, String value);
34
35
36
37
38
39
40
41 public List<Configuration> findByTypeAndValue(Configuration.Type type, String value);
42
43 }