com.ibm.commerce.infrastructure.changehistory

Class OnlineStoreChangeHistoryServiceImpl

  • 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 OnlineStoreChangeHistoryServiceImpl
    extends ExtendAbstractChangeHistoryServiceImpl
    This class implements the change history service to get change history data for the online store noun. Currently, only the changes to the default catalog is recorded in change history
    • Constructor Detail

      • OnlineStoreChangeHistoryServiceImpl

        public OnlineStoreChangeHistoryServiceImpl()
    • Method Detail

      • getUniqueID

        public java.lang.Long getUniqueID()
        Return the unique id the store whose default catalog is changed.
        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 the store.
      • 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. For default catalog, ui-object-name is always "Default Catalog".
        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
      • getExtendedDataList

        public java.util.List<com.ibm.commerce.foundation.internal.server.services.changehistory.beans.ChangeHistoryExtendedData> getExtendedDataList()
        This method will retrieve extended data list for this change history record. The catalog id of the default catalog is added to the extended data.
        Specified by:
        getExtendedDataList in interface com.ibm.commerce.foundation.internal.server.services.changehistory.utility.ChangeHistoryService
        Overrides:
        getExtendedDataList in class ExtendAbstractChangeHistoryServiceImpl
        Returns:
        List A list conttians the extended data.
      • 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
        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