FeedList
Extends:
Feed list resource object representing a list of user's feeds.
Constructor Summary
Public Constructor | ||
public |
constructor(url: string, auth: Object) Constructor |
Method Summary
Public Methods | ||
public |
getChrisInstance(timeout: number): Promise<User> Fetch the ChRIS instance information from the REST API. |
|
public |
getComputeResources(searchParams: Object, timeout: number): Promise<ComputeResourceList> Fetch a list of compute resources from the REST API. |
|
public |
getFileBrowserFolders(searchParams: Object, timeout: number): Promise<FileBrowserFolderList> Fetch a list of file browser folders (the returned list only has at most one element) from the REST API. |
|
public |
Fetch a list of groups from the REST API. |
|
public |
getPACSFiles(searchParams: Object, timeout: number): Promise<PACSFileList> Fetch a list of PACS files from the REST API. |
|
public |
getPACSSeriesList(searchParams: Object, timeout: number): Promise<PACSSeriesList> Fetch a list of PACS series from the REST API. |
|
public |
getPipelineSourceFiles(searchParams: Object, timeout: number): Promise<PipelineSourceFileList> Fetch a list of pipeline source files from the REST API. |
|
public |
getPipelines(searchParams: Object, timeout: number): Promise<PipelineList> Fetch a list of pipelines from the REST API. |
|
public |
getPluginAdmins(searchParams: Object, timeout: number): Promise<PluginAdminList> Fetch a list of plugin admins. |
|
public |
getPluginInstances(searchParams: Object, timeout: number): Promise<AllPluginInstanceList> Fetch a list of plugin instances from the REST API. |
|
public |
getPluginMetas(searchParams: Object, timeout: number): Promise<PluginMetaList> Fetch a list of plugin metas from the REST API. |
|
public |
getPlugins(searchParams: Object, timeout: number): Promise<PluginList> Fetch a list of plugins from the REST API. |
|
public |
getPublicFeeds(searchParams: Object, timeout: number): Promise<PublicFeedList> Fetch a list of public feeds from the REST API. |
|
public |
Fetch a list of tags from the REST API. |
|
public |
Fetch currently authenticated user's information from the REST API. |
|
public |
getUserFiles(searchParams: Object, timeout: number): Promise<UserFileList> Fetch a list of user files from the REST API. |
Inherited Summary
From class Resource | ||
public static |
Helper method to make a deep copy clone of the passed object resource. |
|
public get |
Return true if the resource object contains any data. |
|
public |
|
|
public |
|
|
public |
|
|
public |
|
|
public |
Make a deep copy clone of this object resource. |
From class ListResource | ||
public get |
Get the list of item data objects (REST API descriptors). |
|
public get |
Return true if the list resource object has a next list page in the paginated REST API. |
|
public get |
Return true if the list resource object has a previous list page in the paginated REST API. |
|
public get |
Get the total count of items of the entire collection across pages in the paginated REST API. |
|
public |
collection: * |
|
public |
|
|
public |
|
|
public |
|
|
public |
Fetch this list resource from the REST API based on search parameters. |
|
public |
Get an item resource object given its id from the list of items in this list resource object. |
|
public |
Get an array of item resource objects corresponding to the items in this list resource object. |
|
public |
getPOSTParameters(): string[] Get an array of parameter names that can be used as properties of the data object in POST requests. |
|
public |
Get an array of search parameter names that can be used as properties of the
|
|
private |
_getResource(linkRelation: string, ResourceClass: Object, searchParams: Object, timeout: number): Promise<ResourceClass> Internal method to fetch a related resource from the REST API that is referenced by a link relation within this list resource's collection object. |
|
private |
Internal helper method to make a POST request to this list resource through the REST API. |
Public Constructors
Public Members
Public Methods
public getChrisInstance(timeout: number): Promise<User> source
Fetch the ChRIS instance information from the REST API.
Params:
Name | Type | Attribute | Description |
timeout | number |
|
request timeout |
public getComputeResources(searchParams: Object, timeout: number): Promise<ComputeResourceList> source
Fetch a list of compute resources from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getFileBrowserFolders(searchParams: Object, timeout: number): Promise<FileBrowserFolderList> source
Fetch a list of file browser folders (the returned list only has at most one element) from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getGroups(searchParams: Object, timeout: number): Promise<GroupList> source
Fetch a list of groups from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPACSFiles(searchParams: Object, timeout: number): Promise<PACSFileList> source
Fetch a list of PACS files from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPACSSeriesList(searchParams: Object, timeout: number): Promise<PACSSeriesList> source
Fetch a list of PACS series from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPipelineSourceFiles(searchParams: Object, timeout: number): Promise<PipelineSourceFileList> source
Fetch a list of pipeline source files from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPipelines(searchParams: Object, timeout: number): Promise<PipelineList> source
Fetch a list of pipelines from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPluginAdmins(searchParams: Object, timeout: number): Promise<PluginAdminList> source
Fetch a list of plugin admins.
public getPluginInstances(searchParams: Object, timeout: number): Promise<AllPluginInstanceList> source
Fetch a list of plugin instances from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPluginMetas(searchParams: Object, timeout: number): Promise<PluginMetaList> source
Fetch a list of plugin metas from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPlugins(searchParams: Object, timeout: number): Promise<PluginList> source
Fetch a list of plugins from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getPublicFeeds(searchParams: Object, timeout: number): Promise<PublicFeedList> source
Fetch a list of public feeds from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getTags(searchParams: Object, timeout: number): Promise<TagList> source
Fetch a list of tags from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |
public getUser(timeout: number): Promise<User> source
Fetch currently authenticated user's information from the REST API.
Params:
Name | Type | Attribute | Description |
timeout | number |
|
request timeout |
public getUserFiles(searchParams: Object, timeout: number): Promise<UserFileList> source
Fetch a list of user files from the REST API.
Params:
Name | Type | Attribute | Description |
searchParams | Object |
|
search parameters object which is
resource-specific, the |
searchParams.limit | number |
|
page limit |
searchParams.offset | number |
|
page offset |
timeout | number |
|
request timeout |