virtual qBool GetRating( ProtocolCallContext * pContext, const DataStoreRatingTarget & target, DataStoreRatingInfo * pRating, DataStoreRatingLog * pRatingLog, qUnsignedInt64 accessPassword = DataStoreConstants::INVALID_PASSWORD );
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. |
Value | Description |
---|---|
true |
RMC call initialization succeeded. |
false |
Failure. |
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.
QERROR(DataStore, OperationNotAllowed)
case.CONFIDENTIAL