1
2
3
4
5
6
7
8
9
10 package com.sri.emo.dbobj;
11
12 import com.jcorporate.expresso.core.db.DBException;
13
14 import java.util.ArrayList;
15
16
17 /***
18 * @author Larry Hamel
19 */
20 public interface ISetting {
21
22 ISetting getInstance(String parentId, String nodeId) throws DBException;
23
24 void setValue(String entry) throws DBException;
25
26 String getSettingTargetId() throws DBException;
27
28 Node getSettingTarget() throws DBException;
29
30 String getDisplayValue() throws DBException;
31
32 String getComment() throws DBException;
33
34 boolean canWrite(int uid, boolean valueIfNew)
35 throws DBException;
36
37 String getTemplateId() throws DBException;
38
39 void setSettingTargetId(String nodeId) throws DBException;
40
41 void setTemplateId(String nodeId) throws DBException;
42
43 void setComment(String s) throws DBException;
44
45 /***
46 * @return list of found items; never null. ArrayList used to match DBObject prototype
47 */
48 ArrayList searchAndRetrieveList() throws DBException;
49 }