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 Summary
ConstructorsConstructorDescriptionDefaultAgrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, AgrGenericDao agrGenericDao) 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 AgrGenericDaoDeprecated.voidDeprecated.Saves the given item model to the database.
-
Constructor Details
-
DefaultAgrGenericService
public DefaultAgrGenericService(de.hybris.platform.servicelayer.model.ModelService modelService, AgrGenericDao agrGenericDao) Deprecated.
-
-
Method Details
-
getItem
Deprecated.Description copied from interface:AgrGenericServiceRetrieves an item model of a specific typeCode with the given id- Specified by:
getItemin interfaceAgrGenericService- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
getItem
Deprecated.Description copied from interface:AgrGenericServiceRetrieves an item model of a specific typeCode with the given parameters- Specified by:
getItemin interfaceAgrGenericService- 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:AgrGenericServiceCreates a new item model of the given class.- Specified by:
createItemin interfaceAgrGenericService- Parameters:
itemClass- the class of the item to be created.- Returns:
- the created item.
-
saveItem
Deprecated.Description copied from interface:AgrGenericServiceSaves the given item model to the database.- Specified by:
saveItemin interfaceAgrGenericService- Parameters:
item- the item model
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated. -
getSpiGenericDao
Deprecated.
-