public class DefaultItemModificationHistoryService extends java.lang.Object implements ItemModificationHistoryService
SavedValuesModel). It covers both standard and localized
attributes.| Constructor and Description |
|---|
DefaultItemModificationHistoryService() |
public DefaultItemModificationHistoryService()
public java.util.List<SavedValuesModel> getSavedValues(ItemModel item)
getSavedValues in interface ItemModificationHistoryServiceitempublic void setFlexibleSearchService(FlexibleSearchService flexibleSearchService)
public ModelService getModelService()
public void setModelService(ModelService modelService)
public I18NService getI18NService()
public void setI18NService(I18NService i18NService)
public CommonI18NService getCommonI18NService()
public void setCommonI18NService(CommonI18NService commonI18NService)
public void setTypeFacade(TypeFacade typeFacade)
public void logItemModification(ItemModificationInfo modificationInfo)
ItemModificationHistoryServicelogItemModification in interface ItemModificationHistoryServiceItemModificationInfopublic ItemModificationInfo createModificationInfo(ItemModel itemModel)
ItemModificationHistoryServiceItemModificationHistoryService.logItemModification(ItemModificationInfo). Should be called after changes made on object, but before
saving it.createModificationInfo in interface ItemModificationHistoryServiceItemModificationInfoprotected java.lang.Object getOriginalValue(ItemModel model, java.lang.String attribute, ModelValueHistory history)
protected java.lang.Object getOriginalValue(ItemModel model, java.lang.String attribute, java.util.Locale locale, ModelValueHistory history)
protected void logModifications(ItemModel model, ItemModificationInfo modificationInfo)
Copyright © 2017 SAP SE. All Rights Reserved.