1 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 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 67 | Popular Tags |