Class MockResourceURL

Object
com.liferay.portal.kernel.test.portlet.MockPortletURL
com.liferay.portal.kernel.test.portlet.MockResourceURL
All Implemented Interfaces:
jakarta.portlet.BaseURL, jakarta.portlet.Mutable, jakarta.portlet.MutableRenderState, jakarta.portlet.PortletURL, jakarta.portlet.RenderState, jakarta.portlet.ResourceURL

public class MockResourceURL extends MockPortletURL implements jakarta.portlet.ResourceURL
Author:
Dante Wang
  • Constructor Details

    • MockResourceURL

      public MockResourceURL(jakarta.portlet.PortalContext portalContext, String urlType)
  • Method Details

    • getCacheability

      public String getCacheability()
      Specified by:
      getCacheability in interface jakarta.portlet.ResourceURL
    • getResourceID

      public String getResourceID()
      Specified by:
      getResourceID in interface jakarta.portlet.ResourceURL
    • getResourceParameters

      public jakarta.portlet.MutableResourceParameters getResourceParameters()
      Specified by:
      getResourceParameters in interface jakarta.portlet.ResourceURL
    • setCacheability

      public void setCacheability(String cacheability)
      Specified by:
      setCacheability in interface jakarta.portlet.ResourceURL
    • setResourceID

      public void setResourceID(String resourceID)
      Specified by:
      setResourceID in interface jakarta.portlet.ResourceURL