nn::nex::DataStoreClient::GetRating Member Function

Syntax

virtual qBool GetRating(
     ProtocolCallContext * pContext,
     const qVector< qUnsignedInt64 > & dataIds,
     qVector< qMap< qInt8, DataStoreRatingInfo > > * pRatings,
     qVector< qResult > * pResults = NULL
);

Parameters

Name Description
in pContext Call information.
in dataIds The list of data IDs for which to get ratings information.
out pRatings Ratings information.
out pResults Whether the call was successful. (Can be omitted.)

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the data ratings information in a batch.

Specifies a list of data IDs and gets a collection of multiple chunks of ratings information. The specified number of processing results on the data IDs specified in dataIds are returned to pRatings in the same order that they were specified. Only people who have access rights to the data can get the data.

Revision History

2012/10/23
Added that only a person who has access rights can get the data.
2012/07/04
Access permissions are now checked. Added an argument that gets the result for each data ID.
2011/07/13
Initial version.

CONFIDENTIAL