DataSetLogService
extends AirlayService
in package
Class DataSetLogService
Table of Contents
- $ : AirlayConfig
- $collection : DataSetLogsCollection
- $rabbitmq : AMQPStreamConnection
- $user : UserEntity
- $collection : mixed
- __construct() : mixed
- addLog() : DataSetLogEntity
- create() : DataSetLogEntity
- getCollection() : mixed
Properties
$
public
AirlayConfig
$
config
$collection
public
DataSetLogsCollection
$collection
$rabbitmq
public
AMQPStreamConnection
$rabbitmq
$user
public
UserEntity
$user
$collection
protected
mixed
$collection
Methods
__construct()
public
__construct(mixed $collection) : mixed
Parameters
- $collection : mixed
Return values
mixed —addLog()
public
addLog(ObjectId $customerId, string $customerName, string $tool, ObjectId $dataSetId, ObjectId $organizationId, array<string|int, mixed> $uniqueValues, string $operation) : DataSetLogEntity
Parameters
- $customerId : ObjectId
- $customerName : string
- $tool : string
- $dataSetId : ObjectId
- $organizationId : ObjectId
- $uniqueValues : array<string|int, mixed>
- $operation : string
Return values
DataSetLogEntity —create()
public
create(string $tool, ObjectId $dataSetId, array<string|int, mixed> $customer, ObjectId $organizationId, ObjectId $id) : DataSetLogEntity
Parameters
- $tool : string
- $dataSetId : ObjectId
- $customer : array<string|int, mixed>
- $organizationId : ObjectId
- $id : ObjectId
Return values
DataSetLogEntity —getCollection()
public
getCollection() : mixed