Class DefaultPrGenericService

java.lang.Object
de.hybris.platform.partyroleservices.service.impl.DefaultPrGenericService
All Implemented Interfaces:
PrGenericService

@Deprecated(since="2208") public class DefaultPrGenericService extends Object implements PrGenericService
Deprecated.
2208
Default implementation for PrGenericService
Since:
2205
  • Constructor Details

    • DefaultPrGenericService

      public DefaultPrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, PrGenericDao prGenericDao)
      Deprecated.
  • Method Details

    • getItem

      public ItemModel getItem(String typeCode, String id)
      Deprecated.
      Description copied from interface: PrGenericService
      Retrieves an item model of a specific typeCode with the given id
      Specified by:
      getItem in interface PrGenericService
      Parameters:
      typeCode - the typeCode of the model
      id - the id
      Returns:
      the model found, null otherwise
    • getItem

      public ItemModel getItem(String typeCode, Map<String,String> params)
      Deprecated.
      Description copied from interface: PrGenericService
      Retrieves an item model of a specific typeCode with the given parameters
      Specified by:
      getItem in interface PrGenericService
      Parameters:
      typeCode - the typeCode of the model
      params - the key-value pairs to filter the response
      Returns:
      the item found
    • createItem

      public ItemModel createItem(Class itemClass)
      Deprecated.
      Description copied from interface: PrGenericService
      Creates a new item model of the given class.
      Specified by:
      createItem in interface PrGenericService
      Parameters:
      itemClass - the class of the item to be created.
      Returns:
      the created item.
    • saveItem

      public void saveItem(ItemModel item)
      Deprecated.
      Description copied from interface: PrGenericService
      Saves the given item model to the database.
      Specified by:
      saveItem in interface PrGenericService
      Parameters:
      item - the item model
    • getModelService

      protected de.hybris.platform.servicelayer.model.ModelService getModelService()
      Deprecated.
    • getPrGenericDao

      protected PrGenericDao getPrGenericDao()
      Deprecated.