EDMinterface/C API

Functionality removed from EDM

 

checkin/checkout removed
The following EDMinterface function are now "removed" from EDM:
 
  edmiRemoteCheckin
 edmiRemoteCheckinEx
 edmiRemoteCheckout
 edmiRemoteCheckoutEx
 
Upon invocation  these functions will now return the error : "Function not supported."
 
The following commands are removed from EDMsupervisor:
 
RemoteSystems>Methods>ChekinDataset
RemoteSystems>Methods>ChekoutDataset
 
RemoteSystems>SystemAdm.>GetServerConfigParamter
RemoteSystems>SystemAdm.>SetServerConfigParamter
RemoteSystems>SystemAdm.>ResetConfigParamters
 
The three latter commands have "never" worked properly!

enhancement of persistent attribute tables

persistent attribute hash tables
The Persistent attribute hash table concept is extended to cover attributes of the following data types:

SdaiString / sdaiSTRING
SdaiInteger /sdaiINTEGER
SdaiInstance / sdaiINSTANCE
EdmiPackedDate / edmPACKED_DATE

The argument "attrIntegerValue" in the following functions, is used to specify the hash table key for hash tables of SdaiString, SdaiInstance, and EdmPackedDate data types.

The argument "attrStringValue" is used to specify the hash table key for hash tables of sdaiSTRING data type.

EdmiError         _CDECL edmiGetHashedAttrInstance          (SdaiModel               modelId,
                                                             SdaiAttr                attrId,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInstance           *instance);

EdmiError         _CDECL edmiGetHashedAttrInstanceEx        (SdaiModel               modelId,
                                                             SdaiEntity              entityId,
                                                             SdaiAttr                attrId,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInstance           *instance);


EdmiError         _CDECL edmiGetHashedAttrInstanceBN        (SdaiModel               modelId,
                                                             SdaiString              entityName,
                                                             SdaiString              attributeName,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInstance           *instance);

EdmiError         _CDECL edmiGetHashedAttrInstances         (SdaiModel               modelId,
                                                             SdaiAttr                attrId,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInteger             maxBufferSize,
                                                             SdaiInteger            *index,
                                                             SdaiInteger            *numberOfHits,
                                                             SdaiInstance           *resultBuffer);

EdmiError         _CDECL edmiGetHashedAttrInstancesEx       (SdaiModel               modelId,
                                                             SdaiEntity              entityId,
                                                             SdaiAttr                attrId,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInteger             maxBufferSize,
                                                             SdaiInteger            *index,
                                                             SdaiInteger            *numberOfHits,
                                                             SdaiInstance           *resultBuffer);

EdmiError         _CDECL edmiGetHashedAttrInstancesBN       (SdaiModel               modelId,
                                                             SdaiString              entityName,
                                                             SdaiString              attributeName,
                                                             SdaiString              attrStringValue,
                                                             SdaiInteger             attrIntegerValue,
                                                             SdaiInteger             maxBufferSize,
                                                             SdaiInteger            *index,
                                                             SdaiInteger            *numberOfHits,
                                                             SdaiInstance           *resultBuffer);
There is also a set of "similar" EDMIremoteInterface functions.

The following new functions are implemented to find all elements in a persistent attribute hash table of data type edmPACKED_DATE that matches a given time interval:

EdmiError         _CDECL edmiGetHashedDateInterval          (SdaiModel               modelId,
                                                             SdaiEntity              entityId,
                                                             SdaiAttr                attrId,
                                                             EdmiPackedDate          firstDate,
                                                             EdmiPackedDate          lastDate,
                                                             SdaiInteger             maxBufferSize,  /* max size in bytes of "resultBuffer"
                                                             SdaiInteger            *index,          /* input: index of first matching instance; 
                                                                                                        First index has value 0 (zero)
                                                                                                        out: index of last matching instance */ 
                                                             SdaiInteger            *numberOfHits,   /* input: max matching instances to return; 
                                                                                                        This value may be overruled by the "maxBufferSize" argument
                                                                                                        out: actual matching istances returned 
                                                                                                      
                                                             SdaiInstance           *resultBuffer);  /* table of matching instances */

EdmiError         _CDECL edmiGetHashedDateIntervalBN        (SdaiModel               modelId,
                                                             SdaiString              entityName,
                                                             SdaiString              attributeName,
                                                             EdmiPackedDate          firstDate,
                                                             EdmiPackedDate          lastDate,
                                                             SdaiInteger             maxBufferSize,
                                                             SdaiInteger            *index,
                                                             SdaiInteger            *numberOfHits,
                                                             SdaiInstance           *resultBuffer);