JobService
Table of Contents
Methods
-
completeMapping()
: Result|JobServiceResult
-
getLastUserListJob()
: Job|null
-
requestEmployeeList()
: Result|JobServiceResult
-
requestFieldValue()
: JobServiceResult|Result
-
sendJob()
: Result
-
update()
: Job|null
completeMapping()
public
completeMapping(int $companyId) : Result|JobServiceResult
Parameters
-
$companyId
: int
-
getLastUserListJob()
public
getLastUserListJob(DateTime|null $date, int $companyId, array<string|int, mixed> $statuses) : Job|null
Parameters
-
$date
: DateTime|null
-
-
$companyId
: int
-
-
$statuses
: array<string|int, mixed>
-
requestEmployeeList()
public
requestEmployeeList(int $companyId[, bool $isForced = false ]) : Result|JobServiceResult
Parameters
-
$companyId
: int
-
-
$isForced
: bool
= false
-
- if is true, a new job will be created
requestFieldValue()
public
requestFieldValue(int $companyId, array<string|int, mixed> $employeeUids, array<string|int, mixed> $fieldUids) : JobServiceResult|Result
Parameters
-
$companyId
: int
-
-
$employeeUids
: array<string|int, mixed>
-
-
$fieldUids
: array<string|int, mixed>
-
sendJob()
public
sendJob(Job $job) : Result
Parameters
-
$job
: Job
-
update()
public
update(Job $job) : Job|null
Parameters
-
$job
: Job
-