ProductGroupDiscountUserManager
class ProductGroupDiscountUserManager implements BasicEntityManagerInterface, JQGridInterface
Class ProductGroupDiscountUserManager is injected as alligator.product.group.discount.user.manager service. ProductGroupDiscountUserManager handles the logic for entity.
Traits
Properties
| protected ProductGroupDiscountUserRepository | $repository |
Methods
No description
No description
No description
No description
Delete multiple ProductGroupDiscountUser's
Get ProductGroupDiscountUser by id
Get username of logged in user
Get logged in user
Checks if current user has ADMIN role
Get current locale string
No description
Dispatches re cache event
Save multiple discounts
Get ProductGroupDiscountUser based on discounts array
Details
in JQGridManagerTrait at line 26
mixed
searchForJQGRID(array $searchParams, array $sortParams = array(), array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 40
mixed
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
in JQGridManagerTrait at line 53
mixed
getCountForJQGRID(array|null $searchParams = null, array|null $sortParams = null, array|null $additionalParams = array(), JQGridWrapper|null $jqGridWrapper = null)
at line 48
__construct(ProductGroupDiscountUserRepository $repository, ContainerInterface $container)
at line 65
ProductGroupDiscountUser|int
handlePersist(ProductGroupDiscountUser $pgdu)
Save ProductGroupDiscountUser entity
at line 104
ProductGroupDiscountUser|int
handleMerge(ProductGroupDiscountUser $pgdu)
Edit ProductGroupDiscountUser entity
at line 147
bool
deleteProductGroupDiscountsUser(array $ids)
Delete multiple ProductGroupDiscountUser's
at line 163
ProductGroupDiscountUser
findByPk(mixed $id)
Get ProductGroupDiscountUser by id
at line 173
mixed
getLoggedUsername()
Get username of logged in user
at line 183
mixed
getLoggedUser()
Get logged in user
at line 193
mixed
hasRoleAdmin()
Checks if current user has ADMIN role
at line 203
string
getCurrentLocale()
Get current locale string
at line 212
array
getAllPriceLists()
at line 220
dispatchProductGroupUserReCacheEvent()
Dispatches re cache event
at line 233
bool|string
saveMultiple(array $newGroupDiscounts, array $updatedGroupDiscounts)
Save multiple discounts
at line 245
array
getDiscountsByValues(array $discountArray)
Get ProductGroupDiscountUser based on discounts array