Package lumis.content.core
Class ContentRenderDataChangedEvent
- java.lang.Object
-
- All Implemented Interfaces:
IPortalEvent
@StableMinor(version="17.0", sinceVersion="4.2") public class ContentRenderDataChangedEvent extends ServiceInstanceRenderDataChangedEvent
Event that indicates that the render data of a content may have changed.This event is useful, for example, to clear caches that are affected by content changes.
- Since:
- 4.2.0
- Version:
- $Revision$ $Date$
-
-
Constructor Summary
Constructors Constructor Description ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ContentTableSource source, ITransaction transaction)
Creates a new render data changed event for a content.ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ITransaction transaction)
Creates a new render data changed event for a content.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ContentVersion
getContentVersion()
Returns the content version to which this render data was generated to.-
Methods inherited from class lumis.portal.serviceinstance.ServiceInstanceRenderDataChangedEvent
getServiceInstancesChanged
-
Methods inherited from class lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceRenderDataChangedEvent
getServiceInterfaceInstancesChanged
-
Methods inherited from class lumis.portal.page.PageRenderDataChangedEvent
getExpirationLimit, getLocale, getPagesChanged, getParameters, isAutomaticBulkExpiration, setAutomaticBulkExpiration, setExpirationLimit, setLocale, setOperationType, setParameters
-
Methods inherited from class lumis.portal.event.AbstractTransactionalPortalEvent
getSessionConfig, getTransaction
-
Methods inherited from class lumis.portal.event.AbstractPortalEvent
getEventGroups, getOperationType, setEventGroups
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface lumis.portal.event.IPortalEvent
toString
-
-
-
-
Constructor Detail
-
ContentRenderDataChangedEvent
public ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ITransaction transaction) throws PortalException
Creates a new render data changed event for a content.If the content's source is instantiated and available to the caller, consider using
ContentRenderDataChangedEvent(SessionConfig, ContentVersion, ContentTableSource, ITransaction)
instead for better performance.- Parameters:
sessionConfig
- user session information.contentVersion
- the content version whose render data has been changed.transaction
- the transaction for persistence access.- Throws:
PortalException
- Since:
- 4.2.0
-
ContentRenderDataChangedEvent
public ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ContentTableSource source, ITransaction transaction) throws PortalException
Creates a new render data changed event for a content.- Parameters:
sessionConfig
- user session information.contentVersion
- the content version whose render data has been changed.source
- the content's source.transaction
- the transaction for persistence access.- Throws:
PortalException
- Since:
- 4.2.0
- See Also:
ContentRenderDataChangedEvent(SessionConfig, ContentVersion, ITransaction)
-
-
Method Detail
-
getContentVersion
public ContentVersion getContentVersion()
Returns the content version to which this render data was generated to.- Returns:
- the content version.
- Since:
- 4.2.0
-
-