DefinitionOfDoneService
implements
Errorable
Table of Contents
Interfaces
- Errorable
Constants
-
ERROR_COULD_NOT_ADD_DEFAULT_LIST_1
= 'TASKS_DOD_01'
-
ERROR_COULD_NOT_ADD_DEFAULT_LIST_2
= 'TASKS_DOD_02'
Methods
-
__construct()
: mixed
-
createDefaultList()
: void
-
existsDod()
: bool
-
getComponent()
: Component
-
getErrorByCode()
: mixed
-
getErrors()
: mixed
-
getItemType()
: TypeForm
-
getTypeItems()
: array<string|int, mixed>
-
getTypes()
: array<string|int, mixed>
-
isNecessary()
: bool
-
isTypeListEmpty()
: bool
-
mergeList()
: Result
-
removeList()
: void
ERROR_COULD_NOT_ADD_DEFAULT_LIST_1
public
mixed
ERROR_COULD_NOT_ADD_DEFAULT_LIST_1
= 'TASKS_DOD_01'
ERROR_COULD_NOT_ADD_DEFAULT_LIST_2
public
mixed
ERROR_COULD_NOT_ADD_DEFAULT_LIST_2
= 'TASKS_DOD_02'
__construct()
public
__construct([int $executiveUserId = 0 ]) : mixed
Parameters
-
$executiveUserId
: int
= 0
-
createDefaultList()
public
createDefaultList(int $entityId) : void
Parameters
-
$entityId
: int
-
existsDod()
public
static existsDod(int $groupId) : bool
Parameters
-
$groupId
: int
-
getComponent()
public
getComponent(int $entityId, string $entityType, array<string|int, mixed>|null $items) : Component
Parameters
-
$entityId
: int
-
-
$entityType
: string
-
-
$items
: array<string|int, mixed>|null
-
getErrorByCode()
public
getErrorByCode(mixed $code) : mixed
Parameters
-
$code
: mixed
-
getErrors()
public
getErrors() : mixed
getItemType()
public
getItemType(int $taskId) : TypeForm
Parameters
-
$taskId
: int
-
getTypeItems()
public
getTypeItems(int $entityId) : array<string|int, mixed>
Parameters
-
$entityId
: int
-
Return values
array<string|int, mixed>
getTypes()
public
getTypes(int $groupId) : array<string|int, mixed>
Parameters
-
$groupId
: int
-
Return values
array<string|int, mixed>
isNecessary()
public
isNecessary(int $groupId, int $taskId) : bool
Parameters
-
$groupId
: int
-
-
$taskId
: int
-
isTypeListEmpty()
public
isTypeListEmpty(int $entityId) : bool
Parameters
-
$entityId
: int
-
mergeList()
public
mergeList(string $facade, int $entityId, array<string|int, mixed> $items) : Result
Parameters
-
$facade
: string
-
-
$entityId
: int
-
-
$items
: array<string|int, mixed>
-
removeList()
public
removeList(string $facade, int $entityId) : void
Parameters
-
$facade
: string
-
-
$entityId
: int
-