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.List;
08:
09: import com.sun.portal.desktop.context.DPContext;
10:
11: public interface DPObject {
12: public boolean isDirty();
13:
14: public void setDirty(boolean state);
15:
16: public void setDummy(boolean state);
17:
18: public String getName();
19:
20: public short getType();
21:
22: public DPContext getContext();
23:
24: public DPRoot getRoot();
25:
26: public short getMergeType();
27:
28: public void setMergeType(short type);
29:
30: public int getDefaultMergeType();
31:
32: public void setDefaults();
33:
34: public boolean isMergeLocked();
35:
36: public boolean isMergeRemove();
37:
38: public boolean isMergeReplace();
39:
40: public List getMergers();
41:
42: public boolean isLocked();
43:
44: public boolean isRemove();
45:
46: public boolean isReplace();
47:
48: public boolean isAdvanced();
49:
50: public void setLock(boolean locked);
51:
52: public void setAdvanced(boolean advanced);
53:
54: public int getPriority();
55:
56: public void setPriority(int priority);
57:
58: public void addMerger(DPObject dpo);
59:
60: public void addMergers(List mergers);
61:
62: public boolean isMerged();
63:
64: public boolean isDummy();
65:
66: public String toString();
67:
68: public String toString(boolean prune);
69:
70: public String toDebugString();
71:
72: public String toMergedXML();
73:
74: public void toXML(StringBuffer buf, int indent);
75:
76: public boolean getDefaultLockValue();
77:
78: public boolean getDefaultAdvancedValue();
79:
80: public boolean getDefaultPropagateValue();
81: }
|