org.exoplatform.services.wsrp.producer.impl
Class PersistentStateManagerImpl
java.lang.Object
org.exoplatform.services.wsrp.producer.impl.PersistentStateManagerImpl
- All Implemented Interfaces:
- PersistentStateManager
public class PersistentStateManagerImpl
- extends java.lang.Object
- implements PersistentStateManager
- Author:
- Mestrallet Benjamin benjmestrallet@users.sourceforge.net
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistentStateManagerImpl
public PersistentStateManagerImpl(org.exoplatform.services.cache.CacheService cacheService,
org.exoplatform.services.database.HibernateService hservice,
WSRPConfiguration conf)
throws java.lang.Exception
- Throws:
java.lang.Exception
getRegistrationData
public RegistrationData getRegistrationData(RegistrationContext registrationContext)
throws WSRPException
- Specified by:
getRegistrationData in interface PersistentStateManager
- Throws:
WSRPException
register
public byte[] register(java.lang.String registrationHandle,
RegistrationData data)
throws WSRPException
- Specified by:
register in interface PersistentStateManager
- Throws:
WSRPException
deregister
public void deregister(RegistrationContext registrationContext)
throws WSRPException
- Specified by:
deregister in interface PersistentStateManager
- Throws:
WSRPException
isRegistered
public boolean isRegistered(RegistrationContext registrationContext)
throws WSRPException
- Specified by:
isRegistered in interface PersistentStateManager
- Throws:
WSRPException
isConsumerConfiguredPortlet
public boolean isConsumerConfiguredPortlet(java.lang.String portletHandle,
RegistrationContext registrationContext)
throws WSRPException
- Specified by:
isConsumerConfiguredPortlet in interface PersistentStateManager
- Throws:
WSRPException
addConsumerConfiguredPortletHandle
public void addConsumerConfiguredPortletHandle(java.lang.String portletHandle,
RegistrationContext registrationContext)
throws WSRPException
- Specified by:
addConsumerConfiguredPortletHandle in interface PersistentStateManager
- Throws:
WSRPException
removeConsumerConfiguredPortletHandle
public void removeConsumerConfiguredPortletHandle(java.lang.String portletHandle,
RegistrationContext registrationContext)
throws WSRPException
- Specified by:
removeConsumerConfiguredPortletHandle in interface PersistentStateManager
- Throws:
WSRPException
getNavigationalSate
public java.util.Map<java.lang.String,java.lang.String[]> getNavigationalSate(java.lang.String navigationalState)
throws WSRPException
- Specified by:
getNavigationalSate in interface PersistentStateManager
- Throws:
WSRPException
putNavigationalState
public void putNavigationalState(java.lang.String ns,
java.util.Map<java.lang.String,java.lang.String[]> renderParameters)
throws WSRPException
- Specified by:
putNavigationalState in interface PersistentStateManager
- Throws:
WSRPException
save
public final void save(java.lang.String key,
java.lang.String type,
java.lang.Object o)
throws java.lang.Exception
- Throws:
java.lang.Exception
load
public final WSRP1StateData load(java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
remove
public final void remove(java.lang.String key)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2011 eXo Platform SAS. All Rights Reserved.