org.gcube.contentmanagement.timeseriesservice.impl.history
Class TSHistory
java.lang.Object
org.gcube.contentmanagement.timeseriesservice.impl.history.TSHistory
- All Implemented Interfaces:
- Serializable
public class TSHistory
- extends Object
- implements Serializable
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
itemLimit
public int itemLimit
TSHistory
public TSHistory(String id,
String curParentId,
Date historyCreationDate,
int itemLimit,
String parentTitle,
String author)
- Parameters:
id - curParentId - historyCreationDate - itemLimit - parentName - author -
TSHistory
public TSHistory(String id,
String tsParentId,
Date historyCreationDate,
String parentTitle,
String author)
- Parameters:
id - tsParentId - historyCreationDate - parentName - author -
getHistoryList
public LinkedList<TSHistoryItem> getHistoryList()
setHistoryList
protected void setHistoryList(LinkedList<TSHistoryItem> historyList)
getParentType
public TSHistory.ParentType getParentType()
setParentType
public void setParentType(TSHistory.ParentType parentType)
getParentId
public String getParentId()
setParentId
public void setParentId(String parentId)
addHistoryItems
public void addHistoryItems(TSHistoryItem item)
removeAllHistoryItems
public void removeAllHistoryItems(List<TSHistoryItem> items)
getHistoryCreationDate
public Date getHistoryCreationDate()
setHistoryCreationDate
public void setHistoryCreationDate(Date historyCreationDate)
getId
public String getId()
getParentName
public String getParentName()
setParentName
public void setParentName(String parentName)
getItemLimit
public int getItemLimit()
setItemLimit
public void setItemLimit(int itemLimit)
getAuthor
public String getAuthor()
setAuthor
public void setAuthor(String author)
store
public void store()
throws Exception
- Throws:
Exception
retrieveHistory
public static TSHistory retrieveHistory(String id)
throws Exception
- Parameters:
id -
- Returns:
-
- Throws:
Exception
Copyright © 2012. All Rights Reserved.