1 16 package org.apache.cocoon.portal.pluto.om; 17 18 import org.apache.pluto.om.common.ObjectID; 19 import org.apache.pluto.om.entity.PortletApplicationEntity; 20 import org.apache.pluto.om.entity.PortletEntityList; 21 import org.apache.pluto.om.portlet.PortletApplicationDefinition; 22 23 30 public class PortletApplicationEntityImpl 31 implements PortletApplicationEntity { 32 33 protected PortletEntityList portlets = new PortletEntityListImpl(); 34 35 protected ObjectID objectId; 36 37 protected PortletApplicationDefinition pd; 38 39 42 public PortletApplicationEntityImpl(String id, PortletApplicationDefinition pd) { 43 this.objectId = org.apache.cocoon.portal.pluto.om.common.ObjectIDImpl.createFromString(id); 44 this.pd = pd; 45 } 46 47 50 public ObjectID getId() { 51 return this.objectId; 52 } 53 54 57 public PortletEntityList getPortletEntityList() { 58 return this.portlets; 59 } 60 61 64 public PortletApplicationDefinition getPortletApplicationDefinition() { 65 return this.pd; 66 } 67 68 } 69 | Popular Tags |