30 if (!isset(self::$operationRepo)) {
32 self::$operationRepo =
$dic[
"repo.Operations"];
35 return self::$operationRepo;
42 string $operation_name,
46 self::getOperationRepo()->get($operation_name, $description, [
$context]);
53 string $operation_name,
57 self::getOperationRepo()->get($operation_name, $description, $contexts);
66 return self::getOperationRepo()->getOperationsByContextName($context_name);
75 return self::getOperationRepo()->getOperationsByContextId($context_id);
84 return self::getOperationRepo()->getById($operation_id);
91 string $operation_string,
94 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...