Releases: mendixlabs/mendix-list-operations-module
Added JA_List_GetIndexOfObject action
Updated for v9 and v10 compatibility
Mendix project version was raised to 9.18.0 in order to make utilities available in Mx10
2.0.0
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
1.1.0
New feature: Move to Index
You can now specify a particular index of the list to move an object to. For example, moving the object in the 2nd position to the 6th can be done in a single java action call (specifying "6" as a parameter), rather than multiple java action calls which move it one step each time.
Documentation has been updated appropriately, as well as other minor improvements.