com.ibm.commerce.content.dynacache

Class EContentSpotCacheInvalidator

  • java.lang.Object
    • com.ibm.commerce.content.dynacache.EContentSpotCacheInvalidator

  • Deprecated. 
    Content Spots have been deprecated. For more information, see Content Spots.

    public class EContentSpotCacheInvalidator
    extends java.lang.Object
    This is a helper class contains ESpot cache invalidation algorithm when a Content-ESpot schedule is created/updated/deleted/expire
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      Deprecated. 
      IBM copyright notice field.
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method and Description
      void invalidateOnCreate(java.sql.Timestamp startDate, java.sql.Timestamp endDate, java.lang.Integer eSpotId)
      Deprecated. 
      This method invalidates the content spot cache if new contents are scheduled to an existing spot.
      void invalidateOnDelete(java.sql.Timestamp startDate, java.sql.Timestamp endDate, java.lang.Integer eSpotId, java.lang.Integer iniSchdId)
      Deprecated. 
      This method invalidates Content Spot dyna-cache and sets the next invalidation date.
      void invalidateOnUpdate(java.sql.Timestamp newStartDate, java.sql.Timestamp newEndDate, java.sql.Timestamp oldStartDate, java.sql.Timestamp oldEndDate, java.lang.Integer eSpotId, java.lang.Integer iniSchdId)
      Deprecated. 
      This method invalidates Content Spot dyna-cache and sets the next invalidation date.
      void resetExpiryDataOnSchdChange(long currentDate)
      Deprecated. 
      This method will reset content expiry date when ever schedule is changed (Created/Updated/Deleted/Expire).
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • COPYRIGHT

        public static final java.lang.String COPYRIGHT
        Deprecated. 
        IBM copyright notice field.
        See Also:
        Constant Field Values
    • Constructor Detail

      • EContentSpotCacheInvalidator

        public EContentSpotCacheInvalidator(CommandContext cmdCtxt)
        Deprecated. 
        Constructor
        Parameters:
        cmdCtxt - - Command context
    • Method Detail

      • invalidateOnCreate

        public void invalidateOnCreate(java.sql.Timestamp startDate,
                                       java.sql.Timestamp endDate,
                                       java.lang.Integer eSpotId)
                                throws ECSystemException
        Deprecated. 
        This method invalidates the content spot cache if new contents are scheduled to an existing spot. This method must be called after creation of new schedule.
        Parameters:
        startDate - - Start date for content schedule
        endDate - - End date for content schedule
        eSpotId - - E-Content Spot Identifier
        iniSchdId - - Schedule Identifier
        Throws:
        ECSystemException
      • invalidateOnDelete

        public void invalidateOnDelete(java.sql.Timestamp startDate,
                                       java.sql.Timestamp endDate,
                                       java.lang.Integer eSpotId,
                                       java.lang.Integer iniSchdId)
                                throws ECSystemException
        Deprecated. 
        This method invalidates Content Spot dyna-cache and sets the next invalidation date. This method must be called after the schedule is deleted.
        Parameters:
        startDate -
        endDate -
        eSpotId -
        iniSchdId -
        Throws:
        ECSystemException
      • invalidateOnUpdate

        public void invalidateOnUpdate(java.sql.Timestamp newStartDate,
                                       java.sql.Timestamp newEndDate,
                                       java.sql.Timestamp oldStartDate,
                                       java.sql.Timestamp oldEndDate,
                                       java.lang.Integer eSpotId,
                                       java.lang.Integer iniSchdId)
                                throws ECSystemException
        Deprecated. 
        This method invalidates Content Spot dyna-cache and sets the next invalidation date. This method must be called after the schedule is updated.
        Parameters:
        newStartDate - - New start date
        newEndDate - - New end date
        oldStartDate - - Old start date
        oldEndDate - - Old end date
        eSpotId - - EContent Spot Identifier
        iniSchdId - - SChedule Identifier
        Throws:
        ECSystemException
      • resetExpiryDataOnSchdChange

        public void resetExpiryDataOnSchdChange(long currentDate)
                                         throws ECSystemException
        Deprecated. 
        This method will reset content expiry date when ever schedule is changed (Created/Updated/Deleted/Expire).
        Parameters:
        currentDate - - Current date
        Throws:
        ECSystemException