Class DefaultAgrGenericService

java.lang.Object
de.hybris.platform.agreementservices.services.impl.DefaultAgrGenericService
All Implemented Interfaces:
AgrGenericService

@Deprecated(since="2208") public class DefaultAgrGenericService extends Object implements AgrGenericService
Deprecated.
2208
Default implementation of AgrGenericService.
Since:
2111
  • Constructor Details

    • DefaultAgrGenericService

      public DefaultAgrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, AgrGenericDao agrGenericDao)
      Deprecated.
  • Method Details

    • getItem

      public ItemModel getItem(String typeCode, String id)
      Deprecated.
      Description copied from interface: AgrGenericService
      Retrieves an item model of a specific typeCode with the given id
      Specified by:
      getItem in interface AgrGenericService
      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: AgrGenericService
      Retrieves an item model of a specific typeCode with the given parameters
      Specified by:
      getItem in interface AgrGenericService
      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: AgrGenericService
      Creates a new item model of the given class.
      Specified by:
      createItem in interface AgrGenericService
      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: AgrGenericService
      Saves the given item model to the database.
      Specified by:
      saveItem in interface AgrGenericService
      Parameters:
      item - the item model
    • getModelService

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

      protected AgrGenericDao getSpiGenericDao()
      Deprecated.