Skip to content

2.0.0

Choose a tag to compare

@3loader 3loader released this 04 Jan 15:23

Sample data pages, logic and entities were moved to a separate module within project with examples (ListOperationsExamples). It will no longer be shipped together with Java actions, since it's only purpose is to teach and show how to use ObjectListOperations module.
Examples project is now deployed on a free node

Added 9 other list operations with unit tests and examples page:

  • JA_List_FilterChanged
  • JA_List_FilterIfAttributeHasChanged
  • JA_List_FlatListAssociations
  • JA_List_GetObjectByIndex
  • JA_List_GetRandomObject
  • JA_List_InsertObjectAtIndex
  • JA_List_JoinAttributeToASingleString
  • JA_List_Reverse
  • JA_List_Shuffle

Updated sorting operations:

  • V1 versions are contained in "Deprecated" folder with functionality un changed to prevent breaking changes in existing projects
  • V2 sorting java actions were renamed as "JA_List_MoveObjectToPosition", "JA_List_PerformSortingAction" and "JA_List_SanitizeSorting"
  • V2 sorting java actions now return list of objects that were changed during execution
  • "AffectedList" parameter was renamed to "ProvidedList" similarly to other operations
  • Sorting attribute now also accepts Long attributes
  • Java action documentation was updated accordingly to new changes
  • Java impl package was refactored
  • V1 versions of impl Java package were created to support V1 sorting actions
  • Unit tests coverage for V2 sorting java actions were added

Sanitize sorting Java action:

  • New required parameter "StartingIndex" was added which defines sorting number of the very first element in the list. Usually it is "0" or "1". Before that it was set to "1"

Move to position Java action:

  • "New position" parameter was slightly reworked. It is now should be equal to a value of sorting attribute of another object within shared provided list

Successfully tested latest changed on higher Mendix versions: 8.18.27, 9.24.1, 9.24.13, 10.6.0