Class ProductCloneStrategy

java.lang.Object
com.hybris.backoffice.cockpitng.dataaccess.facades.clone.ProductCloneStrategy
All Implemented Interfaces:
com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy, org.springframework.core.Ordered

public class ProductCloneStrategy extends Object implements com.hybris.cockpitng.dataaccess.facades.clone.CloneStrategy
Implementation CloneStrategy for ProductModel
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    protected static class 
     
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    <T> boolean
    canHandle(T objectToClone)
     
    <T> T
    clone(T objectToClone)
     
     
     
    com.hybris.cockpitng.dataaccess.facades.object.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
    int
     
    com.hybris.cockpitng.dataaccess.facades.type.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
     
    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
     

    Methods inherited from class java.lang.Object

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

    • ProductCloneStrategy

      public ProductCloneStrategy()
  • Method Details

    • 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
    • createCloningContext

      protected ModelCloningContext createCloningContext()
    • getOrder

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

      public ModelService getModelService()
    • 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
    • getTypeService

      public TypeService getTypeService()
    • setTypeService

      public void setTypeService(TypeService typeService)