ObjectSpaceState
Přehled
ObjectSpaceState je třída v Aspose.Note pro Python.
ObjectSpaceState.get_latest_root(role, context_id) vrací nejnovější GUID pro danou roli a kontext nebo Žádný, pokud nebyl nalezen.
Vlastnosti
| Název: | Typ: | Přístup | Popis: |
|---|---|---|---|
gosid | ExtendedGUID | Čtěte. | Udržuje globální identifikátor úložiště objektů jako ExtendedGUID |
root_roles | dict[int, ExtendedGUID] | Čtěte. | Čísla celých rolí mapy k jejich souvisejícím kořenovým číslům ExtendedGUIDs |
objects | dict[ExtendedGUID, OneStoreObject] | Čtěte. | Poskytuje slovník všech instanc OneStoreObject s klíčem ExtendedGUID. |
section_display_name | `str | None` | Čtěte. |
revisions | list[RevisionManifestRecord] | Čtěte. | Je seznam RevisionManifestRecord objektů představujících revize dokumentů. |
role_bindings | list[RevisionRoleBinding] | Čtěte. | Uložení seznamu RevisionRoleBinding propojených rolí s reviziemi |
latest_roots_by_context_role | `dict[tuple[ExtendedGUID | None, int], ExtendedGUID]` | Čtěte. |
latest_revision_indices_by_context_role | `dict[tuple[ExtendedGUID | None, int], int]` | Čtěte. |
Metody
| Podpis: | Popis: |
|---|---|
| `get_latest_root(role: int, context_id: ExtendedGUID | None)→ExtendedGUID |
iter_latest_roots(role: int) → `list[tuple[ExtendedGUID | None, ExtendedGUID]]` |
| `get_latest_revision_index(role: int, context_id: ExtendedGUID | None)→int |