Skip to content
Snippets Groups Projects
Commit b0e76d22 authored by Giuseppe Digilio's avatar Giuseppe Digilio
Browse files

Added more comments

parent e3e9be03
Branches
Tags
No related merge requests found
......@@ -165,6 +165,11 @@ export abstract class DataService<T extends CacheableObject> {
return this.rdbService.buildSingle<T>(href);
}
/**
* Return object search endpoint by given search method
*
* @param searchMethod The search method for the object
*/
protected getSearchEndpoint(searchMethod: string): Observable<string> {
return this.halService.getEndpoint(`${this.linkPath}/search`).pipe(
filter((href: string) => isNotEmpty(href)),
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment