31 if (!isset(self::$operationRepo)) {
33 self::$operationRepo =
$dic[
"repo.Operations"];
36 return self::$operationRepo;
43 string $operation_name,
47 self::getOperationRepo()->get($operation_name, $description, [
$context]);
54 string $operation_name,
58 self::getOperationRepo()->get($operation_name, $description, $contexts);
67 return self::getOperationRepo()->getOperationsByContextName($context_name);
76 return self::getOperationRepo()->getOperationsByContextId($context_id);
85 return self::getOperationRepo()->getById($operation_id);
92 string $operation_string,
95 return self::getOperationRepo()->find(
static findByOperationString(string $operation_string, string $context_name)
@deprecated Please use find() from OrgUnitOperationRepository
static getOperationsForContextName(string $context_name)
static registerNewOperationForMultipleContexts(string $operation_name, string $description, array $contexts)
static ilOrgUnitOperationDBRepository $operationRepo
static registerNewOperation(string $operation_name, string $description, string $context=ilOrgUnitOperationContext::CONTEXT_OBJECT)
static getOperationsForContextId(string $context_id)
static getOperationRepo()
static findById(int $operation_id)
@deprecated Please use get() from OrgUnitOperationRepository for operation name Operations should not...