mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* fix after rebase * new release strategy for ng next Signed-off-by: eromano <eugenioromano16@gmail.com> * peer dep Signed-off-by: eromano <eugenioromano16@gmail.com> * Angular 14 fix unit test and storybook Signed-off-by: eromano <eugenioromano16@gmail.com> fix after rebase Signed-off-by: eromano <eugenioromano16@gmail.com> update pkg.json Signed-off-by: eromano <eugenioromano16@gmail.com> missing dep Signed-off-by: eromano <eugenioromano16@gmail.com> Fix mistake and missing code Dream....build only affected libs Add utility run commands * Use nx command to run affected tests * Fix nx test core fix content tests Run unit with watch false core test fixes reduce test warnings Fix process cloud unit Fix adf unit test Fix lint process cloud Disable lint next line Use right core path Fix insights unit fix linting insights Fix process-services unit fix the extensions test report fix test warnings Fix content unit Fix bunch of content unit * Produce an adf alpha of 14 * hopefully fixing the content * Push back the npm publish * Remove flaky unit * Fix linting * Make the branch as root * Get rid of angualar13 * Remove the travis depth * Fixing version for npm * Enabling cache for unit and build * Fix scss for core and paths Copy i18 and asset by using ng-packager Export the theming alias and fix path Use ng-package to copy assets process-services-cloud Use ng-package to copy assets process-services Use ng-package to copy assets content-services Use ng-package to copy assets insights * feat: fix api secondary entry point * fix storybook rebase * Move dist under dist/libs from lib/dist * Fix the webstyle * Use only necessary nrwl deps and improve lint * Fix unit for libs * Convert lint.sh to targets - improve performance * Use latest of angular * Align alfresco-js-api Signed-off-by: eromano <eugenioromano16@gmail.com> Co-authored-by: eromano <eugenioromano16@gmail.com> Co-authored-by: Mikolaj Serwicki <mikolaj.serwicki@hyland.com> Co-authored-by: Tomasz <tomasz.gnyp@hyland.com>
8.3 KiB
8.3 KiB
Title, Added, Status, Last reviewed
Title | Added | Status | Last reviewed |
---|---|---|---|
Custom Resources service | v2.3.0 | Active | 2018-11-16 |
Custom Resources service
Manages Document List information that is specific to a user.
Class members
Methods
- getCorrespondingNodeIds(nodeId:
string
, pagination:PaginationModel
={}
):Observable
<string[]>
Gets the contents of one of the well-known aliases in the form of node ID strings.- nodeId:
string
- ID of the target folder node - pagination:
PaginationModel
- Specifies how to paginate the results - Returns
Observable
<string[]>
- List of node IDs
- nodeId:
- getIdFromEntry(node:
any
, nodeId:string
):string
Chooses the correct ID for a node entry.- node:
any
- Node object - nodeId:
string
- ID of the node object - Returns
string
- ID value
- node:
- getRecentFiles(personId:
string
, pagination:PaginationModel
, filters?:string[]
):Observable
<
NodePaging
>
Gets files recently accessed by a user.- personId:
string
- ID of the user - pagination:
PaginationModel
- Specifies how to paginate the results - filters:
string[]
- (Optional) Specifies additional filters to apply (joined with AND) - Returns
Observable
<
NodePaging
>
- List of nodes for the recently used files
- personId:
- hasCorrespondingNodeIds(nodeId:
string
):boolean
Does the well-known alias have a corresponding node ID?- nodeId:
string
- Node to check - Returns
boolean
- True if the alias has a corresponding node ID, false otherwise
- nodeId:
- isCustomSource(folderId:
string
):boolean
Is the folder ID one of the well-known aliases?- folderId:
string
- Folder ID name to check - Returns
boolean
- True if the ID is a well-known name, false otherwise
- folderId:
- isSupportedSource(folderId:
string
):boolean
Is the folder ID a "-my", "-root-", or "-shared-" alias?- folderId:
string
- Folder ID name to check - Returns
boolean
- True if the ID is one of the supported sources, false otherwise
- folderId:
- loadFavorites(pagination:
PaginationModel
, includeFields:string[]
=[]
, where?:string
):Observable
<
NodePaging
>
Gets favorite files for the current user.- pagination:
PaginationModel
- Specifies how to paginate the results - includeFields:
string[]
- List of data field names to include in the results - where:
string
- (Optional) A string to restrict the returned objects by using a predicate - Returns
Observable
<
NodePaging
>
- List of favorite files
- pagination:
- loadFolderByNodeId(nodeId:
string
, pagination:PaginationModel
, includeFields:string[]
=[]
, where?:string
):any
Gets a folder's contents.- nodeId:
string
- ID of the target folder node - pagination:
PaginationModel
- Specifies how to paginate the results - includeFields:
string[]
- List of data field names to include in the results - where:
string
- (Optional) Filters the Node list using the where condition of the REST API (for example, isFolder=true). See the REST API documentation for more information. - Returns
any
- List of items contained in the folder
- nodeId:
- loadMemberSites(pagination:
PaginationModel
, where?:string
):Observable
<
SiteMemberPaging
>
Gets sites that the current user is a member of.- pagination:
PaginationModel
- Specifies how to paginate the results - where:
string
- (Optional) A string to restrict the returned objects by using a predicate - Returns
Observable
<
SiteMemberPaging
>
- List of sites
- pagination:
- loadSharedLinks(pagination:
PaginationModel
, includeFields:string[]
=[]
, where?:string
):Observable
<
SharedLinkPaging
>
Gets shared links for the current user.- pagination:
PaginationModel
- Specifies how to paginate the results - includeFields:
string[]
- List of data field names to include in the results - where:
string
- (Optional) A string to restrict the returned objects by using a predicate - Returns
Observable
<
SharedLinkPaging
>
- List of shared links
- pagination:
- loadSites(pagination:
PaginationModel
, where?:string
):Observable
<
NodePaging
>
Gets all sites in the repository.- pagination:
PaginationModel
- Specifies how to paginate the results - where:
string
- (Optional) A string to restrict the returned objects by using a predicate - Returns
Observable
<
NodePaging
>
- List of sites
- pagination:
- loadTrashcan(pagination:
PaginationModel
, includeFields:string[]
=[]
):Observable
<
DeletedNodesPaging
>
Gets all items currently in the trash.- pagination:
PaginationModel
- Specifies how to paginate the results - includeFields:
string[]
- List of data field names to include in the results - Returns
Observable
<
DeletedNodesPaging
>
- List of deleted items
- pagination:
Details
The includeFields
parameter used by some of the methods lets you specify which data fields
you want in the result objects. See the
Alfresco JSAPI
for further details of the returned data and the available fields.