Class LocalURIResolver.URIInfo

java.lang.Object
org.ametys.cms.transformation.LocalURIResolver.URIInfo
Enclosing class:
LocalURIResolver

protected static class LocalURIResolver.URIInfo extends Object
Helper class containg all infos parsed from URI.
  • Constructor Details

  • Method Details

    • getContentId

      public String getContentId()
      Returns the content id.
      Returns:
      the content id.
    • setContentId

      public void setContentId(String contentId)
      Set the content id.
      Parameters:
      contentId - the content id.
    • getAttribute

      public String getAttribute()
      Returns the attribute.
      Returns:
      the attribute.
    • setAttribute

      public void setAttribute(String attribute)
      Set the attribute.
      Parameters:
      attribute - the attribute.
    • getFilename

      public String getFilename()
      Returns the resource name.
      Returns:
      the name
    • setFilename

      public void setFilename(String name)
      Set the resource name.
      Parameters:
      name - the name.
    • getContentVersion

      Returns the content version, if any.
      Returns:
      the content version.
    • setContentVersion

      public void setContentVersion(Optional<String> contentVersion)
      Set the content version.
      Parameters:
      contentVersion - the content version.
    • getContent

      public Content getContent()
      Returns the resolved content, if any.
      Returns:
      the content.
    • setContent

      public void setContent(Content content)
      Set the content.
      Parameters:
      content - the content.