01: package com.sun.portal.desktop.dp;
02:
03: import java.util.Set;
04:
05: public interface DPNode extends DPPropertyHolder {
06: public char CHANNEL_NAME_SEPARATOR = '/';
07:
08: public DPNode getParentNode();
09:
10: public DPChannel addChannel(DPChannel dpc);
11:
12: public DPProvider addProvider(DPProvider dpp);
13:
14: public DPChannel createChannel(String name, String providerName);
15:
16: public DPContainerChannel createContainerChannel(String name,
17: String providerName);
18:
19: public DPChannel copyChannel(String src, String dst);
20:
21: public DPChannel getChannel(String name);
22:
23: public DPProvider getProvider(String name);
24:
25: public Set getChannelNames();
26:
27: public Set getProviderNames();
28:
29: public boolean channelExists(String name);
30:
31: public boolean providerExists(String name);
32:
33: public DPChannel removeChannel(String name);
34:
35: public DPProvider removeProvider(String name);
36:
37: }
|