1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.apache.jetspeed.services.forward.configuration.impl;
18
19 import java.util.Collection;
20 import java.util.ArrayList;
21
22 import org.apache.jetspeed.services.forward.configuration.ForwardsConfiguration;
23
24 /***
25 * Forwards Configuration Implementation
26 *
27 * @author <a href="mailto:taylor@apache.org">David Sean Taylor</a>
28 * @version $Id: ForwardsConfigurationImpl.java,v 1.2 2004/02/23 03:50:10 jford Exp $
29 */
30 public class ForwardsConfigurationImpl implements ForwardsConfiguration, java.io.Serializable
31 {
32 protected Collection forwards = new ArrayList();
33 protected Collection portletForwards = new ArrayList();
34
35 public int getForwardsCount()
36 {
37 return this.forwards.size();
38 }
39
40 public void setForwards(Collection forwards)
41 {
42 this.forwards = forwards;
43 }
44
45 public Collection getForwards()
46 {
47 return this.forwards;
48 }
49
50 public int getPortletForwardsCount()
51 {
52 return this.forwards.size();
53 }
54
55 public void setPortletForwards(Collection portletForwards)
56 {
57 this.portletForwards = portletForwards;
58 }
59
60 public Collection getPortletForwards()
61 {
62 return this.portletForwards;
63 }
64
65 }
66