com.ibm.commerce.catalog.changehistory

Class AttributeDictionaryAttributeChangeHistoryServiceImpl

  • All Implemented Interfaces:
    com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService, com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ExtendChangeHistoryService


    public class AttributeDictionaryAttributeChangeHistoryServiceImpl
    extends ExtendAbstractChangeHistoryServiceImpl
    This class implements the change history service to get change history data for the attribute dictionary attribute noun. This class will determine all the necessary fields including UI object name and owning store for recording into the change history table.
    • Constructor Detail

      • AttributeDictionaryAttributeChangeHistoryServiceImpl

        public AttributeDictionaryAttributeChangeHistoryServiceImpl()
    • Method Detail

      • getUniqueID

        public java.lang.Long getUniqueID()
        Retrieve uniqueID from the noun by using the specified uniqueIDXpath
        Specified by:
        getUniqueID in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
        Specified by:
        getUniqueID in class ExtendAbstractChangeHistoryServiceImpl
        Returns:
        Long The unique ID of this noun.
      • getResolvedCMCObject

        public java.lang.String getResolvedCMCObject()
                                              throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
        This method will return the ui-object-name for a changed noun
        Specified by:
        getResolvedCMCObject in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
        Overrides:
        getResolvedCMCObject in class ExtendAbstractChangeHistoryServiceImpl
        Returns:
        String Which will be displayed in the change history UI
        Throws:
        com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException - If there is some error when retrieve ui object name
      • getObjectStoreID

        public java.lang.Long getObjectStoreID()
                                        throws com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException
        This method will return the store ID of current object to use in change history given the context of the current noun request.
        Returns:
        storeId which will be displayed in the change history UI
        Throws:
        com.ibm.commerce.foundation.internal.server.services.changehistory.exception.ChangeHistoryApplicationException - If there is some error when retrieve store id