msiStoreVersionWithTS ( msParam_t *  inpParam1,
msParam_t *  inpParam2,
msParam_t *  outParam,
ruleExecInfo_t *  rei 
)
Description:
This microservice creates a timestamped backup version of a DataObj.
Module:
ERA
Since:
post-3.1
Author:
Lisa Stillwell
Date:
2012-03-24
Note:
This microservice creates a new name for a DataObj with a current timestamp, and copies the newly named object into the provided (inpParam2) version backup collection. It is intended for use in versioning DataObjs.
Example Usage:
See clients/icommands/test/rules3.0/
Parameters:
[in] inpParam1 - A ObjCopyInp_MS_T or STR_MS_T which would be taken as the src dataObj path.
[in] inpParam2 - A DataObjInp_MS_T which is the destination DataObjInp or STR_MS_T which would be the destination (version backup) object path.
[out] outParam - a INT_MS_T containing the status.
[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 2761 of file eraMS.c.

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