public class TSHistory extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
TSHistory.ParentType |
| Modifier and Type | Field and Description |
|---|---|
int |
itemLimit |
| Constructor and Description |
|---|
TSHistory(String id,
String curParentId,
Date historyCreationDate,
int itemLimit,
String parentTitle,
String author) |
TSHistory(String id,
String tsParentId,
Date historyCreationDate,
String parentTitle,
String author) |
| Modifier and Type | Method and Description |
|---|---|
void |
addHistoryItems(TSHistoryItem item) |
String |
getAuthor() |
Date |
getHistoryCreationDate() |
LinkedList<TSHistoryItem> |
getHistoryList() |
String |
getId() |
int |
getItemLimit() |
String |
getParentId() |
String |
getParentName() |
TSHistory.ParentType |
getParentType() |
void |
removeAllHistoryItems(List<TSHistoryItem> items) |
static TSHistory |
retrieveHistory(String id) |
void |
setAuthor(String author) |
void |
setHistoryCreationDate(Date historyCreationDate) |
protected void |
setHistoryList(LinkedList<TSHistoryItem> historyList) |
void |
setItemLimit(int itemLimit) |
void |
setParentId(String parentId) |
void |
setParentName(String parentName) |
void |
setParentType(TSHistory.ParentType parentType) |
void |
store() |
public TSHistory(String id, String curParentId, Date historyCreationDate, int itemLimit, String parentTitle, String author)
id - curParentId - historyCreationDate - itemLimit - parentName - author - public LinkedList<TSHistoryItem> getHistoryList()
protected void setHistoryList(LinkedList<TSHistoryItem> historyList)
public TSHistory.ParentType getParentType()
public void setParentType(TSHistory.ParentType parentType)
public String getParentId()
public void setParentId(String parentId)
public void addHistoryItems(TSHistoryItem item)
public void removeAllHistoryItems(List<TSHistoryItem> items)
public Date getHistoryCreationDate()
public void setHistoryCreationDate(Date historyCreationDate)
public String getId()
public String getParentName()
public void setParentName(String parentName)
public int getItemLimit()
public void setItemLimit(int itemLimit)
public String getAuthor()
public void setAuthor(String author)
Copyright © 2015. All Rights Reserved.