Documentation

CronRequestRepository extends AbstractRepository
in package
implements ICronRequestRepository

FinalYes

Table of Contents

Interfaces

ICronRequestRepository

Methods

__construct()  : mixed
delete()  : void
deleteList()  : void
fetchAllAsAssocArray()  : mixed
findAll()  : array<string|int, CronRequest>|null
findAllByClientId()  : array<string|int, CronRequest>|null
findAllByClientIdAndUserModuleId()  : array<string|int, CronRequest>|null
findAllUsersByCronpullTypeIdAndProgressStatusId()  : array<string|int, mixed>
findByClientIdAndDateInterval()  : array<string|int, mixed>|null
findById()  : CronRequest|null
findByStatusesAndUpdatedAfterLastDayOfPreviousMonth()  : array<string|int, CronRequest>|null
findByUserAndDateInterval()  : array<string|int, CronRequest>|null
findByUserIdWithCredentialProblem()  : array<string|int, CronRequest>|null
findByUserModuleIdAndStartDate()  : array<string|int, mixed>|null
findCronRequestsByStatusInLastPull()  : array<string|int, CronRequest>|null
findPendingByUserBeforeDate()  : array<string|int, CronRequest>|null
findUsersIdWithCredentialProblem()  : mixed
flush()  : void
getOrThrow()  : mixed
insert()  : void
insertList()  : void
merge()  : object
persist()  : void
remove()  : void
update()  : void
updateList()  : void
getNativeSqlWithParameters()  : mixed
code mostly copied from doctrine private methods

Methods

__construct()

public __construct(EntityManager $entityManager) : mixed
Parameters
$entityManager : EntityManager

delete()

public delete(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

deleteList()

public deleteList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

fetchAllAsAssocArray()

public fetchAllAsAssocArray(mixed $key) : mixed
Parameters
$key : mixed

findAllByClientIdAndUserModuleId()

public findAllByClientIdAndUserModuleId(mixed $clientId, mixed $userModuleId) : array<string|int, CronRequest>|null
Parameters
$clientId : mixed
$userModuleId : mixed
Return values
array<string|int, CronRequest>|null

findAllUsersByCronpullTypeIdAndProgressStatusId()

public findAllUsersByCronpullTypeIdAndProgressStatusId(int $pullType, int $progressStatusId) : array<string|int, mixed>
Parameters
$pullType : int
$progressStatusId : int
Return values
array<string|int, mixed>

findByClientIdAndDateInterval()

public findByClientIdAndDateInterval(int $clientId, DateTime $firstDate, DateTime $lastDate) : array<string|int, mixed>|null
Parameters
$clientId : int
$firstDate : DateTime
$lastDate : DateTime
Return values
array<string|int, mixed>|null

findByStatusesAndUpdatedAfterLastDayOfPreviousMonth()

public findByStatusesAndUpdatedAfterLastDayOfPreviousMonth(array<string|int, mixed> $statuses) : array<string|int, CronRequest>|null
Parameters
$statuses : array<string|int, mixed>
Tags
throws
DateMalformedStringException
Return values
array<string|int, CronRequest>|null

findByUserAndDateInterval()

public findByUserAndDateInterval(Client $client, DateTime $firstDate, DateTime $lastDate) : array<string|int, CronRequest>|null
Parameters
$client : Client
$firstDate : DateTime
$lastDate : DateTime
Return values
array<string|int, CronRequest>|null

findByUserIdWithCredentialProblem()

public findByUserIdWithCredentialProblem(mixed $clientId) : array<string|int, CronRequest>|null
Parameters
$clientId : mixed
Return values
array<string|int, CronRequest>|null

findByUserModuleIdAndStartDate()

public findByUserModuleIdAndStartDate(mixed $userModuleId, DateTime $startDate) : array<string|int, mixed>|null
Parameters
$userModuleId : mixed
$startDate : DateTime
Return values
array<string|int, mixed>|null

findCronRequestsByStatusInLastPull()

public findCronRequestsByStatusInLastPull(string $cronRequestStatus) : array<string|int, CronRequest>|null
Parameters
$cronRequestStatus : string
Tags
throws
DateMalformedStringException
Return values
array<string|int, CronRequest>|null

findPendingByUserBeforeDate()

public findPendingByUserBeforeDate(int $clientId, DateTime $deactivationRequestDate) : array<string|int, CronRequest>|null
Parameters
$clientId : int
$deactivationRequestDate : DateTime
Return values
array<string|int, CronRequest>|null

flush()

public flush() : void
Tags
throws
ORMException
throws
OptimisticLockException

getOrThrow()

public getOrThrow(mixed $id[, mixed $lockMode = null ][, mixed $lockVersion = null ][, Exception $exception = null ]) : mixed
Parameters
$id : mixed
$lockMode : mixed = null
$lockVersion : mixed = null
$exception : Exception = null

insert()

public insert(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

insertList()

public insertList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

update()

public update(object $entity) : void
Parameters
$entity : object
Tags
throws
OptimisticLockException
throws
DataException
throws
ORMException

updateList()

public updateList(array<string|int, object> $entities) : void
Parameters
$entities : array<string|int, object>
Tags
throws
DataException
throws
ORMException
throws
OptimisticLockException

getNativeSqlWithParameters()

code mostly copied from doctrine private methods

protected getNativeSqlWithParameters(Query $query) : mixed
Parameters
$query : Query

        
On this page

Search results