Package org.jboss.portal.portlet.cache

Examples of org.jboss.portal.portlet.cache.CacheLevel


      {
         StateString resourceState = StateString.create(queryParameters.get(ControllerRequestParameterNames.RESOURCE_STATE));
         String resourceId = queryParameters.get(ControllerRequestParameterNames.RESOURCE_ID);

         //
         CacheLevel resourceCacheLevel = CacheLevel.valueOf(queryParameters.get(ControllerRequestParameterNames.RESOURCE_CACHEABILITY));

         //
         PortletResourceRequest.Scope scope;
         switch (resourceCacheLevel)
         {
View Full Code Here


      Mode mode = null;
      WindowState windowState = null;
      PortletPageNavigationalState pageNavigationalState = null;
      Map<String, String[]> publicNS = null;
      StateString portletNS = null;
      CacheLevel cacheability;

      PortletResourceRequest.Scope scope = portletResourceRequest.getScope();

      //
      if (scope instanceof PortletResourceRequest.PortletScope)
View Full Code Here

         {
            parameters.put(ControllerRequestParameterNames.RESOURCE_ID, resourceId);
         }

         //
         CacheLevel cacheability = resourceURL.getCacheability();
         parameters.put(ControllerRequestParameterNames.RESOURCE_CACHEABILITY, cacheability.name());

         //
         if (cacheability != CacheLevel.FULL)
         {
            if (resourceURL.getNavigationalState() != null)
View Full Code Here

      {
         StateString resourceState = ParametersStateString.create(queryParameters.get(ControllerRequestParameterNames.RESOURCE_STATE));
         String resourceId = queryParameters.get(ControllerRequestParameterNames.RESOURCE_ID);

         //
         CacheLevel resourceCacheLevel = CacheLevel.valueOf(queryParameters.get(ControllerRequestParameterNames.RESOURCE_CACHEABILITY));

         //
         PortletResourceRequest.Scope scope;
         switch (resourceCacheLevel)
         {
View Full Code Here

      }
   }

   public String getCacheability()
   {
      CacheLevel cacheLevel = url.getCacheability();

      //
      return typetoJSR168.get(cacheLevel);
   }
View Full Code Here

      return typetoJSR168.get(cacheLevel);
   }

   public void setCacheability(String s)
   {
      CacheLevel cacheLevel = jsr168ToType.get(s);

      //
      if (cacheLevel != null)
      {
         if (url.parentCacheLevel == null)
View Full Code Here

TOP

Related Classes of org.jboss.portal.portlet.cache.CacheLevel

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.