1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.portlets.pam.beans;
18
19 import java.util.Collection;
20
21 import javax.portlet.PortletMode;
22 import javax.portlet.WindowState;
23
24 import org.apache.jetspeed.om.common.GenericMetadata;
25 import org.apache.jetspeed.om.common.portlet.PortletApplication;
26 import org.apache.pluto.om.common.ObjectID;
27 import org.apache.pluto.om.portlet.PortletDefinition;
28 import org.apache.pluto.om.portlet.PortletDefinitionList;
29 import org.apache.pluto.om.servlet.WebApplicationDefinition;
30
31 /***
32 * This portlet is a browser over all the portlet applications in the system.
33 *
34 * @author <a href="mailto:jford@apache.com">Jeremy Ford</a>
35 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
36 * @version $Id: PortletApplicationBean.java 348264 2005-11-22 22:06:45Z taylor $
37 */
38 public class PortletApplicationBean implements PortletApplication
39 {
40 PortletApplication pa;
41
42
43 public PortletApplicationBean(PortletApplication pa)
44 {
45 this.pa = pa;
46 }
47
48
49
50
51 public GenericMetadata getMetadata()
52 {
53 return pa.getMetadata();
54 }
55
56
57
58
59 public String getName()
60 {
61 return pa.getName();
62 }
63
64
65
66
67 public Collection getPortletDefinitions()
68 {
69 return pa.getPortletDefinitions();
70 }
71
72
73
74
75 public PortletDefinition getPortletDefinitionByName(String name)
76 {
77 return pa.getPortletDefinitionByName(name);
78 }
79
80
81
82
83 public Collection getUserAttributeRefs()
84 {
85 return pa.getUserAttributeRefs();
86 }
87
88
89
90
91 public Collection getUserAttributes()
92 {
93 return pa.getUserAttributes();
94 }
95
96
97
98
99 public String getApplicationIdentifier()
100 {
101 return pa.getApplicationIdentifier();
102 }
103
104
105
106
107 public String getDescription()
108 {
109 return pa.getDescription();
110 }
111
112
113
114
115 public int getApplicationType()
116 {
117 return pa.getApplicationType();
118 }
119
120
121
122
123 public ObjectID getId()
124 {
125 return pa.getId();
126 }
127
128
129
130
131 public String getVersion()
132 {
133 return pa.getVersion();
134 }
135
136
137
138
139 public PortletDefinitionList getPortletDefinitionList()
140 {
141 return pa.getPortletDefinitionList();
142 }
143
144
145
146
147 public WebApplicationDefinition getWebApplicationDefinition()
148 {
149 return pa.getWebApplicationDefinition();
150 }
151
152 public Collection getJetspeedServices()
153 {
154 return pa.getJetspeedServices();
155 }
156
157 public Collection getCustomPortletModes()
158 {
159 return pa.getCustomPortletModes();
160 }
161
162 public Collection getCustomWindowStates()
163 {
164 return pa.getCustomWindowStates();
165 }
166
167 public Collection getSupportedPortletModes()
168 {
169 return pa.getSupportedPortletModes();
170 }
171
172 public Collection getSupportedWindowStates()
173 {
174 return pa.getSupportedWindowStates();
175 }
176
177 public PortletMode getMappedPortletMode(PortletMode mode)
178 {
179 return pa.getMappedPortletMode(mode);
180 }
181
182 public WindowState getMappedWindowState(WindowState state)
183 {
184 return pa.getMappedWindowState(state);
185 }
186
187 public PortletMode getCustomPortletMode(PortletMode mode)
188 {
189 return pa.getCustomPortletMode(mode);
190 }
191
192 public WindowState getCustomWindowState(WindowState state)
193 {
194 return pa.getCustomWindowState(state);
195 }
196
197 public String getJetspeedSecurityConstraint()
198 {
199 return pa.getJetspeedSecurityConstraint();
200 }
201 public boolean isLayoutApplication()
202 {
203 return pa.isLayoutApplication();
204 }
205 }