ShippingRepository
class ShippingRepository extends EntityRepository
Class ShippingRepository is injected as alligator.shipping_repository service. ShippingRepository is used for crud operation for managed entity.
Use this class to work with database.
Traits
Constants
| ALIAS |
Alias for shipping provider |
Methods
Should contain group by which jqgrid uses.
JQGrid function
JQGrid function
Find all shipping providers
Find all shipping providers
Remove shipping provireds provided by array
Find shipping provider reference by id
Find all shipping provider ids and codes
Persist collection of shipping providers
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 38
array
getAllShippings()
Find all shipping providers
at line 49
ShippingProvider
getDBShipping(ShippingProvider $shipping)
Find shipping provider by id
at line 58
array
getAllShippingWithSelect()
Find all shipping providers
at line 83
ShippingProvider
saveShippingRepository(ShippingProvider $entity)
Persist new shipping provider
at line 104
ShippingProvider
editShippingRepository(ShippingProvider $entity)
Merge sipping provider
at line 126
ShippingProvider
deleteFromShippingRepository(array $shippings)
Remove shipping provireds provided by array
at line 148
ShippingProvider|bool|Proxy|null|object
getReference(int $id)
Find shipping provider reference by id
at line 157
array
getAllShippingErpCodes()
Find all shipping provider ids and codes
at line 171
bool|string
saveCollection(array $collection)
Persist collection of shipping providers