ReclamationManager
class ReclamationManager implements BasicEntityManagerInterface
Class ReclamationManager is injected as alligator.reclamation_manager service. ReclamationManager handles the logic for managed entity.
Traits
Methods
No description
No description
No description
ReclamationManager constructor.
Find reclamation by id
Find reclamation by id
Count reclamations for specific user
Find user reclamations with pagination
Remove reclamations by provided array of ids
Change reclamation status
Check for all preconditions, create references to all foreign entities and persist new reclamation
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 43
__construct(ReclamationRepository $repository, ReclamationEventContainer $eventContainer)
ReclamationManager constructor.
at line 57
Reclamation|null
getReclamationForBackendEdit(int $id)
Find reclamation by id
at line 68
null|object
getReclamationById(int $id)
Find reclamation by id
at line 79
array
countReclamationsForPagination()
Count reclamations for specific user
at line 97
array
getReclamationsForPagination(int $page = 1, int $offset = 5)
Find user reclamations with pagination
at line 114
bool
deleteReclamations(array $ids)
Remove reclamations by provided array of ids
at line 129
Reclamation
changeReclamationStatus(int $id, string $status)
Change reclamation status
at line 147
Reclamation|int
saveReclamation(Reclamation $reclamation)
Check for all preconditions, create references to all foreign entities and persist new reclamation