com.ibm.commerce.context.content.resources.dynacache

Interface InvalidationIDComponent

  • All Known Implementing Classes:
    InvalidationIDKeyValueComponentImpl, InvalidationIDSQLComponentImpl


    public interface InvalidationIDComponent
    The interface of the WebSphere Dynamic Cache invalidation ID component. Components can be used in InvalidationIDPattern to generate cache invalidation IDs. The values of components are generated based on the resource objects and the action performed on the resources.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      The internal copyright field.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String getValue(java.lang.String resource, java.util.HashMap oneRecord, java.lang.String action, java.sql.Connection connection, java.lang.String schema)
      returns the value of the component.
      void initialize(org.w3c.dom.Node component)
      initializes the component.
    • Field Detail

      • COPYRIGHT

        static final java.lang.String COPYRIGHT
        The internal copyright field.
        See Also:
        Constant Field Values
    • Method Detail

      • getValue

        java.lang.String getValue(java.lang.String resource,
                                  java.util.HashMap oneRecord,
                                  java.lang.String action,
                                  java.sql.Connection connection,
                                  java.lang.String schema)
        returns the value of the component.
        Parameters:
        resource - the resource.
        oneRecord - a HashMap object containing the values in the resource object.
        action - the action performed against the resource object.
        connection - the database connection.
        schema - the database schema name.
        Returns:
        the value of the component.
      • initialize

        void initialize(org.w3c.dom.Node component)
                 throws ECException
        initializes the component.
        Parameters:
        component - the component node defined in the cache invalidation configuration file.
        Throws:
        ECException - a problem occurs when initializing the object.