@StableMinor(version="12.4", sinceVersion="4.2") public class PageRenderDataChangedEvent extends AbstractTransactionalPortalEvent
Constructor and Description |
---|
PageRenderDataChangedEvent(SessionConfig sessionConfig,
Collection<PageConfig> pagesChanged,
ITransaction transaction) |
Modifier and Type | Method and Description |
---|---|
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.
|
getSessionConfig, getTransaction
getEventGroups, getOperationType, setEventGroups
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toString
public PageRenderDataChangedEvent(SessionConfig sessionConfig, Collection<PageConfig> pagesChanged, ITransaction transaction)
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.LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.