Amedeo Lepore 933b59c54e
[AAE-10772] Move content services directives from core to content-services package (#7942)
* [AAE-10772] move CheckAllowableOperationDirective to content services

* [AAE-10772] move LibraryFavoriteDirective to content services

* [AAE-10772] move LibraryMembershipDirective to content services

* [AAE-10772] move NodeDeleteDirective to content services

* [AAE-10772] move NodeFavoriteDirective to content services

* [AAE-10772] update imports on LibraryMembershipDirective

* [AAE-10772] move NodeRestoreDirective to content services

* [AAE-10772] move UserInfoModule to content services

* Revert "[AAE-10772] move UserInfoModule to content services"

This reverts commit ede1d5db3923859586d88646ca7826abd3d30cf1.

* [AAE-10772] Remove barrel imports and move library membership interfaces into LibraryMembershipDirective because are only used in that directive

* [AAE-10772] Remove barrel imports from spec files

* [AAE-10772] Move directive md files from core to content-services

* [AAE-10772] Fix files path into the docs files

* [AAE-10772] Export library membership interfaces because are imported by the ACA ToggleJoinLibraryButtonComponent

Co-authored-by: Diogo Bastos <diogo.bastos@hyland.com>
2022-11-18 09:49:17 +01:00

1.4 KiB

Title, Added, Status, Last reviewed
Title Added Status Last reviewed
Node Delete directive v2.0.0 Active 2018-11-20

Node Delete directive

Deletes multiple files and folders.

Basic Usage

<adf-toolbar>
    <button mat-icon-button
            (delete)="documentList.reload()"
            [adf-delete]="documentList.selection">
    </button>
</adf-toolbar>

<adf-document-list #documentList ...>
 ...
</adf-document-list>

Class members

Properties

Name Type Default value Description
permanent boolean false If true then the nodes are deleted immediately rather than being put in the trash
selection NodeEntry[] | DeletedNodeEntity[] Array of nodes to delete.

Events

Name Type Description
delete EventEmitter<any> Emitted when the nodes have been deleted.

Details

Note that if a target item is already in the trashcan (and is therefore a DeletedNodeEntity) then this action will delete the file permanently.

See also