1 16 17 package org.apache.jetspeed.services.persistence; 18 19 import java.util.List ; 20 21 import org.apache.jetspeed.om.profile.Profile; 22 import org.apache.jetspeed.portal.*; 23 import org.apache.jetspeed.portal.Portlet; 24 import org.apache.jetspeed.portal.PortletException; 25 import org.apache.turbine.services.Service; 26 import org.apache.turbine.util.RunData; 27 28 35 public interface PortalPersistenceService extends Service 36 { 37 String SERVICE_NAME = "PortalPersistenceService"; 38 39 47 void store(PortletInstance instance) throws PortalPersistenceException; 48 49 56 PortletInstance getInstance(Portlet portlet, RunData data); 57 58 65 PortletInstance getInstance(Portlet portlet, Profile profile); 66 67 73 List getInstances(RunData data) throws PortletException; 74 75 81 List getInstances(Profile profile) throws PortletException; 82 83 } | Popular Tags |