Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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


1TypeNameComment
2GENERICinstanceIdcomment
3GENERICattributeNameOrAttributeId 
4INTEGERmodelVersionfuture extension
5STRINGaggregateOperationCondition 
6INTEGERoptions No options defined yet
7INTEGERaggregateOperation 
8GENERICoperationDependentArgument1 
9GENERICoperationDependentArgument2 

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_XPX_Return_Value'.

Options


 

Example


<Missing Example>

 

See also

Filter by label

There are no items with the selected labels at this time.

 

  • No labels