1 package org.exoplatform.services.wsrp.consumer; 2 3 4 import java.util.Iterator ; 5 import org.exoplatform.services.wsrp.exceptions.WSRPException; 6 7 8 14 public interface PortletRegistry { 15 16 21 public void addPortlet(WSRPPortlet portlet) throws WSRPException; 22 23 29 public WSRPPortlet getPortlet(PortletKey portletKey); 30 31 37 public WSRPPortlet removePortlet(PortletKey portletKey); 38 39 45 public boolean existsPortlet(PortletKey portletKey); 46 47 52 public Iterator getAllPortlets(); 53 54 57 public void removeAllPortlets(); 58 59 } 60 | Popular Tags |