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="6.2",
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 6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.