Package org.jboss.portal.portlet.state.producer

Examples of org.jboss.portal.portlet.state.producer.PortletState


               }
            }
            List<String> value = Arrays.asList(strings.clone());
            properties.setProperty(key, value);
         }
         return new PortletState(portletId, properties);
      }
      catch (IOException e)
      {
         throw new StateConversionException(e);
      }
View Full Code Here


   {
      if (propertyMap == null)
      {
         throw new IllegalArgumentException();
      }
      PortletState stateContext = getState(stateId);
      return createState(stateContext.getPortletId(), propertyMap);
   }
View Full Code Here

      return createState(stateContext.getPortletId(), propertyMap);
   }

   public String cloneState(String stateId) throws IllegalArgumentException, NoSuchStateException, InvalidStateIdException
   {
      PortletState state = getState(stateId);
      return createState(state.getPortletId(), new SimplePropertyMap(state.getProperties()));
   }
View Full Code Here

   {
      if (propertyMap == null)
      {
         throw new IllegalArgumentException("No null value map");
      }
      PortletState ctx = getState(stateId);
      ctx.getProperties().clear();
      ctx.getProperties().putAll(propertyMap);
   }
View Full Code Here

   private PortletState state;

   public PortletStateContextImpl(String id, String portletId, PropertyMap propertyMap)
   {
      this.id = id;
      this.state = new PortletState(portletId, propertyMap);
   }
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.state.producer.PortletState

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.