Class DefaultBaGenericService

java.lang.Object
de.hybris.platform.billingaccountservices.services.impl.DefaultBaGenericService
All Implemented Interfaces:
BaGenericService

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

    • DefaultBaGenericService

      public DefaultBaGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, BaGenericDao baGenericDao)
      Deprecated.
  • Method Details

    • getItem

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

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

      protected BaGenericDao getBaGenericDao()
      Deprecated.