Interface SpiGenericService
- All Known Implementing Classes:
DefaultSpiGenericService
Deprecated.
2208
Service responsible for handling
ItemModel related operations.- Since:
- 2111
-
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 parametersvoidDeprecated.Saves the given item model to the database.
-
Method Details
-
getItem
Deprecated.Retrieves an item model of a specific typeCode with the given id- Parameters:
typeCode- the typeCode of the modelid- the id- Returns:
- the model found, null otherwise
-
getItem
Deprecated.Retrieves an item model of a specific typeCode with the given parameters- Parameters:
typeCode- the typeCode of the modelparams- the key-value pairs to filter the response- Returns:
- the item found
-
createItem
Deprecated.Creates a new item model of the given class.- Parameters:
itemClass- the class of the item to be created.- Returns:
- the created item.
-
saveItem
Deprecated.Saves the given item model to the database.- Parameters:
item- the item model
-