Class PageRenderDataChangedEvent

    • Constructor Detail

    • Method Detail

      • getPagesChanged

        public java.util.Collection<PageConfig> getPagesChanged()
                                                         throws PortalException
        Returns the pages whose render data may have changed.
        Returns:
        the pages whose render data may have changed.
        Throws:
        PortalException
        Since:
        4.1.0
      • getParameters

        public java.util.Map<java.lang.String,​java.lang.String[]> getParameters()
        Returns the parameters where the change applies.
        Returns:
        the parameters or null if it applies independently to parameters.
        Since:
        4.2.0
      • setParameters

        public void setParameters​(java.util.Map<java.lang.String,​java.lang.String[]> parameters)
        Sets the parameters where the change applies.
        Parameters:
        parameters - the parameters value to set.
        Since:
        4.2.0
      • getLocale

        public java.util.Locale getLocale()
        Returns the locale where the change applies.
        Returns:
        the locale or null if it applies to all locales.
        Since:
        4.1.0
      • setLocale

        public void setLocale​(java.util.Locale locale)
        Sets the locale where the change applies.
        Parameters:
        locale - the locale value to set.
        Since:
        4.1.0
      • getExpirationLimit

        public int getExpirationLimit()
        Returns the maximum number of web resource caches that can be expired in a single render data changed event.

        The default value is the value defined on global configuration PortalContext.getHtmlGenerationConfig().

        Returns:
        the maximum number of web resource cache that can be expired in a single render data changed event.
        Since:
        6.2.0
      • setExpirationLimit

        public void setExpirationLimit​(int limit)
        Sets the maximum number of web resource cache that can be expired in the render data event changes.
        Parameters:
        limit - the limit to be set.
        Since:
        6.2.0
      • isAutomaticBulkExpiration

        public boolean isAutomaticBulkExpiration()
        Returns whether this event is an automatic bulk expiration.

        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.

        Returns:
        true if this event is an automatic bulk expiration, false otherwise.
        Since:
        7.0.0
      • setAutomaticBulkExpiration

        public void setAutomaticBulkExpiration​(boolean automaticBulkExpiration)
        Sets whether this event is an automatic bulk expiration.

        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.

        Parameters:
        automaticBulkExpiration - true to set this event as an automatic bulk expiration, false otherwise.
        Since:
        7.0.0