msiSetKeyValuePairsToObj ( msParam_t *  metadataParam,
msParam_t *  objParam,
msParam_t *  typeParam,
ruleExecInfo_t *  rei 
)
Description:
This microservice associates or modifies <key,value> p pairs from a given keyValPair_t structure with an object.
Module:
framework
Since:
3.1
Author:
Thomas Ledoux
Date:
2012-01-25
Note:
The object type is also needed:
  • -d for data object
  • -R for resource
  • -G for resource group
  • -C for collection
  • -u for user
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] metadataParam - a msParam of type KeyValPair_MS_T
[in] objParam - a msParam of type STR_MS_T
[in] typeParam - a msParam of type STR_MS_T
[in,out] rei - The RuleExecInfo structure that is automatically handled by the rule engine. The user does not include rei as a parameter in the rule invocation.
Session Variables Used:
none
Session Variables Modified:
none
iCAT Attributes Used:
none
iCAT Attributes Modified:
AVU pairs are associated with an iRODS object
Side Effect:
none
Returns:
integer
Return values:
0 on success
USER_PARAM_TYP_ERROR when input parameters don't match the type from addAVUMetadataFromKVPairs
Precondition:
none
Postcondition:
none
See also:

Definition at line 563 of file extractAvuMS.c.

Generated on Wed Jun 5 23:10:53 2013 for iRODS Documentation by  doxygen 1.6.3