Class DefaultPmGenericService
java.lang.Object
de.hybris.platform.partyservices.services.impl.DefaultPmGenericService
- All Implemented Interfaces:
PmGenericService
@Deprecated(since="2208")
public class DefaultPmGenericService
extends Object
implements PmGenericService
Deprecated.
2208
Default implementation for
PmGenericService- Since:
- 2205
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultPmGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, PmGenericDao pmGenericDao) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreateItem(Class itemClass) Deprecated.Creates a new item model of the given class.Deprecated.Retrieves an item model of a specific typeCode with the given idDeprecated.Retrieves an item model of a specific typeCode with the given parametersprotected de.hybris.platform.servicelayer.model.ModelServiceDeprecated.protected PmGenericDaoDeprecated.voidDeprecated.Saves the given item model to the database.
-
Constructor Details
-
DefaultPmGenericService
public DefaultPmGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, PmGenericDao pmGenericDao) Deprecated.
-
-
Method Details
-
getItem
Deprecated.Description copied from interface:PmGenericServiceRetrieves an item model of a specific typeCode with the given id- Specified by:
getItemin interfacePmGenericService- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
getItem
Deprecated.Description copied from interface:PmGenericServiceRetrieves an item model of a specific typeCode with the given parameters- Specified by:
getItemin interfacePmGenericService- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the item found
-
createItem
Deprecated.Description copied from interface:PmGenericServiceCreates a new item model of the given class.- Specified by:
createItemin interfacePmGenericService- Parameters:
itemClass- the class of the item to be created.- Returns:
- the created item.
-
saveItem
Deprecated.Description copied from interface:PmGenericServiceSaves the given item model to the database.- Specified by:
saveItemin interfacePmGenericService- Parameters:
item- the item model
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated. -
getPmGenericDao
Deprecated.
-