Class ProductCloneStrategy

  • All Implemented Interfaces:
    com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy, org.springframework.core.Ordered

    public class ProductCloneStrategy
    extends java.lang.Object
    implements com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy
    Implementation CloneStrategy for ProductModel
    • Field Summary

      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      <T> boolean canHandle​(T objectToClone)  
      <T> T clone​(T objectToClone)  
      protected ModelCloningContext createCloningContext()  
      ModelService getModelService()  
      com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905 - code will be removed, implementation was changed for using modelService
      int getOrder()  
      com.hybris.cockpitng.dataaccess.facades.type.TypeFacade getTypeFacade()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905 - code will be removed, implementation was changed for using typeService
      TypeService getTypeService()  
      void setModelService​(ModelService modelService)  
      void setObjectFacade​(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905 - code will be removed, implementation was changed for using modelService
      void setTypeFacade​(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1905 - code will be removed, implementation was changed for using typeService
      void setTypeService​(TypeService typeService)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ProductCloneStrategy

        public ProductCloneStrategy()
    • Method Detail

      • canHandle

        public <T> boolean canHandle​(T objectToClone)
        Specified by:
        canHandle in interface com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy
      • clone

        public <T> T clone​(T objectToClone)
        Specified by:
        clone in interface com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy
      • getOrder

        public int getOrder()
        Specified by:
        getOrder in interface org.springframework.core.Ordered
        Returns:
        Integer.MAX_VALUE / 4
      • setModelService

        public void setModelService​(ModelService modelService)
      • getTypeFacade

        @Deprecated(since="1905",
                    forRemoval=true)
        public com.hybris.cockpitng.dataaccess.facades.type.TypeFacade getTypeFacade()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905 - code will be removed, implementation was changed for using typeService
      • setTypeFacade

        @Deprecated(since="1905",
                    forRemoval=true)
        public void setTypeFacade​(com.hybris.cockpitng.dataaccess.facades.type.TypeFacade typeFacade)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905 - code will be removed, implementation was changed for using typeService
      • getObjectFacade

        @Deprecated(since="1905",
                    forRemoval=true)
        public com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade getObjectFacade()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905 - code will be removed, implementation was changed for using modelService
      • setObjectFacade

        @Deprecated(since="1905",
                    forRemoval=true)
        public void setObjectFacade​(com.hybris.cockpitng.dataaccess.facades.object.ObjectFacade objectFacade)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1905 - code will be removed, implementation was changed for using modelService
      • setTypeService

        public void setTypeService​(TypeService typeService)