%line | %branch | |||||||||
---|---|---|---|---|---|---|---|---|---|---|
org.apache.jetspeed.page.DelegatingPageManager |
|
|
1 | /* |
|
2 | * Licensed to the Apache Software Foundation (ASF) under one or more |
|
3 | * contributor license agreements. See the NOTICE file distributed with |
|
4 | * this work for additional information regarding copyright ownership. |
|
5 | * The ASF licenses this file to You under the Apache License, Version 2.0 |
|
6 | * (the "License"); you may not use this file except in compliance with |
|
7 | * the License. You may obtain a copy of the License at |
|
8 | * |
|
9 | * http://www.apache.org/licenses/LICENSE-2.0 |
|
10 | * |
|
11 | * Unless required by applicable law or agreed to in writing, software |
|
12 | * distributed under the License is distributed on an "AS IS" BASIS, |
|
13 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 | * See the License for the specific language governing permissions and |
|
15 | * limitations under the License. |
|
16 | */ |
|
17 | package org.apache.jetspeed.page; |
|
18 | ||
19 | import java.util.Map; |
|
20 | ||
21 | import org.apache.jetspeed.om.folder.Folder; |
|
22 | import org.apache.jetspeed.om.folder.FolderNotFoundException; |
|
23 | import org.apache.jetspeed.om.folder.InvalidFolderException; |
|
24 | import org.apache.jetspeed.om.page.ContentPage; |
|
25 | import org.apache.jetspeed.om.page.Link; |
|
26 | import org.apache.jetspeed.om.page.Page; |
|
27 | import org.apache.jetspeed.om.page.PageSecurity; |
|
28 | import org.apache.jetspeed.page.document.DocumentException; |
|
29 | import org.apache.jetspeed.page.document.DocumentNotFoundException; |
|
30 | import org.apache.jetspeed.page.document.FailedToDeleteDocumentException; |
|
31 | import org.apache.jetspeed.page.document.FailedToUpdateDocumentException; |
|
32 | import org.apache.jetspeed.page.document.NodeException; |
|
33 | import org.apache.jetspeed.page.document.NodeSet; |
|
34 | import org.apache.jetspeed.page.document.UnsupportedDocumentTypeException; |
|
35 | ||
36 | ||
37 | /** |
|
38 | * DelegatingPageManager |
|
39 | * |
|
40 | * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a> |
|
41 | * @version $Id: $ |
|
42 | */ |
|
43 | ||
44 | public class DelegatingPageManager extends AbstractPageManager |
|
45 | { |
|
46 | public DelegatingPageManager( |
|
47 | boolean isPermissionsSecurity, |
|
48 | boolean isConstraintsSecurity, |
|
49 | Map modelClasses) |
|
50 | { |
|
51 | 0 | super(isPermissionsSecurity, isConstraintsSecurity, modelClasses); |
52 | 0 | } |
53 | ||
54 | /* (non-Javadoc) |
|
55 | * @see org.apache.jetspeed.page.PageManager#getPage(java.lang.String) |
|
56 | */ |
|
57 | public Page getPage(String id) throws PageNotFoundException, NodeException |
|
58 | { |
|
59 | // TODO Auto-generated method stub |
|
60 | 0 | return null; |
61 | } |
|
62 | ||
63 | /* (non-Javadoc) |
|
64 | * @see org.apache.jetspeed.page.PageManager#getContentPage(java.lang.String) |
|
65 | */ |
|
66 | public ContentPage getContentPage(String path) |
|
67 | throws PageNotFoundException, NodeException |
|
68 | { |
|
69 | // TODO Auto-generated method stub |
|
70 | 0 | return null; |
71 | } |
|
72 | ||
73 | /* (non-Javadoc) |
|
74 | * @see org.apache.jetspeed.page.PageManager#getLink(java.lang.String) |
|
75 | */ |
|
76 | public Link getLink(String name) throws DocumentNotFoundException, |
|
77 | UnsupportedDocumentTypeException, NodeException |
|
78 | { |
|
79 | // TODO Auto-generated method stub |
|
80 | 0 | return null; |
81 | } |
|
82 | ||
83 | /* (non-Javadoc) |
|
84 | * @see org.apache.jetspeed.page.PageManager#getPageSecurity() |
|
85 | */ |
|
86 | public PageSecurity getPageSecurity() throws DocumentNotFoundException, |
|
87 | UnsupportedDocumentTypeException, NodeException |
|
88 | { |
|
89 | // TODO Auto-generated method stub |
|
90 | 0 | return null; |
91 | } |
|
92 | ||
93 | public boolean checkConstraint(String securityConstraintName, String actions) |
|
94 | { |
|
95 | 0 | return false; |
96 | } |
|
97 | ||
98 | /* (non-Javadoc) |
|
99 | * @see org.apache.jetspeed.page.PageManager#getFolder(java.lang.String) |
|
100 | */ |
|
101 | public Folder getFolder(String folderPath) throws FolderNotFoundException, |
|
102 | InvalidFolderException, NodeException |
|
103 | { |
|
104 | // TODO Auto-generated method stub |
|
105 | 0 | return null; |
106 | } |
|
107 | ||
108 | /* (non-Javadoc) |
|
109 | * @see org.apache.jetspeed.page.PageManager#getFolders(org.apache.jetspeed.om.folder.Folder) |
|
110 | */ |
|
111 | public NodeSet getFolders(Folder folder) throws DocumentException |
|
112 | { |
|
113 | // TODO Auto-generated method stub |
|
114 | 0 | return null; |
115 | } |
|
116 | ||
117 | /* (non-Javadoc) |
|
118 | * @see org.apache.jetspeed.page.PageManager#getFolder(org.apache.jetspeed.om.folder.Folder,java.lang.String) |
|
119 | */ |
|
120 | public Folder getFolder(Folder folder, String name) throws FolderNotFoundException, DocumentException |
|
121 | { |
|
122 | // TODO Auto-generated method stub |
|
123 | 0 | return null; |
124 | } |
|
125 | ||
126 | /* (non-Javadoc) |
|
127 | * @see org.apache.jetspeed.page.PageManager#getPages(org.apache.jetspeed.om.folder.Folder) |
|
128 | */ |
|
129 | public NodeSet getPages(Folder folder) throws NodeException |
|
130 | { |
|
131 | // TODO Auto-generated method stub |
|
132 | 0 | return null; |
133 | } |
|
134 | ||
135 | /* (non-Javadoc) |
|
136 | * @see org.apache.jetspeed.page.PageManager#getPage(org.apache.jetspeed.om.folder.Folder,java.lang.String) |
|
137 | */ |
|
138 | public Page getPage(Folder folder, String name) throws PageNotFoundException, NodeException |
|
139 | { |
|
140 | // TODO Auto-generated method stub |
|
141 | 0 | return null; |
142 | } |
|
143 | ||
144 | /* (non-Javadoc) |
|
145 | * @see org.apache.jetspeed.page.PageManager#getLinks(org.apache.jetspeed.om.folder.Folder) |
|
146 | */ |
|
147 | public NodeSet getLinks(Folder folder) throws NodeException |
|
148 | { |
|
149 | // TODO Auto-generated method stub |
|
150 | 0 | return null; |
151 | } |
|
152 | ||
153 | /* (non-Javadoc) |
|
154 | * @see org.apache.jetspeed.page.PageManager#getLink(org.apache.jetspeed.om.folder.Folder,java.lang.String) |
|
155 | */ |
|
156 | public Link getLink(Folder folder, String name) throws DocumentNotFoundException, NodeException |
|
157 | { |
|
158 | // TODO Auto-generated method stub |
|
159 | 0 | return null; |
160 | } |
|
161 | ||
162 | /* (non-Javadoc) |
|
163 | * @see org.apache.jetspeed.page.PageManager#getPageSecurity(org.apache.jetspeed.om.folder.Folder) |
|
164 | */ |
|
165 | public PageSecurity getPageSecurity(Folder folder) throws DocumentNotFoundException, NodeException |
|
166 | { |
|
167 | // TODO Auto-generated method stub |
|
168 | 0 | return null; |
169 | } |
|
170 | ||
171 | /* (non-Javadoc) |
|
172 | * @see org.apache.jetspeed.page.PageManager#getAll(org.apache.jetspeed.om.folder.Folder) |
|
173 | */ |
|
174 | public NodeSet getAll(Folder folder) throws DocumentException |
|
175 | { |
|
176 | // TODO Auto-generated method stub |
|
177 | 0 | return null; |
178 | } |
|
179 | ||
180 | /* (non-Javadoc) |
|
181 | * @see org.apache.jetspeed.page.PageManager#updatePage(org.apache.jetspeed.om.page.Page) |
|
182 | */ |
|
183 | public void updatePage(Page page) throws NodeException, |
|
184 | PageNotUpdatedException |
|
185 | { |
|
186 | // TODO Auto-generated method stub |
|
187 | ||
188 | 0 | } |
189 | ||
190 | /* (non-Javadoc) |
|
191 | * @see org.apache.jetspeed.page.PageManager#removePage(org.apache.jetspeed.om.page.Page) |
|
192 | */ |
|
193 | public void removePage(Page page) throws NodeException, |
|
194 | PageNotRemovedException |
|
195 | { |
|
196 | // TODO Auto-generated method stub |
|
197 | ||
198 | 0 | } |
199 | ||
200 | /* (non-Javadoc) |
|
201 | * @see org.apache.jetspeed.page.PageManager#updateFolder(org.apache.jetspeed.om.folder.Folder) |
|
202 | */ |
|
203 | public void updateFolder(Folder folder) throws NodeException, |
|
204 | FolderNotUpdatedException |
|
205 | { |
|
206 | // TODO Auto-generated method stub |
|
207 | ||
208 | 0 | } |
209 | ||
210 | /* (non-Javadoc) |
|
211 | * @see org.apache.jetspeed.page.PageManager#updateFolder(org.apache.jetspeed.om.folder.Folder,boolean) |
|
212 | */ |
|
213 | public void updateFolder(Folder folder, boolean deep) throws NodeException, |
|
214 | FolderNotUpdatedException |
|
215 | { |
|
216 | // TODO Auto-generated method stub |
|
217 | ||
218 | 0 | } |
219 | ||
220 | /* (non-Javadoc) |
|
221 | * @see org.apache.jetspeed.page.PageManager#removeFolder(org.apache.jetspeed.om.folder.Folder) |
|
222 | */ |
|
223 | public void removeFolder(Folder folder) throws NodeException, |
|
224 | FolderNotRemovedException |
|
225 | { |
|
226 | // TODO Auto-generated method stub |
|
227 | ||
228 | 0 | } |
229 | ||
230 | /* (non-Javadoc) |
|
231 | * @see org.apache.jetspeed.page.PageManager#updateLink(org.apache.jetspeed.om.page.Link) |
|
232 | */ |
|
233 | public void updateLink(Link link) throws NodeException, |
|
234 | LinkNotUpdatedException |
|
235 | { |
|
236 | // TODO Auto-generated method stub |
|
237 | ||
238 | 0 | } |
239 | ||
240 | /* (non-Javadoc) |
|
241 | * @see org.apache.jetspeed.page.PageManager#removeLink(org.apache.jetspeed.om.page.Link) |
|
242 | */ |
|
243 | public void removeLink(Link link) throws NodeException, |
|
244 | LinkNotRemovedException |
|
245 | { |
|
246 | // TODO Auto-generated method stub |
|
247 | ||
248 | 0 | } |
249 | ||
250 | /* (non-Javadoc) |
|
251 | * @see org.apache.jetspeed.page.PageManager#updatePageSecurity(org.apache.jetspeed.om.page.PageSecurity) |
|
252 | */ |
|
253 | public void updatePageSecurity(PageSecurity pageSecurity) throws |
|
254 | NodeException, FailedToUpdateDocumentException |
|
255 | { |
|
256 | // TODO Auto-generated method stub |
|
257 | ||
258 | 0 | } |
259 | ||
260 | /* (non-Javadoc) |
|
261 | * @see org.apache.jetspeed.page.PageManager#removePageSecurity(org.apache.jetspeed.om.page.PageSecurity) |
|
262 | */ |
|
263 | public void removePageSecurity(PageSecurity pageSecurity) throws |
|
264 | NodeException, FailedToDeleteDocumentException |
|
265 | { |
|
266 | // TODO Auto-generated method stub |
|
267 | ||
268 | 0 | } |
269 | ||
270 | public int addPages(Page[] pages) |
|
271 | throws NodeException |
|
272 | { |
|
273 | 0 | throw new NodeException("not impl"); |
274 | } |
|
275 | } |
This report is generated by jcoverage, Maven and Maven JCoverage Plugin. |