Revision 29134462
Added by Andreas Müller over 3 years ago
cdmlib-persistence/src/main/java/eu/etaxonomy/cdm/persistence/dao/common/IPreferenceDao.java | ||
---|---|---|
30 | 30 |
|
31 | 31 |
/** |
32 | 32 |
* Write the value for the preference's key |
33 |
* @param preference |
|
34 | 33 |
*/ |
35 | 34 |
public void set(CdmPreference preference); |
36 | 35 |
|
37 | 36 |
/** |
38 | 37 |
* Return the number of all existing cdm preferences |
39 |
* @return |
|
40 | 38 |
*/ |
41 | 39 |
public long count(); |
42 | 40 |
|
43 |
/** |
|
44 |
* @return |
|
45 |
*/ |
|
46 | 41 |
public List<CdmPreference> list(); |
47 | 42 |
|
48 | 43 |
public List<CdmPreference> list(IPreferencePredicate<?> predicate); |
49 | 44 |
|
50 |
|
|
51 |
|
|
52 | 45 |
/** |
53 | 46 |
* Retrieves the best matching CdmPreference for the given |
54 | 47 |
* taxon node and the given predicate. |
... | ... | |
59 | 52 |
*/ |
60 | 53 |
public CdmPreference find(TaxonNode taxonNode, String predicate); |
61 | 54 |
|
62 |
/** |
|
63 |
* @param key |
|
64 |
*/ |
|
65 |
void remove(PrefKey key); |
|
66 |
|
|
55 |
public void remove(PrefKey key); |
|
67 | 56 |
|
68 | 57 |
} |
Also available in: Unified diff
cleanup