KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > exoplatform > services > wsrp > producer > PersistentStateManager


1 /*
2  * Copyright 2001-2003 The eXo platform SARL All rights reserved.
3  * Please look at license.txt in info directory for more license detail.
4  *
5  * Created on 14 janv. 2004
6  */

7 package org.exoplatform.services.wsrp.producer;
8
9
10 import java.util.Map JavaDoc;
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 /**
16  * @author Mestrallet Benjamin
17  * benjmestrallet@users.sourceforge.net
18  */

19 public interface PersistentStateManager {
20
21   public byte[] register(String JavaDoc 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 JavaDoc portletHandle, RegistrationContext registrationContext) throws WSRPException;
27   public void addConsumerConfiguredPortletHandle(String JavaDoc portletHandle, RegistrationContext registrationContext) throws WSRPException;
28   public void removeConsumerConfiguredPortletHandle(String JavaDoc portletHandle, RegistrationContext registrationContext) throws WSRPException;
29
30   public Map JavaDoc getNavigationalSate(String JavaDoc navigationalState) throws WSRPException;
31   public void putNavigationalState(String JavaDoc ns, Map JavaDoc renderParameters) throws WSRPException;
32
33
34 }
35
Popular Tags