Class ContentVersionChangeHistoryServiceImpl

  • All Implemented Interfaces:,

    public class ContentVersionChangeHistoryServiceImpl
    extends ExtendAbstractChangeHistoryServiceImpl
    This class implements the change history service and generates the target objects change history for the content version restore operation. This class will determine all the necessary fields of the target restored object including noun noun, UI object name and owning store for recording into the change history table
    • Constructor Detail

      • ContentVersionChangeHistoryServiceImpl

        public ContentVersionChangeHistoryServiceImpl()
    • Method Detail

      • 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
        The unique ID of this noun.
      • getResolvedCMCObject

        public java.lang.String getResolvedCMCObject()
        This method will return the ui-object-name for a changed noun
        Specified by:
        getResolvedCMCObject in interface
        getResolvedCMCObject in class ExtendAbstractChangeHistoryServiceImpl
        uiObjectName Which will be displayed in the change history UI
        Throws: - If there is some error when retrieve ui object name
      • getObjectStoreID

        public java.lang.Long getObjectStoreID()
        This method will return the store ID of current object
        storeId which will be displayed in the change history UI
        Throws: - If there is some error when retrieve store id
      • getNounConfiguration

        public getNounConfiguration()
        Return the nounConfiguration resolved to the noun for the change history.
        Specified by:
        getNounConfiguration in interface
        getNounConfiguration in class ExtendAbstractChangeHistoryServiceImpl