FUNCTION xpxProtectedDataAggrOperations (instanceId : GENERIC; attributeNameOrAttributeId : GENERIC; modelVersion : INTEGER; aggregateOperationCondition : STRING; options : INTEGER; aggregateOperation : INTEGER; operationDependentArgument1 : GENERIC; operationDependentArgument2 : GENERIC; rstat : INTEGER;
This function manupulates implements operations on aggregates of EDMprotectedData instances. Dependent of the actual aggregateOperation, this functions takes 7 or 8 arguments. The optional "aggrOperationCondition" defined in the related xpxDefineProtectedData() must must evaluate to TRUE before this function can be successfully performed. The optional "aggregateOperationCondition" must evaluate to TRUE before this function can be successfully performed.
- For all write operations: The actual EDMprotectedData must be defined with xpxWRITE_ACCESS and the optional defined "writeCondition" must evaluate to TRUE. 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.
- For all read operations: The actual EDMprotectedData must be defined with xpxREAD_ACCESS and the optional defined "readCondition" must evaluate to TRUE.
Operations:
xpxCREATE_AGGR : operationDependentArgument1 : VAR GENERIC; Returning aggregateId of created aggregate
xpxGET_AGGR_MEMBER_COUNT : operationDependentArgument1 : VAR INTEGER : Returning number of elements in aggregate
xpxPUT_AGGR_ELEMENT_BY_INDEX : operationDependentArgument1 : INTEGER; Aggr element index
operationDependentArgument2 : GENERIC; Aggr element value
xpxAPPEND_AGGR_ELEMENT : operationDependentArgument1 : GENERICR; Value to be appended to (LIST) aggregate
xpxADD_AGGR_ELEMENT : operationDependentArgument1 : GENERIC; Value to be added to (SET/BAG) aggregate
xpxGET_AGGR_ELEMENT_BY_INDEX : operationDependentArgument1 : INTEGER; Aggregate element index
operationDependentArgument2 : VAR GENERIC; Returning read aggr element value
xpxGET_AGGR_ELEMENTS : operationDependentArgument1 : VAR AGGREGATE OF GENERIC; Returning aggregate with read elements
xpxPUT_AGGR_ELEMENTS : operationDependentArgument1 : AGGREGATE OF GENERIC; Aggregate to be written into target aggregate
xpx_DELETE_AGGR_ELEMENTS_BY_VALUE : operationDependentArgument1 : GENERIC; Element value to be deleted from aggregate
xpxDELETE_AGGR_ELEMENT_BY_INDEX : operationDependentArgument1 : INTEGER; Index of aggr element to be deleted
xpxINSERT_AGGR_ELEMENT_BEFORE_INDEX : operationDependentArgument1 : INTEGER; Index of new element in aggregate
operationDependentArgument2 : GENERIC; Value to be inserted
Arguments
1 | Type | Name | Comment |
2 | GENERIC | instanceId | comment |
3 | GENERIC | attributeNameOrAttributeId | |
4 | INTEGER | modelVersion | future extension |
5 | STRING | aggregateOperationCondition | |
6 | INTEGER | options | No options defined yet |
7 | INTEGER | aggregateOperation | |
8 | GENERIC | operationDependentArgument1 | |
9 | GENERIC | operationDependentArgument2 |
Return Value
Options
Example
<Missing Example>
See also
Filter by label
There are no items with the selected labels at this time.