1 16 19 20 package org.apache.pluto.portalImpl.aggregation; 21 22 import java.io.IOException ; 23 import java.util.Collection ; 24 25 import javax.servlet.ServletException ; 26 import javax.servlet.http.HttpServletRequest ; 27 import javax.servlet.http.HttpServletResponse ; 28 29 import org.apache.pluto.portalImpl.aggregation.navigation.Navigation; 30 import org.apache.pluto.portalImpl.core.PortalURL; 31 import org.apache.pluto.portalImpl.util.Parameters; 32 33 public interface Fragment 34 { 35 36 37 46 public void service(HttpServletRequest request, HttpServletResponse response) 47 throws ServletException , IOException ; 48 49 55 public String getId(); 56 57 63 public Fragment getParent(); 64 65 70 public Parameters getInitParameters(); 71 72 77 public Collection getChildFragments(); 78 79 84 public void addChild(Fragment child); 85 86 92 public Navigation getNavigation(); 93 94 99 public void createURL(PortalURL url); 100 101 107 public boolean isPartOfURL(PortalURL url); 108 109 } 110 | Popular Tags |