Package com.tridion.meta
Interface Item
- All Known Subinterfaces:
ComponentMeta,KeywordMeta,PageMeta,TemplateMeta
public interface Item
This is the public interface for all Item metadata.
Any interface to metadata of an item extends this interface.
-
Method Summary
Modifier and TypeMethodDescriptionCategory[]Returns an array of Category objects, which can contain more categories or keywords as its children.Returns the date this item was initially created.intgetId()Returns the id of the item.Returns the date this item was initially published.Returns the most recent date this item was published.intReturns the major version of the item.intReturns the minor version of the item.Returns the date this item was last modified..intReturns the namespaceId of the item.intReturns the publication id of the publication that owns the publication to which this item belongs.intReturns the publication id of this item.getTitle()Returns the title of the item.intgetType()Returns the type of the item.
-
Method Details
-
getNamespaceId
int getNamespaceId()Returns the namespaceId of the item.- Returns:
- namespace id
-
getId
int getId()Returns the id of the item.- Returns:
- the Id of the Item
-
getType
int getType()Returns the type of the item.- Returns:
- The type of the item
-
getTitle
String getTitle()Returns the title of the item.- Returns:
- the title of the item.
-
getMinorVersion
int getMinorVersion()Returns the minor version of the item. This minor version is part of the version info.- Returns:
- the minor version of the item.
- See Also:
-
getMajorVersion
int getMajorVersion()Returns the major version of the item. This major version is part of the version info.- Returns:
- the major version of the item.
- See Also:
-
getModificationDate
Date getModificationDate()Returns the date this item was last modified..- Returns:
- the date this item was last modified.
-
getInitialPublicationDate
Date getInitialPublicationDate()Returns the date this item was initially published. Note that this is actually the date the item was first deployed.- Returns:
- the date this item was first published.
-
getLastPublicationDate
Date getLastPublicationDate()Returns the most recent date this item was published. Note that this is actually the date the item was last deployed.- Returns:
- the date this item was last published.
-
getCreationDate
Date getCreationDate()Returns the date this item was initially created.- Returns:
- the date this item was first created.
-
getPublicationId
int getPublicationId()Returns the publication id of this item.- Returns:
- the publication id of this item.
-
getOwningPublicationId
int getOwningPublicationId()Returns the publication id of the publication that owns the publication to which this item belongs.- Returns:
- the publication id of the publication that owns the publication to which this item belongs.
-
getCategories
Category[] getCategories()Returns an array of Category objects, which can contain more categories or keywords as its children. If there are no categories, this method will return a zero length array, nevernull.- Returns:
- An array of Categories for this item.
-