code: public List<EventDefinitionType<PortletDescriptor>> getAllEventDefinition()
     {
        List<EventDefinitionType<PortletDescriptor>> list = new ArrayList<EventDefinitionType<PortletDescriptor>>();
        List<Node> nodeList = model.get("event-definition");
        for(Node node: nodeList)
        {
           EventDefinitionType<PortletDescriptor>  type = new EventDefinitionTypeImpl<PortletDescriptor>(this, "event-definition", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>event-definition</code> elements
  @return list of <code>event-definition</code>