01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.desktop.dp;
06:
07: import java.util.Set;
08: import java.util.Map;
09: import java.util.List;
10:
11: import com.sun.portal.providers.context.PropertiesFilter;
12:
13: public interface DPProperties extends DPCollection {
14:
15: public Set getNames(boolean scoped);
16:
17: public DPProperty get(String key, boolean scoped);
18:
19: public DPConditionalProperties getConditionalProperties(
20: String condition, String value);
21:
22: public DPProperty remove(String key, List pfList);
23:
24: public DPProperty get(String name, List pflist, boolean exact);
25:
26: public DPProperty get(String name, List pflist, boolean exact,
27: boolean scoped);
28:
29: public void set(String key, Object val, List pflist);
30:
31: public List matchConditionalProperties(PropertiesFilter pf);
32:
33: public DPString getString(String name);
34:
35: public DPString getString(String name, List pflist, boolean exact);
36:
37: public void setString(String name, String val);
38:
39: public void setString(String name, String val, List pflist);
40:
41: public void setString(String name, String val, List pflist,
42: boolean exact);
43:
44: public DPCollection getCollection(String name);
45:
46: public DPCollection getCollection(String name, List pflist,
47: boolean exact);
48:
49: public DPCollection setCollection(String name, Map val);
50:
51: public DPCollection setCollection(String name, Map val, List pflist);
52:
53: public DPCollection setCollection(String name, Map val,
54: List pflist, boolean exact);
55:
56: public DPCollection setCollection(String name, List val);
57:
58: public DPCollection setCollection(String name, List val, List pflist);
59:
60: public DPCollection setCollection(String name, List val,
61: List pflist, boolean exact);
62:
63: public DPInteger getInteger(String name);
64:
65: public DPInteger getInteger(String name, List pflist, boolean exact);
66:
67: public void setInteger(String name, int val);
68:
69: public void setInteger(String name, int val, List pflist);
70:
71: public void setInteger(String name, int val, List pflist,
72: boolean exact);
73:
74: public DPBoolean getBoolean(String name);
75:
76: public DPBoolean getBoolean(String name, List pflist, boolean exact);
77:
78: public void setBoolean(String name, boolean val);
79:
80: public void setBoolean(String name, boolean val, List pflist);
81:
82: public void setBoolean(String name, boolean val, List pflist,
83: boolean exact);
84:
85: public DPProperty add(DPProperty dpp, List pflist);
86:
87: public DPPropertyHolder getPropertyHolder();
88: }
|