ProductPaymentTypeManager
class ProductPaymentTypeManager implements BasicEntityManagerInterface
Class ProductPaymentTypeManager is injected as empire_product_for_payment_type.manager service. ProductPaymentTypeManager handles the logic for managed entity.
Properties
| protected ProductPaymentTypeRepository | $repository | ||
| protected ProductPaymentTypeEventContainer | $eventContainer |
Methods
No description
Create references to all foreign entities and save product payment type
Create references to all foreign entities and merge product payment type
Remove product payment types by provided array of ids
Find product payment type by id
Find product payment types by search term
Find all product payment types with pagination
Count product payment types for search term
Reed values from cache, if there are no values then read from db and set to cache
Read data from db and set to cache
Dispatch Event
Details
at line 40
__construct(ProductPaymentTypeRepository $repository, ProductPaymentTypeEventContainer $container)
at line 52
array
doProductSearch(ProductSearchWrapper $searchWrapper)
Search products
at line 65
ProductPaymentType
save(ProductPaymentType $productsForPayment)
Create references to all foreign entities and save product payment type
at line 93
ProductPaymentType
edit(ProductPaymentType $productsForPayment)
Create references to all foreign entities and merge product payment type
at line 119
bool
delete(array $ids)
Remove product payment types by provided array of ids
at line 133
ProductPaymentType|null
getProductsForPayment(int $id)
Find product payment type by id
at line 146
array
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array())
Find product payment types by search term
at line 160
mixed
findAllForJQGRID(int $page, int $offset, mixed $sortParams, array $additionalParams = array())
Find all product payment types with pagination
at line 173
mixed
getCountForJQGRID(null $searchParams = null, null $sortParams = null, array $additionalParams = array())
Count product payment types for search term
at line 186
array|mixed
getValuesFromCache()
Reed values from cache, if there are no values then read from db and set to cache
at line 200
array
refreshCache()
Read data from db and set to cache
at line 211
dispatchChangeEvent()
Dispatch Event