mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ACS-8055] Integrate endpoint for getting Legal Holds (#9771)
* ACS-8055 add listAssignedHolds API * ACS-8055 create legal-hold service * ACS-8055 add documentation * ACS-8055 fix imports * ACS-8055 clean up code * ACS-8055 fix interface typo * ACS-8055 add optional options and uodate nodes-api.service.md * ACS-8055 update interface * ACS-8055 add HoldPaging class and documentation * ACS-8055 add interface and fix test * ACS-8055 add documentation for legal hold service * ACS-8055 update legal-hold.service.md * ACS-8055 update legal-hold.service.md * ACS-8055 update readme file * ACS-8055 add translation --------- Co-authored-by: DaryaBalvanovich <darya.balvanovich1@hyland.com>
This commit is contained in:
28
docs/content-services/services/legal-hold.service.md
Normal file
28
docs/content-services/services/legal-hold.service.md
Normal file
@@ -0,0 +1,28 @@
|
||||
---
|
||||
Title: Legal Hold service
|
||||
Added: v6.10.0
|
||||
Status: Active
|
||||
Last reviewed: 2024-06-19
|
||||
---
|
||||
|
||||
# [Legal Hold service](../../../lib/content-services/src/lib/legal-hold/services/legal-hold.service.ts "Defined in legal-hold.service.ts")
|
||||
|
||||
Manages holds for nodes.
|
||||
|
||||
## Class members
|
||||
|
||||
### Methods
|
||||
|
||||
- **getHolds**(filePlanId: `string`, options?: `ContentPagingQuery`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`Hold`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`[]>`<br/>
|
||||
Gets the list of holds for a node.
|
||||
- _filePlanId_: `string` - The identifier of a file plan. You can also use the -filePlan- alias
|
||||
- _options_: `ContentPagingQuery` - Optional parameters supported by JS-API
|
||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`Hold`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`[]>` - List of holds
|
||||
|
||||
## Details
|
||||
|
||||
To create, delete or get holds Records Management should be created and user should be added to it.
|
||||
|
||||
## See also
|
||||
|
||||
- [LegalHoldApi](../../../lib/js-api/src/api/gs-core-rest-api/docs/LegalHoldApi.md)
|
Reference in New Issue
Block a user