Class

Scope

Scope()

COLNEO infohub Scope.
Each scope defines the boundary at which resources are managed in a database and isolated, typically tied to a tenant that represents an organization or licensee.

Constructor

# new Scope()

Since scope information is retrieved from COLNEO infohub, this constructor is not called directly. Use factory method ScopeServicves.getScope() instead.

Properties:
Name Type Description
info object

Scope info

licences Array.<Licence>

Licences

Since:
  • 09.2025, aab, jh

View Source infohub/Scope.js, line 62

Example
{
  "info": {
    "id": "scope1",
    "name": "Scope 1",
    "description": "Scope 1 description",
    "createdon": "2025-01-01",
    "updatedon": "2025-01-01",
    "createdby": "user1",
    "updatedby": "user1"
  },
  "licences": [
          {
  "contract": "",
  "created": "2025-01-01T00:00:00Z",
  "createdby": "user@example.com",
  "expirated": null,
  "id": "00000000-0000-0000-0000-000000000000",
  "licenced_userid": ["user@example.com"],
  "licencee": {
    "address": "{\"street\":\"...\", \"city\":\"...\", \"zip\":\"...\"}",
    "email": "info@example.com",
    "name": "ACME"
  },
  "maxpermissions": "edit",
  "maxseats": 0,
  "module": "objecttypes",
  "scope": "cn_dv",
  "startdate": "2025-01-01T00:00:00Z",
  "updated": "2025-01-01T00:00:00Z",
  "updatedby": "user@example.com"
},
  ]
}

Classes

Scope

Methods

# getData() → {object}

View Source infohub/Scope.js, line 87

Scope data without function properties

object

# setData(data) → {void}

Parameters:
Name Type Description
data *

View Source infohub/Scope.js, line 79

void