Class PageRenderDataChangedEvent

    • Method Detail

      • getParameters

        public Map<String,​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​(Map<String,​String[]> parameters)
        Sets the parameters where the change applies.
        Parameters:
        parameters - the parameters value to set.
        Since:
        4.2.0
      • getLocale

        public 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​(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