Code Block | ||||
---|---|---|---|---|
| ||||
FUNCTION xpxWriteProtectedData(instanceId : GENERIC; writeCondition : STRING; attributeNameOrAttributeId1 : GENERIC; attribute1WriteCondition : STRING; attribute1value : GENERIC; attributeNameOrAttributeId2 : GENERIC; attribute2WriteCondition : STRING; attribute2value : GENERIC; . . . attributeNameOrAttributeIdN : GENERIC; attributeNWriteCondition : STRING; attributeNvalue : GENERIC) rstat : INTEGER; |
Use this function to ....
Arguments
...
This functions assigns values to one or more attributes of an specified EDMprotectedData instance. No EDMtransaction must be open when this function is invoked. An EDMwriteTransaction will be stated by this method and committed when successfully performed, and aborted when this methods fails. The first 5 arguments are mandatory, the rest are optional. For each attribute to assign value to, the 3 arguments "attributeNameOrAttributeId", "attributeWriteCondition", and "attributeValue" must be specified. The "attributeWriteCondition" can be specified as INDETERMINATE (?). The actual EDMprotectedData must have been defined with xpxWRITE_ACCESS in the related xpxDefineProtectedData() operation, and the optional defined "writeCondition" must be evaluated to TRUE before this operation can be successfully performed. The "writeCondion" argument must evaluate to TRUE before this operation can be successfully performed. For each attribute to write the actual attribute must have been defined with xpxWRITE_ACCESS, the optional defined "attributeCondition" must be evaluated to TRUE, and the optional "attributeWriteCondition" argument must be evaluated to TRUE, before the actual attribute write operation can be successfully performed.
Arguments
...
Type | Name | Comment | 2 | STRING | resultString |
commentGENERIC | instanceId | comments | |||
STRING | writeCondition | ||||
GENERIC | attributeNameOrAttributeId1 | optional | |||
STRING | attribute1WriteCondition | optional | |||
GENERIC | attribute1value | optional |
Return Value
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
...