@StableMinor(version="12.4", sinceVersion="4.2") public class ContentRenderDataChangedEvent extends ServiceInstanceRenderDataChangedEvent
This event is useful, for example, to clear caches that are affected by content changes.
Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
ContentVersion |
getContentVersion()
Returns the content version to which this render data was generated to.
|
getServiceInstancesChanged
getServiceInterfaceInstancesChanged
getExpirationLimit, getLocale, getPagesChanged, getParameters, isAutomaticBulkExpiration, setAutomaticBulkExpiration, setExpirationLimit, setLocale, setOperationType, setParameters
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ITransaction transaction) throws PortalException
If the content's source is instantiated and available to the caller,
consider using
ContentRenderDataChangedEvent(SessionConfig, ContentVersion, ContentTableSource, ITransaction)
instead for better performance.
sessionConfig
- user session information.contentVersion
- the content version whose render data has been changed.transaction
- the transaction for persistence access.PortalException
public ContentRenderDataChangedEvent(SessionConfig sessionConfig, ContentVersion contentVersion, ContentTableSource source, ITransaction transaction) throws PortalException
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.PortalException
ContentRenderDataChangedEvent(SessionConfig, ContentVersion, ITransaction)
public ContentVersion getContentVersion()
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.