com.ibm.commerce.contract.content.resources

Class TermConditionResourceManager

  • java.lang.Object
    • com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl
      • com.ibm.commerce.context.content.resources.AbstractEntityBeanResourceManagerImpl
        • com.ibm.commerce.contract.content.resources.TermConditionResourceManager
  • All Implemented Interfaces:
    com.ibm.commerce.context.content.resources.postpublish.PostPublishDataProcessor, com.ibm.commerce.context.content.resources.ResourceManager


    public class TermConditionResourceManager
    extends com.ibm.commerce.context.content.resources.AbstractEntityBeanResourceManagerImpl
    Resource manager to manage Terms and Conditions.
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static java.lang.String COPYRIGHT
      IBM copyright notice field.
      • Fields inherited from class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl

        CONTENT_CANCEL, CONTENT_DELETE, CONTENT_NEW, CONTENT_PROMOTE, CONTENT_UPDATE, RESOURCE_COMMIT, RESOURCE_DELETE, RESOURCE_NEW, RESOURCE_ROLLBACK, RESOURCE_UPDATE, STRING_CONTENT_DELETE, STRING_CONTENT_NEW, STRING_CONTENT_UPDATE
    • Constructor Summary

      Constructors 
      Constructor and Description
      TermConditionResourceManager()
      Creates the terms and conditions resource manager.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.util.Map record)
      Returns the managed resource key for the resource.
      com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.lang.Object resource)
      Returns the managed resource key for the specified resource which will of the object TermConditionAccessBean.
      static com.ibm.commerce.context.content.resources.ResourceManager singleton()
      Returns the singleton of the resource manager.
      • Methods inherited from class com.ibm.commerce.context.content.resources.AbstractResourceManagerImpl

        commit, createManagedResource, deleteManagedResource, deleteRelatedManagedResources, fetchUniqueIndexViolations, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, handleForeignKeyViolations, handleUniqueIndexViolations, handleUniqueIndexViolations, isLocked, isLocked, lockManagedResource, postPublish, processPostPublishData, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
      • Methods inherited from class java.lang.Object

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

        commit, createManagedResource, deleteManagedResource, getLockData, getLockData, getManagedResourceData, getManagedResourceDataCount, getMetaData, getResourceContainer, isLocked, isLocked, lockManagedResource, postPublish, publish, relockManagedResource, rollback, setMetaData, setResourceContainer, synchronize, unlockManagedResource, updateManagedResource
    • Field Detail

      • COPYRIGHT

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

      • TermConditionResourceManager

        public TermConditionResourceManager()
        Creates the terms and conditions resource manager.
    • Method Detail

      • getManagedResourceKey

        public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.util.Map record)
                                                                                            throws java.lang.Exception
        Returns the managed resource key for the resource.
        Parameters:
        record - A map that represents the business object.
        Returns:
        Returns a business object key
        Throws:
        java.lang.Exception - Should never happen.
      • getManagedResourceKey

        public com.ibm.commerce.context.content.resources.ManagedResourceKey getManagedResourceKey(java.lang.Object resource)
                                                                                            throws java.lang.Exception
        Returns the managed resource key for the specified resource which will of the object TermConditionAccessBean.
        Parameters:
        resource - The resource.
        Returns:
        The managed resource key of the resource.
        Throws:
        java.lang.Exception
        See Also:
        ResourceManager.getManagedResourceKey(java.lang.Object)
      • singleton

        public static com.ibm.commerce.context.content.resources.ResourceManager singleton()
        Returns the singleton of the resource manager.
        Returns:
        A singleton of the resource manager.