Package org.gatein.pc.api.cache

Examples of org.gatein.pc.api.cache.CacheLevel


   public ResourceResponseImpl(ResourceInvocation invocation, PortletRequestImpl preq)
   {
      super(invocation, preq);

      //
      CacheLevel cacheLevel = invocation.getCacheLevel();
      if (cacheLevel == null)
      {
         cacheLevel = CacheLevel.PAGE;
      }
      this.cacheability = cacheLevel;
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

   public ResourceResponseImpl(ResourceInvocation invocation, PortletRequestImpl preq)
   {
      super(invocation, preq);

      //
      CacheLevel cacheLevel = invocation.getCacheLevel();
      if (cacheLevel == null)
      {
         cacheLevel = CacheLevel.PAGE;
      }
      this.cacheability = cacheLevel;
View Full Code Here

      Mode mode = null;
      org.gatein.pc.api.WindowState windowState = null;
      PageNavigationalState pageNavigationalState = null;
      Map<String, String[]> publicNS = null;
      StateString portletNS = null;
      CacheLevel cacheability;

      if (scope instanceof PortletResourceRequest.PortletScope)
      {
         PortletResourceRequest.PortletScope portletScope = (PortletResourceRequest.PortletScope)scope;
         WindowNavigationalState navigationalState = portletScope.getWindowNavigationalState();
View Full Code Here

TOP

Related Classes of org.gatein.pc.api.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.