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

Syntax

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

virtual qBool GetRating(
     ProtocolCallContext * pContext,
     const qUnsignedInt64 dataId,
     qMap< qInt8, DataStoreRatingInfo > * pRatings,
     qUnsignedInt64 accessPassword = DataStoreConstants::INVALID_PASSWORD
);

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

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

Overloaded Member Functions

GetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, DataStoreRatingInfo *, qUnsignedInt64 ) Gets the data ratings information.
GetRating ( ProtocolCallContext *, const qUnsignedInt64, qMap< qInt8, DataStoreRatingInfo > *, qUnsignedInt64 ) Gets the data ratings information.
GetRating ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, qVector< qMap< qInt8, DataStoreRatingInfo > > *, qVector< qResult > * ) Gets the data ratings information in a batch.
GetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, DataStoreRatingInfo *, DataStoreRatingLog *, qUnsignedInt64 ) Gets the data ratings information and the ratings log.

Description of GetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, DataStoreRatingInfo *, qUnsignedInt64 )

Gets a single piece of ratings information for the specified data ID and slot. Only people who have access rights to the data can get the data.

Description of GetRating ( ProtocolCallContext *, const qUnsignedInt64, qMap< qInt8, DataStoreRatingInfo > *, qUnsignedInt64 )

Specifies the data ID and gets ratings information for all slots. Only people who have access rights to the data can get the data.

Description of GetRating ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, qVector< qMap< qInt8, DataStoreRatingInfo > > *, qVector< qResult > * )

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.

Description of GetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, DataStoreRatingInfo *, DataStoreRatingLog *, qUnsignedInt64 )

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.


CONFIDENTIAL