Package org.jboss.portal.portlet.state.consumer

Examples of org.jboss.portal.portlet.state.consumer.ConsumerStateContext


   protected abstract int size();

   public synchronized ConsumerStateContext loadState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
   {
      checkId(stateId);
      ConsumerStateContext state = get(stateId);
      if (state == null)
      {
         throw new NoSuchStateException(stateId);
      }
      return state;
View Full Code Here


   {
      if (state == null)
      {
         throw new IllegalArgumentException();
      }
      ConsumerStateContext ctx = new ConsumerStateContext(Integer.toString(counter++), state.getPortletId(), state.getBytes());
      put(ctx.getId(), ctx);
      return ctx.getId();
   }
View Full Code Here

      {
         throw new NoSuchStateException(stateId);
      }

      //
      put(stateId, new ConsumerStateContext(stateId, state.getPortletId(), state.getBytes()));
   }
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.state.consumer.ConsumerStateContext

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.