Deprecated and Removed Members: Difference between revisions
Jump to navigation
Jump to search
Kate Racaza (talk | contribs) mNo edit summary |
Kate Racaza (talk | contribs) No edit summary |
||
Line 13: | Line 13: | ||
*'''<span style="color:#FCF8F8; background-color:#1D572F"> Major </span>''' The [[Repository Class|Repository class]] has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | *'''<span style="color:#FCF8F8; background-color:#1D572F"> Major </span>''' The [[Repository Class|Repository class]] has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the <code>Repository.GetAllModels()</code> method, which returns a cModel object, has been renamed to <code>Repository.Model.GetAllModels()</code>; similarly, the <code>Repository.ImportBlockSimXMLFile</code> method has been renamed to <code>Repository.BlockSim.ImportBlockSimXMLFile</code>, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API. | ||
* The [[Repository.Model.GetAllModelsInfo|Repository.Model.GetAllModelsInfo()]] method is deprecated. | :* The [[Repository.Model.GetAllModelsInfo|Repository.Model.GetAllModelsInfo()]] method is also deprecated. | ||
* Obsolete properties in the [[CAction Class|cAction class]] have been removed. | * Obsolete properties in the [[CAction Class|cAction class]] have been removed. | ||
<ul><ul> | <ul><ul> | ||
Line 44: | Line 43: | ||
|}</ul></ul> | |}</ul></ul> | ||
* | *Obsolete properties in the [[CScheduledTask_Class|cScheduledTask class]] have been removed. | ||
<ul><ul> | <ul><ul> | ||
{| {{APITableDeprecated}} | {| {{APITableDeprecated}} | ||
|- | |- | ||
| style="width: 200px;"|TaskFrequencyIDOrig|| | | style="width: 200px;"|TaskFrequencyIDOrig||Removed | ||
|- | |- | ||
|TaskFrequencyUnitIDOrig|| | |TaskFrequencyUnitIDOrig||Removed | ||
|- | |- | ||
|TaskFrequencyValueOrig|| | |TaskFrequencyValueOrig||Removed | ||
|- | |- | ||
|TaskFreqValueVariableIDOrig|| | |TaskFreqValueVariableIDOrig||Removed | ||
|}</ul></ul> | |}</ul></ul> |
Revision as of 20:28, 22 October 2015
Below is a summary of what has been changed, removed and deprecated in the Synthesis API since its previous version. The status of an object member may be any of the following:
- Changed - The syntax of the member has changed.
- Deprecated - The member is obsolete and may be removed in future versions of the API. Do not use it in new applications.
- Removed - The member has been removed from the object model.
Revisions since Synthesis API Version 10.0
- Major The Repository class has been restructured. All of its members are now organized into fields named after the object type they apply to. For example, the
Repository.GetAllModels()
method, which returns a cModel object, has been renamed toRepository.Model.GetAllModels()
; similarly, theRepository.ImportBlockSimXMLFile
method has been renamed toRepository.BlockSim.ImportBlockSimXMLFile
, etc. The previous versions of the methods still exist so your code is not broken, but they are deprecated and may be removed in future versions of the API.
- The Repository.Model.GetAllModelsInfo() method is also deprecated.
- Obsolete properties in the cAction class have been removed.
Name | Status |
---|---|
AppAndRevBy | Removed |
AppDate | Removed |
AppUserID | Removed |
CompDate | Removed |
DueDate | Removed |
Duration | Removed |
EstCost | Removed |
PersonResp | Removed |
RespUserID | Removed |
ShortDsc | Removed |
StartDate | Removed |
StatusFlag | Removed |
- Obsolete properties in the cScheduledTask class have been removed.
Name | Status |
---|---|
TaskFrequencyIDOrig | Removed |
TaskFrequencyUnitIDOrig | Removed |
TaskFrequencyValueOrig | Removed |
TaskFreqValueVariableIDOrig | Removed |