Interface ItemModelPrepareInterceptorService

All Known Implementing Classes:
DefaultItemModelPrepareInterceptorService

public interface ItemModelPrepareInterceptorService
an interface for itemModel prepare interceptor
  • Method Details

    • isOnlyChangeSynchronizationBlocked

      boolean isOnlyChangeSynchronizationBlocked(ItemModel itemModel, InterceptorContext interceptorContext)
      Determines whether the given itemModel only changed the attribute synchronizationBlocked of CMSItemModel.
      Parameters:
      itemModel - ItemModel the itemModel which will be prepare interceptor
      interceptorContext - InterceptorContext the interceptor context
      Returns:
      TRUE if the itemModel only changed synchronizationBlocked, FALSE otherwise
    • isFromActiveCatalogVersion

      boolean isFromActiveCatalogVersion(ItemModel item)
      Determines whether the given item resides in the active catalog version or not.
      Note: the active catalog is also known as the Online catalog.
      Parameters:
      item - ItemModel will be judged whether it is from the active version
      Returns:
      TRUE if the item is in the active catalog version, FALSE otherwise
    • isEnabled

      boolean isEnabled()
    • setEnabled

      void setEnabled(boolean isEnabled)