public class ContentHistoryService extends Object implements org.apache.camel.Processor, org.apache.camel.CamelContextAware
| Modifier and Type | Field and Description |
|---|---|
static String |
PUBLISHED_ACTION_NAME |
static String |
VIEWED_ACTION_NAME |
static String |
WITH_COMMENTS_MESSAGE_PART |
| Constructor and Description |
|---|
ContentHistoryService() |
| Modifier and Type | Method and Description |
|---|---|
long |
deleteHistoryBeforeDate(Date date) |
org.apache.camel.CamelContext |
getCamelContext() |
static ContentHistoryService |
getInstance() |
long |
getMostRecentTimeInHistory(org.hibernate.Session session) |
List<HistoryEntry> |
getNodeHistory(JCRNodeWrapper node,
boolean withLanguageNodes) |
void |
process(org.apache.camel.Exchange exchange) |
void |
setCamelContext(org.apache.camel.CamelContext camelContext) |
void |
setFrom(String from) |
void |
setIgnoreNodeTypes(Set<String> ignoreNodeTypes) |
void |
setIgnoreProperties(Set<String> ignoreProperties) |
void |
setSessionFactoryBean(org.hibernate.SessionFactory sessionFactoryBean) |
public static final String WITH_COMMENTS_MESSAGE_PART
public static final String VIEWED_ACTION_NAME
public static final String PUBLISHED_ACTION_NAME
public void setSessionFactoryBean(org.hibernate.SessionFactory sessionFactoryBean)
public static ContentHistoryService getInstance()
public void process(org.apache.camel.Exchange exchange)
throws Exception
process in interface org.apache.camel.ProcessorExceptionpublic List<HistoryEntry> getNodeHistory(JCRNodeWrapper node, boolean withLanguageNodes)
public long deleteHistoryBeforeDate(Date date)
public long getMostRecentTimeInHistory(org.hibernate.Session session)
public void setCamelContext(org.apache.camel.CamelContext camelContext)
setCamelContext in interface org.apache.camel.CamelContextAwarepublic org.apache.camel.CamelContext getCamelContext()
getCamelContext in interface org.apache.camel.CamelContextAwarepublic void setFrom(String from)
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.