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 3 Current »

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.

 

Arguments


1TypeNameComment
2GENERICinstanceIdcomment
3GENERICattributeNameOrAttributeId 
4INTEGERmodelVersionfuture extension
5STRINGaggregateOperationCondition 
6INTEGERoptions No options defined yet
7INTEGERaggregateOperation
OperationOptional argument value
XPX_CREATE_AGGRoperationDependentArgument1 : VAR GENERIC; returning aggregateId of created aggregate
XPX_GET_AGGR_MEMBER_COUNToperationDependentArgument1 : VAR INTEGER : returning number of elements i aggregate
XPX_PUT_AGGR_ELEMENT_BY_INDEX
  1. operationDependentArgument1 : INTEGER;  Aggr element index
  2. operationDependentArgument2 : GENERIC;  Aggr element value
XPX_APPEND_AGGR_ELEMENToperationDependentArgument1 : INTEGER;  Value to be appended to (LIST) aggregate
XPX_ADD_AGGR_ELEMENToperationDependentArgument1 : INTEGER;  Value to be added to (SET/BAG) aggregate
XPX_GET_AGGR_ELEMENT_BY_INDEX
  1. operationDependentArgument1 : INTEGER; aggregate element index
  2. operationDependentArgument2 : VAR GENERIC;  Returning read aggr element value
XPX_GET_AGGR_ELEMENTSoperationDependentArgument1 : VAR AGGREGATE OF GENERIC; Returning aggregate with read elements
XPX_PUT_AGGR_ELEMENTSoperationDependentArgument1 : AGGREGATE OF GENERIC;  Aggregate containg aggr elements to be written into target aggregate
XPX_DELETE_AGGR_ELEMENTS_BY_VALUEoperationDependentArgument1  : Element value to be deleted from aggregate
XPX_DELETE_AGGR_ELEMENT_BY_INDEXoperationDependentArgument1 : INTEGER;  Index of aggr element to be deleted
XPX_INSERT_AGGR_ELEMENT_BEFORE_INDEX
  1. operationDependentArgument1 : INTEGER;  Index of new element in aggregate
  2. operationDependentArgument2 : GENERIC;  Value to be inserted
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