|
msiAssociateKeyValuePairsToObj |
( |
msParam_t * |
metadataParam, |
|
|
msParam_t * |
objParam, |
|
|
msParam_t * |
typeParam, |
|
|
ruleExecInfo_t * |
rei | |
|
) |
| | |
- Description:
- This microservice associates <key,value> p pairs from a given keyValPair_t structure with an object.
- Module:
- framework
- Since:
- pre-2.1
- Author:
- Arcot Rajasekar
- Date:
- 2007-02-01
- 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:
- addAVUMetadataFromKVPairs
Definition at line 490 of file extractAvuMS.c.
|