Logidav Docs

ProductStockValueAt20210331Repository extends BaseRepository
in package

ProductStockValueAt20210331Repository

Table of Contents

Constants

PDO_EXCEPTION_INTEGRITY_CONSTRAINT_VIOLATION  = '23000'
PDO Exception Integrity constraint violation
PDO_EXCEPTION_UNIQUE_VIOLATION  = '23505'
PDO Exception Unique violation

Methods

delete()  : mixed
Removes an entity
findAll()  : Collection
Find all
findById()  : Entity
Finds an entity by the identifier(s)
getContainersForProduct()  : array<string|int, mixed>
getSaleProductAsirGroup()  : array<string|int, mixed>|float|int|string
insert()  : mixed
Inserts an entity
queryFindAll()  : QueryBuilder
Find all in query
save()  : void
Save an entity
searchProductStockValue()  : array<string|int, mixed>
Search product stock value
serachForExportProductXls()  : mixed
update()  : mixed
Updates an entity

Constants

PDO_EXCEPTION_INTEGRITY_CONSTRAINT_VIOLATION

PDO Exception Integrity constraint violation

public mixed PDO_EXCEPTION_INTEGRITY_CONSTRAINT_VIOLATION = '23000'

PDO_EXCEPTION_UNIQUE_VIOLATION

PDO Exception Unique violation

public mixed PDO_EXCEPTION_UNIQUE_VIOLATION = '23505'

Methods

delete()

Removes an entity

public delete(Entity $entity) : mixed
Parameters
$entity : Entity

The entity to remove

Tags
throws
NonExistingObjectException

An NonExistingObjectException if the entity does not exist

findAll()

Find all

public findAll([array<string|int, mixed> $parameters = array() ]) : Collection
Parameters
$parameters : array<string|int, mixed> = array()

Parameters

Return values
Collection

findById()

Finds an entity by the identifier(s)

public findById(Entity $entity) : Entity
Parameters
$entity : Entity

The entity to find

Return values
Entity

The entity

getContainersForProduct()

public getContainersForProduct(mixed $productId) : array<string|int, mixed>
Parameters
$productId : mixed
Tags
throws
DBALException
Return values
array<string|int, mixed>

getSaleProductAsirGroup()

public getSaleProductAsirGroup() : array<string|int, mixed>|float|int|string
Return values
array<string|int, mixed>|float|int|string

insert()

Inserts an entity

public insert(Entity $entity) : mixed
Parameters
$entity : Entity

The entity to insert

Tags
throws
ExistingObjectException

An ExistingObjectException if the entity already exists

throws
PDOException

PDO Exception

queryFindAll()

Find all in query

public queryFindAll([array<string|int, mixed> $parameters = array() ]) : QueryBuilder
Parameters
$parameters : array<string|int, mixed> = array()

Parameters

Return values
QueryBuilder

save()

Save an entity

public save(Entity $entity) : void
Parameters
$entity : Entity

An entity that i want saved

searchProductStockValue()

Search product stock value

public searchProductStockValue(mixed $data[, int $page = 0 ][, null $max = NULL ][, bool $getResult = true ]) : array<string|int, mixed>
Parameters
$data : mixed
$page : int = 0
$max : null = NULL
$getResult : bool = true
Tags
throws
NoResultException
throws
NonUniqueResultException
Return values
array<string|int, mixed>

update()

Updates an entity

public update(Entity $entity) : mixed
Parameters
$entity : Entity

The entity to update

Tags
throws
NonExistingObjectException

An NonExistingObjectException if the entity does not exist

throws
ExistingObjectException

An ExistingObjectException if the entity is already exist in database


        
On this page

Search results