public class StoreHistoryImpl extends java.util.LinkedList<HistoricalEventInterface> implements StoreHistoryInterface
Constructor and Description |
---|
StoreHistoryImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(HistoricalEventInterface event)
Adds the event.
|
java.util.Collection<HistoricalEventInterface> |
getHistory()
Gets the history.
|
java.lang.String |
getHistoryAsHTMLString()
Gets the history as HTML string.
|
java.lang.String |
getHistoryAsString()
Gets the history as string.
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArray
containsAll, isEmpty, removeAll, retainAll, toString
public java.util.Collection<HistoricalEventInterface> getHistory()
getHistory
in interface ObtainHistoryInterface
public java.lang.String getHistoryAsString()
getHistoryAsString
in interface ObtainHistoryInterface
public void addEvent(HistoricalEventInterface event)
addEvent
in interface StoreHistoryInterface
event
- the eventpublic java.lang.String getHistoryAsHTMLString()
getHistoryAsHTMLString
in interface ObtainHistoryInterface
Copyright 2006-2015 Reporting Standard S.L., C/ Torrecilla del Puerto 1, 28043, Madrid, Espaņa