CompanyMerge
extends Merge
Table of Contents
Constants
-
ERR_ALREADY_RUNNING
= 40
-
ERR_INDEX_TYPES
= 10
-
ERR_MERGE_UNHANDLED_EXCEPTION
= 2040
-
ERR_NOT_RUNNING
= 50
-
ERR_NOT_STOPPED
= 60
-
ERR_ON_START_INDEX_AGENT_ACTIVE
= 2010
-
ERR_ON_START_INDEX_AGENT_IS_NOT_FINISHED
= 2020
-
ERR_ON_START_INDEX_AGENT_NOT_FOUND_ITEMS
= 2030
-
ERR_SCOPE
= 20
-
ERR_SUCCESS
= 0
-
ERR_TYPE_INDEX
= 30
-
STATUS_FINISHED
= 70
-
STATUS_INACTIVE
= 10
-
STATUS_PENDING_CONTINUE
= 60
-
STATUS_PENDING_START
= 20
-
STATUS_PENDING_STOP
= 40
-
STATUS_RUNNING
= 30
-
STATUS_STOPPED
= 50
-
STATUS_UNDEFINED
= 0
Methods
-
__construct()
: mixed
-
continue()
: Result
-
delete()
: Result
-
getEntityTypeId()
: int
-
getInstance()
: mixed
-
getStatusCode()
: string
-
isActive()
: bool
-
isReadyToStart()
: bool
-
run()
: string
-
start()
: Result
-
state()
: Result
-
stop()
: Result
ERR_ALREADY_RUNNING
public
mixed
ERR_ALREADY_RUNNING
= 40
ERR_INDEX_TYPES
public
mixed
ERR_INDEX_TYPES
= 10
ERR_MERGE_UNHANDLED_EXCEPTION
public
mixed
ERR_MERGE_UNHANDLED_EXCEPTION
= 2040
ERR_NOT_RUNNING
public
mixed
ERR_NOT_RUNNING
= 50
ERR_NOT_STOPPED
public
mixed
ERR_NOT_STOPPED
= 60
ERR_ON_START_INDEX_AGENT_ACTIVE
public
mixed
ERR_ON_START_INDEX_AGENT_ACTIVE
= 2010
ERR_ON_START_INDEX_AGENT_IS_NOT_FINISHED
public
mixed
ERR_ON_START_INDEX_AGENT_IS_NOT_FINISHED
= 2020
ERR_ON_START_INDEX_AGENT_NOT_FOUND_ITEMS
public
mixed
ERR_ON_START_INDEX_AGENT_NOT_FOUND_ITEMS
= 2030
ERR_SCOPE
public
mixed
ERR_SCOPE
= 20
ERR_SUCCESS
public
mixed
ERR_SUCCESS
= 0
ERR_TYPE_INDEX
public
mixed
ERR_TYPE_INDEX
= 30
STATUS_FINISHED
public
mixed
STATUS_FINISHED
= 70
STATUS_INACTIVE
public
mixed
STATUS_INACTIVE
= 10
STATUS_PENDING_CONTINUE
public
mixed
STATUS_PENDING_CONTINUE
= 60
STATUS_PENDING_START
public
mixed
STATUS_PENDING_START
= 20
STATUS_PENDING_STOP
public
mixed
STATUS_PENDING_STOP
= 40
STATUS_RUNNING
public
mixed
STATUS_RUNNING
= 30
STATUS_STOPPED
public
mixed
STATUS_STOPPED
= 50
STATUS_UNDEFINED
public
mixed
STATUS_UNDEFINED
= 0
__construct()
public
__construct(int $userId) : mixed
Parameters
-
$userId
: int
-
continue()
public
continue() : Result
delete()
public
delete() : Result
getEntityTypeId()
public
getEntityTypeId() : int
getInstance()
public
static getInstance([int $userId = 0 ]) : mixed
Parameters
-
$userId
: int
= 0
-
getStatusCode()
public
getStatusCode(int $id) : string
Parameters
-
$id
: int
-
isActive()
public
isActive() : bool
isReadyToStart()
public
isReadyToStart() : bool
run()
public
static run(int $userId) : string
Parameters
-
$userId
: int
-
start()
public
start(array<string|int, mixed> $types, string $scope[, array<string|int, mixed> $initialParams = [] ]) : Result
Parameters
-
$types
: array<string|int, mixed>
-
-
$scope
: string
-
-
$initialParams
: array<string|int, mixed>
= []
-
state()
public
state() : Result
stop()
public
stop() : Result