msiDataObjAutoMove ( msParam_t *  inpParam1,
msParam_t *  inpParam2,
msParam_t *  inpParam3,
msParam_t *  inpParam4,
msParam_t *  inpParam5,
ruleExecInfo_t *  rei 
)
Description:
This microservice is used to automatically move the newly created file into a destination collection.
Module:
core
Since:
2.2
Author:
Bing Zhu
Date:
2009-07
Note:
This microservice changes the ownership for the dataset(s) being moved.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam1 - a STR_MS_T containing the object name with path. It usually comes from query as "$objPat like /zone/../%" in the deployed microservice
[in] inpParam2 - a STR_MS_T containing the leading collection name to be truncated
[in] inpParam3 - a STR_MS_T containing the destination collection
[in] inpParam4 - a STR_MS_T containing the new owner
[in] inpParam5 - a STR_MS_T containing a flag for whether the checksum should be computed

  • true - default - will compute the checksum
  • false - will not compute the checksum
[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:
none
Side Effect:
none
Returns:
integer
Return values:
0 upon success
Precondition:
none
Postcondition:
none
See also:
none

Definition at line 728 of file reAutoReplicateService.c.

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