1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
Класс CBPStateService
Граф наследования:CBPStateService:
CBPRuntimeService

Открытые члены

 setStateTitle ($workflowId, $stateTitle)
 setStatePermissions ($workflowId, $arStatePermissions=array(), $bRewrite=true)
 getStateTitle ($workflowId)
 AddWorkflow ($workflowId, $workflowTemplateId, $documentId, $starterUserId=0)
 deleteAllDocumentWorkflows ($documentId)
 onStatusChange (string $workflowId, int $status)
 setState ($workflowId, $arState, $arStatePermissions=array())
 setStateParameters ($workflowId, $arStateParameters=array())
 addStateParameter ($workflowId, $arStateParameter)
 deleteStateParameter ($workflowId, $name)
 SetState ($workflowId, $arState, $arStatePermissions=array())
 SetStateParameters ($workflowId, $arStateParameters=array())
 AddStateParameter ($workflowId, $arStateParameter)
 DeleteStateParameter ($workflowId, $name)
Открытые члены унаследованные от CBPRuntimeService
 setRuntime (CBPRuntime $runtime)
 start (CBPRuntime $runtime=null)
 stop ()

Открытые статические члены

static getStateDocumentId ($workflowId)
static deleteWorkflow ($workflowId)
static countDocumentWorkflows ($documentId)
static getDocumentStates (array $documentId, array|string $workflowId='')
static getIdsByDocument (array $documentId, int $limit=null)
static getWorkflowState ($workflowId)
static getWorkflowStateInfo ($workflowId)
static exists (string $workflowId)
static getWorkflowIntegerId ($workflowId)
static getWorkflowByIntegerId ($integerId)
static deleteByDocument (array $documentId)
static mergeStates ($firstDocumentId, $secondDocumentId)
static migrateDocumentType ($oldType, $newType, $workflowTemplateIds)
static getRunningCounters ($userId)
static __InsertStateHack ($id, $moduleId, $entity, $documentId, $templateId, $state, $stateTitle, $stateParameters, $arStatePermissions)

Поля данных

const COUNTERS_CACHE_TAG_PREFIX = 'b_bp_wfi_cnt_'

Защищенные статические члены

static cleanRunningCountersCache ($users)

Статические защищенные данные

static array $statesCache = []

Дополнительные унаследованные члены

Защищенные данные унаследованные от CBPRuntimeService
 $runtime

Подробное описание

См. определение в файле stateservice.php строка 8

Методы

◆ __InsertStateHack()

__InsertStateHack ( $id,
$moduleId,
$entity,
$documentId,
$templateId,
$state,
$stateTitle,
$stateParameters,
$arStatePermissions )
static

См. определение в файле stateservice.php строка 153

◆ AddStateParameter()

AddStateParameter ( $workflowId,
$arStateParameter )

См. определение в файле stateservice.php строка 80

◆ addStateParameter()

addStateParameter ( $workflowId,
$arStateParameter )

См. определение в файле stateservice.php строка 622

◆ AddWorkflow()

AddWorkflow ( $workflowId,
$workflowTemplateId,
$documentId,
$starterUserId = 0 )

См. определение в файле stateservice.php строка 104

◆ cleanRunningCountersCache()

cleanRunningCountersCache ( $users)
staticprotected

См. определение в файле stateservice.php строка 715

◆ countDocumentWorkflows()

countDocumentWorkflows ( $documentId)
static

См. определение в файле stateservice.php строка 235

◆ deleteAllDocumentWorkflows()

deleteAllDocumentWorkflows ( $documentId)

См. определение в файле stateservice.php строка 170

◆ deleteByDocument()

deleteByDocument ( array $documentId)
static

См. определение в файле stateservice.php строка 460

◆ DeleteStateParameter()

DeleteStateParameter ( $workflowId,
$name )

См. определение в файле stateservice.php строка 113

◆ deleteStateParameter()

deleteStateParameter ( $workflowId,
$name )

См. определение в файле stateservice.php строка 645

◆ deleteWorkflow()

deleteWorkflow ( $workflowId)
static

См. определение в файле stateservice.php строка 144

◆ exists()

exists ( string $workflowId)
static

См. определение в файле stateservice.php строка 399

◆ getDocumentStates()

getDocumentStates ( array $documentId,
array|string $workflowId = '' )
static

См. определение в файле stateservice.php строка 247

◆ getIdsByDocument()

getIdsByDocument ( array $documentId,
int $limit = null )
static

См. определение в файле stateservice.php строка 321

◆ getRunningCounters()

getRunningCounters ( $userId)
static

См. определение в файле stateservice.php строка 678

◆ getStateDocumentId()

getStateDocumentId ( $workflowId)
static

См. определение в файле stateservice.php строка 75

◆ getStateTitle()

getStateTitle ( $workflowId)

См. определение в файле stateservice.php строка 59

◆ getWorkflowByIntegerId()

getWorkflowByIntegerId ( $integerId)
static

См. определение в файле stateservice.php строка 440

◆ getWorkflowIntegerId()

getWorkflowIntegerId ( $workflowId)
static

См. определение в файле stateservice.php строка 404

◆ getWorkflowState()

getWorkflowState ( $workflowId)
static

См. определение в файле stateservice.php строка 326

◆ getWorkflowStateInfo()

getWorkflowStateInfo ( $workflowId)
static

См. определение в файле stateservice.php строка 360

◆ mergeStates()

mergeStates ( $firstDocumentId,
$secondDocumentId )
static

См. определение в файле stateservice.php строка 498

◆ migrateDocumentType()

migrateDocumentType ( $oldType,
$newType,
$workflowTemplateIds )
static

См. определение в файле stateservice.php строка 518

◆ onStatusChange()

onStatusChange ( string $workflowId,
int $status )

См. определение в файле stateservice.php строка 175

◆ SetState()

SetState ( $workflowId,
$arState,
$arStatePermissions = array() )

См. определение в файле stateservice.php строка 7

◆ setState()

setState ( $workflowId,
$arState,
$arStatePermissions = array() )

См. определение в файле stateservice.php строка 535

◆ SetStateParameters()

SetStateParameters ( $workflowId,
$arStateParameters = array() )

См. определение в файле stateservice.php строка 60

◆ setStateParameters()

setStateParameters ( $workflowId,
$arStateParameters = array() )

См. определение в файле stateservice.php строка 602

◆ setStatePermissions()

setStatePermissions ( $workflowId,
$arStatePermissions = array(),
$bRewrite = true )

См. определение в файле stateservice.php строка 25

◆ setStateTitle()

setStateTitle ( $workflowId,
$stateTitle )

См. определение в файле stateservice.php строка 14

Поля

◆ $statesCache

array $statesCache = []
staticprotected

См. определение в файле stateservice.php строка 12

◆ COUNTERS_CACHE_TAG_PREFIX

const COUNTERS_CACHE_TAG_PREFIX = 'b_bp_wfi_cnt_'

См. определение в файле stateservice.php строка 10


Объявления и описания членов классов находятся в файлах: