|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.event.AbstractPortalEvent
lumis.portal.event.AbstractTransactionalPortalEvent
lumis.portal.page.PageRenderDataChangedEvent
@StableMinor(version="7.0", sinceVersion="4.2") public class PageRenderDataChangedEvent
Event that indicates that the render data of some pages may have changed.
Constructor Summary | |
---|---|
PageRenderDataChangedEvent(SessionConfig sessionConfig,
Collection<PageConfig> pagesChanged,
ITransaction transaction)
|
Method Summary | |
---|---|
int |
getExpirationLimit()
Returns the maximum number of web resource caches that can be expired in a single render data changed event. |
Locale |
getLocale()
Returns the locale where the change applies. |
Collection<PageConfig> |
getPagesChanged()
Returns the pages whose render data may have changed. |
Map<String,String[]> |
getParameters()
Returns the parameters where the change applies. |
boolean |
isAutomaticBulkExpiration()
Returns whether this event is an automatic bulk expiration. |
void |
setAutomaticBulkExpiration(boolean automaticBulkExpiration)
Sets whether this event is an automatic bulk expiration. |
void |
setExpirationLimit(int limit)
Sets the maximum number of web resource cache that can be expired in the render data event changes. |
void |
setLocale(Locale locale)
Sets the locale where the change applies. |
void |
setOperationType(PortalEventOperationType operationType)
Sets the type of operation that generated this event. |
void |
setParameters(Map<String,String[]> parameters)
Sets the parameters where the change applies. |
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 |
---|
public PageRenderDataChangedEvent(SessionConfig sessionConfig, Collection<PageConfig> pagesChanged, ITransaction transaction)
Method Detail |
---|
public Collection<PageConfig> getPagesChanged() throws PortalException
PortalException
public Map<String,String[]> getParameters()
public void setParameters(Map<String,String[]> parameters)
parameters
- the parameters value to set.public Locale getLocale()
public void setLocale(Locale locale)
locale
- the locale value to set.public void setOperationType(PortalEventOperationType operationType)
AbstractPortalEvent
setOperationType
in class AbstractPortalEvent
operationType
- the operation type value to set.public int getExpirationLimit()
The default value is the value defined on global configuration PortalContext.getHtmlGenerationConfig()
.
PortalContext}
,
HtmlGenerationConfig}
public void setExpirationLimit(int limit)
limit
- the limit to be set.public boolean isAutomaticBulkExpiration()
Some expiration events may be classified as automatic bulk expirations.
Such events will not expire caches in queues with the
included in automatic bulk expiration
property disabled.
By default an event is not classified as an automatic bulk expiration.
true
if this event is an automatic bulk expiration,
false
otherwise.public void setAutomaticBulkExpiration(boolean automaticBulkExpiration)
Some expiration events may be classified as automatic bulk expirations.
Such events will not expire caches in queues with the
included in automatic bulk expiration
property disabled.
By default an event is not classified as an automatic bulk expiration.
automaticBulkExpiration
- true
to set this event as an
automatic bulk expiration, false
otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |