com.ibm.commerce.contract.content.resources

Class ContractContainer

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.AbstractResourceContainerImpl
      • com.ibm.commerce.contract.content.resources.ContractContainer
  • All Implemented Interfaces:
    com.ibm.commerce.context.content.resources.postpublish.PostPublishDataProcessor, com.ibm.commerce.context.content.resources.ResourceContainer


    public class ContractContainer
    extends com.ibm.commerce.context.content.resources.AbstractResourceContainerImpl
    implements com.ibm.commerce.context.content.resources.ResourceContainer
    The contract managed resource container.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      static java.lang.String RESOURCE_TERMCOND
      The name of the resource manager that represents terms and conditions.
      • Fields inherited from class com.ibm.commerce.context.content.resources.AbstractResourceContainerImpl

        RESOURCE_MANAGER_CONFIG_FILE
    • Constructor Summary

      Constructors 
      Constructor and Description
      ContractContainer()
      Creates the catalog managed resource container.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.context.content.resources.ResourceManager getResourceManager(java.lang.String resourceName)
      Returns the resource manager for the specified name.
      static com.ibm.commerce.context.content.resources.ResourceContainer singleton()
      Returns the configured instance of the catalog container.
      • Methods inherited from class com.ibm.commerce.context.content.resources.AbstractResourceContainerImpl

        commit, getMetaData, getResourceManagers, initialize, postPublish, processPostPublishData, publish, rollback, setMetaData, synchronize, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.ibm.commerce.context.content.resources.ResourceContainer

        commit, getMetaData, getResourceManagers, initialize, postPublish, publish, rollback, setMetaData, synchronize
    • Field Detail

      • COPYRIGHT

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

        public static final java.lang.String RESOURCE_TERMCOND
        The name of the resource manager that represents terms and conditions.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContractContainer

        public ContractContainer()
        Creates the catalog managed resource container.
    • Method Detail

      • getResourceManager

        public com.ibm.commerce.context.content.resources.ResourceManager getResourceManager(java.lang.String resourceName)
        Returns the resource manager for the specified name. If the resource manager is not found, then a default is returned if defined.
        Specified by:
        getResourceManager in interface com.ibm.commerce.context.content.resources.ResourceContainer
        Overrides:
        getResourceManager in class com.ibm.commerce.context.content.resources.AbstractResourceContainerImpl
        Parameters:
        resourceName - The resource name.
        Returns:
        The resource manager for the resource.
        See Also:
        ResourceContainer.getResourceManager(java.lang.String)
      • singleton

        public static com.ibm.commerce.context.content.resources.ResourceContainer singleton()
        Returns the configured instance of the catalog container.
        Returns:
        The configured instance of the catalog container.