ReclamationRepository
class ReclamationRepository extends EntityRepository
Class ReclamationRepository is injected as alligator.reclamation_repository service. ReclamationRepository is used for crud operation for managed entity.
Use this class to work with database.
Traits
Constants
| ALIAS |
Alias for reclamation |
| RECLAMATION_ITEM_ALIAS |
Alias for reclamation item |
| ORDER_ITEM_ALIAS |
Alias for order item |
| RECLAMATION_PROBLEM_ALIAS |
Alias for reclamation problem |
Methods
Should contain group by which jqgrid uses.
JQGrid function
JQGrid function
Remove reclamations by provided array of ids
Find reclamation reference
Count reclamations for specific user
Find user reclamations with pagination
Find reclamation by id
Details
in JQGridTrait at line 27
jQGridJoinFields(QueryBuilder $qb, JQGridWrapper $jqGridWrapper)
All joins used in select.
Override in the repository class if needed. Should do nothing otherwise
in JQGridTrait at line 42
jQGridGroupByFields(QueryBuilder $qb, JQGridWrapper $jqGridWrapper)
Should contain group by which jqgrid uses.
Override in the repository class if needed. Should do nothing otherwise
in JQGridTrait at line 61
array
findAllForJQGRID(int $page, int $offset, array $sortParams, array $additionalParams, JQGridWrapper $jqGridWrapper)
JQGrid function
in JQGridTrait at line 94
array
searchForJQGRID(array $searchParams, array $sortParams, bool $isCountSearch = false, array $additionalParams = array(), JQGridWrapper $jqGridWrapper = null)
JQGrid function
at line 68
Reclamation
saveReclamation(Reclamation $reclamation)
Perist new reclamation
at line 82
bool
deleteFromReclamationRepository(array $ids)
Remove reclamations by provided array of ids
at line 108
Reclamation|bool|Proxy|null|object
getReference(string $className, int $id)
Find reclamation reference
at line 121
mixed
countReclamationsForPagination(int $userId)
Count reclamations for specific user
at line 137
array
getReclamationsForPagination(int $userId, int $page, int $offset)
Find user reclamations with pagination
at line 158
Reclamation|null
getReclamationForBackendEdit(int $id)
Find reclamation by id