lumis.content.core
Class ContentRenderDataChangedEvent

Package class diagram package ContentRenderDataChangedEvent
java.lang.Object
  extended by lumis.portal.event.AbstractPortalEvent
      extended by lumis.portal.event.AbstractTransactionalPortalEvent
          extended by lumis.portal.page.PageRenderDataChangedEvent
              extended by lumis.portal.serviceinterfaceinstance.ServiceInterfaceInstanceRenderDataChangedEvent
                  extended by lumis.portal.serviceinstance.ServiceInstanceRenderDataChangedEvent
                      extended by 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

Constructor Summary
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
 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
getLocale, getPagesChanged, getParameters, 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


Lumisportal  5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.