Class CatalogEntryChangeHistoryServiceImpl

  • All Implemented Interfaces:

    public class CatalogEntryChangeHistoryServiceImpl
    extends ExtendAbstractChangeHistoryServiceImpl
    implements CatalogDataLoadConstants
    This class implements the change history service to get change history data for the catalog entry 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

      • CatalogEntryChangeHistoryServiceImpl

        public CatalogEntryChangeHistoryServiceImpl()
    • Method Detail

      • getResolvedCMCObject

        public java.lang.String getResolvedCMCObject()
        This method will return the ui-object-name for a changed noun, by default it is the noun name
        Specified by:
        getResolvedCMCObject in interface
        getResolvedCMCObject in class ExtendAbstractChangeHistoryServiceImpl
        uiObjectName Which will be displayed in the change history UI
        Throws: - A problem when retrieve the CMC object
      • getUniqueID

        public java.lang.Long getUniqueID()
        Retrieve uniqueID from the noun by using the specified uniqueIDXpath
        Specified by:
        getUniqueID in interface
        Specified by:
        getUniqueID in class ExtendAbstractChangeHistoryServiceImpl
        Long The unique ID of this noun.
      • getExtendedDataList

        public java.util.List<> getExtendedDataList()
        This method will retrieve extended data list for this change history record
        Specified by:
        getExtendedDataList in interface
        getExtendedDataList in class ExtendAbstractChangeHistoryServiceImpl
      • getObjectStoreID

        public java.lang.Long getObjectStoreID()
        This method will return the store ID of current object to use in change history given the context of the current noun request.
        Specified by:
        getObjectStoreID in interface
        storeId which will be displayed in the change history UI
        Throws: - If there is some error when retrieve store id