Class ItemUrlData

java.lang.Object
com.tridion.storage.ItemUrlData
All Implemented Interfaces:
UrlData
Direct Known Subclasses:
BinaryVariantUrlData

public class ItemUrlData extends Object implements UrlData
Represents URL data of the item.
  • Constructor Details

    • ItemUrlData

      public ItemUrlData(int namespaceId, int publicationId, int itemId, String path, String urlPath, Date lastPublishDate)
  • Method Details

    • getNamespaceId

      public int getNamespaceId()
      Get the namespace id of the item.
      Specified by:
      getNamespaceId in interface UrlData
      Returns:
      the namespace id
    • getPublicationId

      public int getPublicationId()
      Get publication id of the item.
      Specified by:
      getPublicationId in interface UrlData
      Returns:
      the publication id
    • getItemId

      public int getItemId()
      Get the item id.
      Specified by:
      getItemId in interface UrlData
      Returns:
      the item id.
    • getUrlPath

      public String getUrlPath()
      Gets the URL path how this binary can be retrieved through some internet server.
      Specified by:
      getUrlPath in interface UrlData
      Returns:
      the URL path
    • getLastPublishDate

      public Date getLastPublishDate()
      Returns the most recent date this item was published. Note that this is actually the date the item was last deployed.
      Specified by:
      getLastPublishDate in interface UrlData
      Returns:
      the date this item was last published.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object