1 7 package org.exoplatform.services.wsrp.producer; 8 9 import org.exoplatform.services.portletcontainer.pci.PortletData; 10 import org.exoplatform.services.wsrp.exceptions.WSRPException; 11 import org.exoplatform.services.wsrp.producer.impl.helpers.WSRPHttpSession; 12 import org.exoplatform.services.wsrp.type.CacheControl; 13 import org.exoplatform.services.wsrp.type.Templates; 14 import org.exoplatform.services.wsrp.type.UserContext; 15 16 public interface TransientStateManager { 17 18 public static final int SESSION_TIME_PERIOD = 900; 20 public WSRPHttpSession resolveSession(String sessionID, String user) throws WSRPException; 21 public void releaseSession(String sessionID); 22 23 public CacheControl getCacheControl(PortletData portletDatas) 24 throws WSRPException; 25 public boolean validateCache(String validateTag) throws WSRPException; 26 27 public Templates getTemplates(WSRPHttpSession session); 28 public void storeTemplates(Templates templates, WSRPHttpSession session); 29 30 public UserContext reolveUserContext(UserContext userContext, WSRPHttpSession session); 31 } | Popular Tags |