Class Index | File Index

Classes


Class sap.ui2.srvc.RemoteCatalogService


Defined in: RemoteCatalogService.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Constructs a remote catalog service which is able to read CHIPs from a remote server.
Method Summary
Method Attributes Method Name and Description
 
readChips(sBaseUrl, sCatalogId, aChipIds, fnSuccess, fnFailure)
Reads the CHIPs with given IDs from the catalog with the given ID, using the given base URL.
Class Detail
sap.ui2.srvc.RemoteCatalogService()
Constructs a remote catalog service which is able to read CHIPs from a remote server.
Since:
1.19.1
Method Detail
readChips(sBaseUrl, sCatalogId, aChipIds, fnSuccess, fnFailure)
Reads the CHIPs with given IDs from the catalog with the given ID, using the given base URL.
Parameters:
{string} sBaseUrl
the base URL of the remote catalog
{string} sCatalogId
the ID of the remote catalog
{string[]} aChipIds Optional
the IDs of the CHIPs to be loaded; if undefined, all CHIPs are loaded
{function (object)} fnSuccess
a callback function that is executed if the request succeeds, taking the processed data
{function (string|[object])} fnFailure Optional
error handler taking an error message and, since version 1.28.6, an optional object containing the complete error information as delivered by the ODataService. See fnFailure parameter of sap.ui2.srvc.ODataWrapper#onError for more details.
Since:
1.19.1
Throws:
Error if aChipIds === []

©Copyright (c) 2009-2014 SAP SE, All Rights Reserved
Documentation generated by JsDoc Toolkit 2.4.0 on Tue Mar 14 2017 08:48:14 GMT-0000 (UTC)