lumis.content.core
Class ContentRenderDataChangedEvent
java.lang.Object
lumis.portal.event.AbstractPortalEvent
lumis.portal.event.AbstractTransactionalPortalEvent
lumis.portal.page.PageRenderDataChangedEvent
lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceRenderDataChangedEvent
lumis.portal.serviceinstance.ServiceInstanceRenderDataChangedEvent
lumis.content.core.ContentRenderDataChangedEvent
- All Implemented Interfaces:
- IPortalEvent
@StableMinor(version="5.5",
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
getContentVersion
public ContentVersion getContentVersion()
- Returns the content version to which this render data was generated to.
- Returns:
- the content version.
- Since:
- 4.2.0
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.