public abstract class SimpleChangeHistories extends Object implements IChangeHistories
Modifier and Type | Field and Description |
---|---|
protected List<HistoryData> |
allHistories
Saved History data
|
protected boolean |
artificialTRS
Deprecated.
|
protected boolean |
hasBeenTweaked
Deprecated.
|
protected boolean |
periodicArtificialTRS
Deprecated.
|
protected String |
serviceBase
Deprecated.
|
Constructor and Description |
---|
SimpleChangeHistories(long baseUpdateInterval) |
SimpleChangeHistories(long baseUpdateInterval,
String serviceBase)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
buildBaseResourcesAndChangeLogs(javax.servlet.http.HttpServletRequest httpServletRequest) |
org.eclipse.lyo.core.trs.Base |
getBaseResource(String pagenum)
Return page's Base resource
|
long |
getBaseUpdateInterval() |
org.eclipse.lyo.core.trs.ChangeLog |
getChangeLog(String pagenum)
Return page's ChangeLog
|
HistoryData[] |
getOrderedHistory(Date dateAfter)
Order the history data returned by the getHistory method to use it in the rest of the class
|
protected void |
newChangeEvent(org.eclipse.lyo.core.trs.ChangeEvent ce) |
void |
setBaseUpdateInterval(long uPDATEINTERVAL) |
void |
updateHistories(List<HistoryData> hd) |
void |
updateHistories(String changeType,
List<URI> changedUris) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getHistory
protected List<HistoryData> allHistories
@Deprecated protected boolean artificialTRS
@Deprecated protected boolean periodicArtificialTRS
@Deprecated protected boolean hasBeenTweaked
@Deprecated protected String serviceBase
@Deprecated public SimpleChangeHistories(long baseUpdateInterval, String serviceBase)
public SimpleChangeHistories(long baseUpdateInterval)
baseUpdateInterval
- interval between base rebuilds, in millisecondspublic void updateHistories(List<HistoryData> hd)
updateHistories
in interface IChangeHistories
public HistoryData[] getOrderedHistory(Date dateAfter)
IChangeHistories
getOrderedHistory
in interface IChangeHistories
public void buildBaseResourcesAndChangeLogs(javax.servlet.http.HttpServletRequest httpServletRequest) throws URISyntaxException
URISyntaxException
public org.eclipse.lyo.core.trs.Base getBaseResource(String pagenum)
IChangeHistories
getBaseResource
in interface IChangeHistories
pagenum
- the required page of the basepublic org.eclipse.lyo.core.trs.ChangeLog getChangeLog(String pagenum)
IChangeHistories
getChangeLog
in interface IChangeHistories
pagenum
- the required page of the change logpublic long getBaseUpdateInterval()
public void setBaseUpdateInterval(long uPDATEINTERVAL)
protected void newChangeEvent(org.eclipse.lyo.core.trs.ChangeEvent ce)
Copyright © 2019. All Rights Reserved.