code: public List<PortletType<PortletDescriptor>> getAllPortlet()
     {
        List<PortletType<PortletDescriptor>> list = new ArrayList<PortletType<PortletDescriptor>>();
        List<Node> nodeList = model.get("portlet");
        for(Node node: nodeList)
        {
           PortletType<PortletDescriptor>  type = new PortletTypeImpl<PortletDescriptor>(this, "portlet", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>portlet</code> elements
  @return list of <code>portlet</code>