1 7 package org.exoplatform.services.wsrp.producer; 8 9 10 import java.util.Map ; 11 import org.exoplatform.services.wsrp.exceptions.WSRPException; 12 import org.exoplatform.services.wsrp.type.RegistrationContext; 13 import org.exoplatform.services.wsrp.type.RegistrationData; 14 15 19 public interface PersistentStateManager { 20 21 public byte[] register(String registrationHandle, RegistrationData data) throws WSRPException; 22 public RegistrationData getRegistrationData(RegistrationContext registrationContext) throws WSRPException; 23 public void deregister(RegistrationContext registrationContext) throws WSRPException; 24 public boolean isRegistered(RegistrationContext registrationContext) throws WSRPException; 25 26 public boolean isConsumerConfiguredPortlet(String portletHandle, RegistrationContext registrationContext) throws WSRPException; 27 public void addConsumerConfiguredPortletHandle(String portletHandle, RegistrationContext registrationContext) throws WSRPException; 28 public void removeConsumerConfiguredPortletHandle(String portletHandle, RegistrationContext registrationContext) throws WSRPException; 29 30 public Map getNavigationalSate(String navigationalState) throws WSRPException; 31 public void putNavigationalState(String ns, Map renderParameters) throws WSRPException; 32 33 34 } 35 | Popular Tags |