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 Summary
ConstructorsConstructorDescriptionDefaultPrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, PrGenericDao prGenericDao) 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 PrGenericDaoDeprecated.voidDeprecated.Saves the given item model to the database.
-
Constructor Details
-
DefaultPrGenericService
public DefaultPrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, PrGenericDao prGenericDao) Deprecated.
-
-
Method Details
-
getItem
Deprecated.Description copied from interface:PrGenericServiceRetrieves an item model of a specific typeCode with the given id- Specified by:
getItemin interfacePrGenericService- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
getItem
Deprecated.Description copied from interface:PrGenericServiceRetrieves an item model of a specific typeCode with the given parameters- Specified by:
getItemin interfacePrGenericService- 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:PrGenericServiceCreates a new item model of the given class.- Specified by:
createItemin interfacePrGenericService- Parameters:
itemClass- the class of the item to be created.- Returns:
- the created item.
-
saveItem
Deprecated.Description copied from interface:PrGenericServiceSaves the given item model to the database.- Specified by:
saveItemin interfacePrGenericService- Parameters:
item- the item model
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated. -
getPrGenericDao
Deprecated.
-