mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
ACS-7600 fix documentation and method name
This commit is contained in:
committed by
Darya Blavanovich
parent
c62f34c804
commit
9336ce625f
@@ -36,16 +36,16 @@ Manages holds for nodes.
|
|||||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldEntry`](../../../lib/js-api/src/api/gs-core-rest-api/docs/HoldEntry.md)`>` - Entry with the hold
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldEntry`](../../../lib/js-api/src/api/gs-core-rest-api/docs/HoldEntry.md)`>` - Entry with the hold
|
||||||
|
|
||||||
- **assignHolds**(nodeIds: `<{id: string}[]>`, holdId: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldPaging`](../../../lib/js-api/src/api/gs-core-rest-api/docs/HoldPaging.md)`>`<br/>
|
- **assignHolds**(nodeIds: `<{id: string}[]>`, holdId: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldPaging`](../../../lib/js-api/src/api/gs-core-rest-api/docs/HoldPaging.md)`>`<br/>
|
||||||
Assign a node to a hold.
|
Assign multiple nodes to a hold.
|
||||||
- _nodeIds_: `<{id: string}[]>` - The Ids of the nodes which will be assigned to a hold
|
- _nodeIds_: `<{id: string}[]>` - The Ids of the nodes which will be assigned to a hold
|
||||||
- _holdId_: `string` - The Id of the hold to which nodes will be assigned
|
- _holdId_: `string` - The Id of the hold to which nodes will be assigned
|
||||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldPaging`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`>` - Hold paging
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`HoldPaging`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`>` - Hold paging
|
||||||
|
|
||||||
- **unassignHold**(holdId: `string`, nodeId: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`void`]`>`<br/>
|
- **unassignHold**(holdId: `string`, nodeId: `string`): [`Observable`](http://reactivex.io/documentation/observable.html)`<void>`<br/>
|
||||||
Assign a node to a hold.
|
Unassign a node from a hold.
|
||||||
- _holdId_: `string` - The hold Id
|
- _holdId_: `string` - The hold Id
|
||||||
- _nodeId_: `string` - The Id of the node which is unassigned
|
- _nodeId_: `string` - The Id of the node which is unassigned
|
||||||
- **Returns** [`void`]
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<void>`
|
||||||
|
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
@@ -84,11 +84,11 @@ Accesses and manipulates ACS document nodes using their node IDs.
|
|||||||
- _nodeBody:_ `any` - New data for the node
|
- _nodeBody:_ `any` - New data for the node
|
||||||
- _options:_ `any` - Optional parameters supported by JS-API
|
- _options:_ `any` - Optional parameters supported by JS-API
|
||||||
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNode`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeMinimalEntry.md)`>` - Updated node information<br/>
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`MinimalNode`](https://github.com/Alfresco/alfresco-js-api/blob/master/src/alfresco-core-rest-api/docs/NodeMinimalEntry.md)`>` - Updated node information<br/>
|
||||||
- **getNodeAssignHolds**(nodeId: `string`, options: `{ includeSource?: boolean; } & NodesIncludeQuery & ContentPagingQuery`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`Hold[]`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`>`<br/>
|
- **getNodeAssignedHolds**(nodeId: `string`, options: `{ includeSource?: boolean; } & NodesIncludeQuery & ContentPagingQuery`): [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`Hold[]`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`>`<br/>
|
||||||
Getting legal holds assigned to a node.
|
Gets legal holds assigned to a node.
|
||||||
- _nodeId:_ `string` - ID of the target node
|
- _nodeId:_ `string` - ID of the target node
|
||||||
- _options:_ `{ includeSource?: boolean; } & NodesIncludeQuery & ContentPagingQuery` - Optional parameters supported by JS-API
|
- _options:_ `{ includeSource?: boolean; } & NodesIncludeQuery & 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)`>` - Updated node information
|
- **Returns** [`Observable`](http://reactivex.io/documentation/observable.html)`<`[`Hold[]`](../../../lib/js-api/src/api/gs-core-rest-api/docs/Hold.md)`>` - List of assigned holds
|
||||||
|
|
||||||
## Details
|
## Details
|
||||||
|
|
||||||
|
@@ -248,7 +248,7 @@ export class NodesApiService {
|
|||||||
* @param options.includeSource Also include **source** (in addition to **entries**) with folder information on **nodeId**
|
* @param options.includeSource Also include **source** (in addition to **entries**) with folder information on **nodeId**
|
||||||
* @returns List of assigned holds Observable<Hold[]>
|
* @returns List of assigned holds Observable<Hold[]>
|
||||||
*/
|
*/
|
||||||
getNodeAssignHolds(
|
getNodeAssignedHolds(
|
||||||
nodeId: string,
|
nodeId: string,
|
||||||
options?: {
|
options?: {
|
||||||
includeSource?: boolean;
|
includeSource?: boolean;
|
||||||
|
@@ -63,7 +63,7 @@ export class LegalHoldService {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Assign a node to a hold.
|
* Assign multiple nodes to a hold.
|
||||||
*
|
*
|
||||||
* @param nodeIds The list of managed node Ids
|
* @param nodeIds The list of managed node Ids
|
||||||
* @param holdId The Id of the hold to which nodes will be assigned
|
* @param holdId The Id of the hold to which nodes will be assigned
|
||||||
|
@@ -21,7 +21,7 @@ Class | Method | HTTP request | Description
|
|||||||
*.GssitesApi* | [**deleteRMSite**](docs/GssitesApi.md#deleteRMSite) | **DELETE** /gs-sites/rm | Delete the Records Management (RM) site
|
*.GssitesApi* | [**deleteRMSite**](docs/GssitesApi.md#deleteRMSite) | **DELETE** /gs-sites/rm | Delete the Records Management (RM) site
|
||||||
*.GssitesApi* | [**getRMSite**](docs/GssitesApi.md#getRMSite) | **GET** /gs-sites/rm | Get the Records Management (RM) site
|
*.GssitesApi* | [**getRMSite**](docs/GssitesApi.md#getRMSite) | **GET** /gs-sites/rm | Get the Records Management (RM) site
|
||||||
*.GssitesApi* | [**updateRMSite**](docs/GssitesApi.md#updateRMSite) | **PUT** /gs-sites/rm | Update the Records Management (RM) site
|
*.GssitesApi* | [**updateRMSite**](docs/GssitesApi.md#updateRMSite) | **PUT** /gs-sites/rm | Update the Records Management (RM) site
|
||||||
*.LegalHoldApi* | [**getHolds**](docs/LegalHoldApi.md#getHolds) | **GET** /file-plans/{filePlanId}/holds | Get legal hold list
|
*.LegalHoldApi* | [**getHolds**](docs/LegalHoldApi.md#getHolds) | **GET** /file-plans/{filePlanId}/holds | Gets the list of holds available in the file plan
|
||||||
*.RecordCategoriesApi* | [**createRecordCategoryChild**](docs/RecordCategoriesApi.md#createRecordCategoryChild) | **POST** /record-categories/{recordCategoryId}/children | Create a record category or a record folder
|
*.RecordCategoriesApi* | [**createRecordCategoryChild**](docs/RecordCategoriesApi.md#createRecordCategoryChild) | **POST** /record-categories/{recordCategoryId}/children | Create a record category or a record folder
|
||||||
*.RecordCategoriesApi* | [**deleteRecordCategory**](docs/RecordCategoriesApi.md#deleteRecordCategory) | **DELETE** /record-categories/{recordCategoryId} | Delete a record category
|
*.RecordCategoriesApi* | [**deleteRecordCategory**](docs/RecordCategoriesApi.md#deleteRecordCategory) | **DELETE** /record-categories/{recordCategoryId} | Delete a record category
|
||||||
*.RecordCategoriesApi* | [**getRecordCategory**](docs/RecordCategoriesApi.md#getRecordCategory) | **GET** /record-categories/{recordCategoryId} | Get a record category
|
*.RecordCategoriesApi* | [**getRecordCategory**](docs/RecordCategoriesApi.md#getRecordCategory) | **GET** /record-categories/{recordCategoryId} | Get a record category
|
||||||
|
Reference in New Issue
Block a user