mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2026-09-09 18:03:21 +00:00
ACS-8055 update interface
This commit is contained in:
@@ -245,7 +245,7 @@ export class NodesApiService {
|
|||||||
*
|
*
|
||||||
* @param nodeId ID of the target node
|
* @param nodeId ID of the target node
|
||||||
* @param options Optional parameters supported by JS-API
|
* @param options Optional parameters supported by JS-API
|
||||||
* @returns List of assigned holds
|
* @returns List of assigned holds Observable<Hold[]>
|
||||||
*/
|
*/
|
||||||
getNodeAssignHolds(nodeId: string, options?: any): Observable<Hold[]> {
|
getNodeAssignHolds(nodeId: string, options?: any): Observable<Hold[]> {
|
||||||
const queryOptions = Object.assign({ where: `(assocType='rma:frozenContent')` }, options);
|
const queryOptions = Object.assign({ where: `(assocType='rma:frozenContent')` }, options);
|
||||||
|
|||||||
@@ -34,11 +34,11 @@ export class LegalHoldService {
|
|||||||
constructor(private apiService: AlfrescoApiService) {}
|
constructor(private apiService: AlfrescoApiService) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets the list of holds assigned to the node.
|
* Gets the list of holds.
|
||||||
*
|
*
|
||||||
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
* @param filePlanId The identifier of a file plan. You can also use the -filePlan- alias.
|
||||||
* @param options Optional parameters supported by JS-API
|
* @param options Optional parameters supported by JS-API
|
||||||
* @returns List of assigned holds Hold[]
|
* @returns List of holds Observable<Hold[]>
|
||||||
*/
|
*/
|
||||||
getHolds(filePlanId: string, options?: ContentPagingQuery): Observable<Hold[]> {
|
getHolds(filePlanId: string, options?: ContentPagingQuery): Observable<Hold[]> {
|
||||||
return from(this.legalHoldApi.getHolds(filePlanId, options)).pipe(
|
return from(this.legalHoldApi.getHolds(filePlanId, options)).pipe(
|
||||||
|
|||||||
@@ -16,8 +16,8 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export interface Hold {
|
export interface Hold {
|
||||||
id: string;
|
|
||||||
name: string;
|
name: string;
|
||||||
|
id?: string;
|
||||||
reason?: string;
|
reason?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
selected?: boolean;
|
selected?: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user