Package com.terminalfour.publish.data
Class PDContentItem
- java.lang.Object
-
- com.terminalfour.publish.data.PDContentItem
-
- All Implemented Interfaces:
IPDData
- Direct Known Subclasses:
PDContentItemNotFound
public class PDContentItem extends Object implements IPDData
-
-
Constructor Summary
Constructors Constructor Description PDContentItem(com.terminalfour.content.Content content, int id, String language, PDVersion version, int contentTypeId, PDDateTime lastModified, PDDateTime publishDate, PDDateTime expiryDate, Map<String,PDElement> elements)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.terminalfour.content.Content
getContent()
int
getContentTypeId()
PDElement
getElement(String name)
Map<String,PDElement>
getElements()
PDDateTime
getExpiryDate()
int
getId()
String
getLanguage()
PDDateTime
getLastModified()
PDDateTime
getPublishDate()
PDVersion
getVersion()
boolean
hasElement(String name)
int
hashCode()
-
-
-
Constructor Detail
-
PDContentItem
public PDContentItem(com.terminalfour.content.Content content, int id, String language, PDVersion version, int contentTypeId, PDDateTime lastModified, PDDateTime publishDate, PDDateTime expiryDate, Map<String,PDElement> elements)
-
-
Method Detail
-
hasElement
public boolean hasElement(String name)
-
getId
public int getId()
-
getLanguage
public String getLanguage()
-
getVersion
public PDVersion getVersion()
-
getContentTypeId
public int getContentTypeId()
-
getLastModified
public PDDateTime getLastModified()
-
getPublishDate
public PDDateTime getPublishDate()
-
getExpiryDate
public PDDateTime getExpiryDate()
-
getContent
protected com.terminalfour.content.Content getContent()
-
-