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

Syntax

virtual qBool GetRating(
     ProtocolCallContext * pContext,
     const DataStoreRatingTarget & target,
     DataStoreRatingInfo * pRating,
     DataStoreRatingLog * pRatingLog,
     qUnsignedInt64 accessPassword = DataStoreConstants::INVALID_PASSWORD
);

Parameters

Name Description
in pContext Call information.
in target Target to get ratings information.
out pRating Ratings information.
out pRatingLog Ratings log.
in accessPassword Access password. DataStoreConstants::INVALID_PASSWORD by default. The password is not authenticated.

Return Values



Value Description
true RMC call initialization succeeded.
false Failure.

Description

Gets the data ratings information and the ratings log.

Gets a single ratings information bit and the ratings log for the specified data ID and slot. After specifying the ratings slot initialization settings, this function can be used only by those specifying DataStoreConstants::RATING_FLAG_MODIFIABLE or data for which a duplicate lock has been set. (The function can also be used when both are specified. ) If they have not been specified, the function returns QERROR(DataStore, OperationNotAllowed). 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/08/06
Added a note about the QERROR(DataStore, OperationNotAllowed) case.
2012/07/04
Access permissions are now checked. Added an access password to Arguments.
2011/07/13
Initial version.

CONFIDENTIAL