Class ExpiringContentItem
- java.lang.Object
-
- org.craftercms.studio.model.rest.dashboard.ExpiringContentItem
-
public class ExpiringContentItem extends Object
Holds the data for an item that is close to or has already expired- Since:
- 4.0.0
- Author:
- joseross
-
-
Field Summary
Fields Modifier and Type Field Description protected ZonedDateTime
expiredDateTime
The expiry data of the itemprotected String
itemName
The name of the itemprotected String
itemPath
The path of the item
-
Constructor Summary
Constructors Constructor Description ExpiringContentItem(String itemName, String itemPath, ZonedDateTime expiredDateTime)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ZonedDateTime
getExpiredDateTime()
String
getItemName()
String
getItemPath()
-
-
-
Field Detail
-
itemName
protected String itemName
The name of the item
-
itemPath
protected String itemPath
The path of the item
-
expiredDateTime
protected ZonedDateTime expiredDateTime
The expiry data of the item
-
-
Constructor Detail
-
ExpiringContentItem
public ExpiringContentItem(String itemName, String itemPath, ZonedDateTime expiredDateTime)
-
-
Method Detail
-
getItemName
public String getItemName()
-
getItemPath
public String getItemPath()
-
getExpiredDateTime
public ZonedDateTime getExpiredDateTime()
-
-