Package com.tridion.storage
Class ItemUrlData
java.lang.Object
com.tridion.storage.ItemUrlData
- All Implemented Interfaces:
UrlData
- Direct Known Subclasses:
BinaryVariantUrlData
Represents URL data of the item.
-
Constructor Summary
ConstructorsConstructorDescriptionItemUrlData(int namespaceId, int publicationId, int itemId, String path, String urlPath, Date lastPublishDate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintGet the item id.Returns the most recent date this item was published.intGet the namespace id of the item.intGet publication id of the item.Gets the URL path how this binary can be retrieved through some internet server.inthashCode()
-
Constructor Details
-
ItemUrlData
-
-
Method Details
-
getNamespaceId
public int getNamespaceId()Get the namespace id of the item.- Specified by:
getNamespaceIdin interfaceUrlData- Returns:
- the namespace id
-
getPublicationId
public int getPublicationId()Get publication id of the item.- Specified by:
getPublicationIdin interfaceUrlData- Returns:
- the publication id
-
getItemId
public int getItemId()Get the item id. -
getUrlPath
Gets the URL path how this binary can be retrieved through some internet server.- Specified by:
getUrlPathin interfaceUrlData- Returns:
- the URL path
-
getLastPublishDate
Returns the most recent date this item was published. Note that this is actually the date the item was last deployed.- Specified by:
getLastPublishDatein interfaceUrlData- Returns:
- the date this item was last published.
-
equals
-
hashCode
public int hashCode()
-