nn::nex::DataStoreClient::DeleteObject Member Function

Syntax

virtual qBool DeleteObject(
     ProtocolCallContext * pContext,
     const DataStoreDeleteParam & param
);

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

virtual qBool DeleteObject(
     ProtocolCallContext * pContext,
     const qVector< DataStoreDeleteParam > & params,
     const qBool transactional = true,
     qVector< qResult > * pResults = NULL
);

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

Overloads

DeleteObject ( ProtocolCallContext *, const DataStoreDeleteParam & ) Deletes data in storage.
DeleteObject ( ProtocolCallContext *, const qUnsignedInt64 & ) Deletes data in storage.
DeleteObject ( ProtocolCallContext *, const qVector< DataStoreDeleteParam > &, const qBool, qVector< qResult > * ) Batch-deletes data in storage.
DeleteObject ( ProtocolCallContext *, const qVector< qUnsignedInt64 > &, const qBool, qVector< qResult > * ) Batch-deletes data in storage.

Description of DeleteObject ( ProtocolCallContext *, const DataStoreDeleteParam & )

Only people who have update permissions for the data can delete the data. POST data with a specified data ID cannot be deleted from a client. Use DMAS to delete such data.

Description of DeleteObject ( ProtocolCallContext *, const qUnsignedInt64 & )

The behavior is the same as using DataStoreDeleteParam. Only people who have update permissions for the data can delete the data. POST data with a specified data ID cannot be deleted from a client. Use DMAS to delete such data.

Description of DeleteObject ( ProtocolCallContext *, const qVector< DataStoreDeleteParam > &, const qBool, qVector< qResult > * )

Up to 100 sets of metadata can be batch-processed. The result of processing each data ID specified in params 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 permissions for the data can delete the data. POST data with a specified data ID cannot be deleted from a client. Use DMAS to delete such data.

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

The functionality is the same as using DataStoreDeleteParam. 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 permissions for the data can batch-delete the data. POST data with a specified data ID cannot be deleted from a client. Use DMAS to delete such data.


CONFIDENTIAL