nn::nex::DataStoreLogicServerClient::ResetRating Member Function

Syntax

virtual qBool ResetRating(
     ProtocolCallContext * pContext,
     const DataStoreRatingTarget & target,
     qUnsignedInt64 updatePassword = DataStoreConstants::INVALID_PASSWORD
);

virtual qBool ResetRating(
     ProtocolCallContext * pContext,
     const qUnsignedInt64 & dataId
);

virtual qBool ResetRating(
     ProtocolCallContext * pContext,
     const qVector< qUnsignedInt64 > & dataIds,
     const qBool transactional = true,
     qVector< qResult > * pResults = NULL
);

Overloads

ResetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, qUnsignedInt64 ) Resets the data ratings information and the ratings log.
ResetRating ( ProtocolCallContext *, const qUnsignedInt64 & ) Resets the data ratings information and the ratings log.
ResetRating ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, const qBool, qVector< qResult > * ) Resets the data ratings information and the ratings log in a batch.

Description of ResetRating ( ProtocolCallContext *, const DataStoreRatingTarget &, qUnsignedInt64 )

Resets only the slot for the specified data ID. Only people who have update rights for the targeted data can reset.

Description of ResetRating ( ProtocolCallContext *, const qUnsignedInt64 & )

Resets all slots being used with the specified data ID. Only people who have update rights for the targeted data can reset.

Description of ResetRating ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, const qBool, qVector< qResult > * )

Resets all slots being used with the specified data ID. Up to 100 sets of metadata can be batch-processed. The result of processing each data ID specified in dataIds is returned to pResult in the same order in which it was specified. pResult takes only that specified number of results. Only people who have update rights for the targeted data can reset.


CONFIDENTIAL