Migrated Query - 24 find punchedrecords
This commit is contained in:
@@ -40,6 +40,8 @@ public enum ApplicationMessage {
|
||||
"Refresh the application before submitting it again."),
|
||||
APPLICATION_SAVED(200, "APP-2001", "Application saved",
|
||||
"The application details were saved successfully.", ""),
|
||||
APPLICATIONS_LOADED(200, "APP-2002", "Applications loaded",
|
||||
"The application records were loaded successfully.", ""),
|
||||
APPLICATION_SAVE_FAILED(500, "APP-5001", "Application could not be saved",
|
||||
"Cygnus could not save the application details.",
|
||||
"Try again. If the issue continues, share the reference ID with support."),
|
||||
|
||||
15
cygnus-lib/src/main/java/lib/models/PunchedRecordsData.java
Normal file
15
cygnus-lib/src/main/java/lib/models/PunchedRecordsData.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package lib.models;
|
||||
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Collections;
|
||||
|
||||
/** Form-shaped punched applications returned to the case-initiation workspace. */
|
||||
public record PunchedRecordsData(List<Map<String, Object>> records) {
|
||||
public PunchedRecordsData {
|
||||
records = records == null ? List.of() : records.stream()
|
||||
.map(record -> Collections.unmodifiableMap(new LinkedHashMap<>(record)))
|
||||
.toList();
|
||||
}
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,12 +1,12 @@
|
||||
lib/models/MessageDetails.class
|
||||
lib/models/CasePunching.class
|
||||
lib/exceptions/ApplicationException.class
|
||||
lib/models/Option.class
|
||||
lib/models/UserSession.class
|
||||
lib/models/ApiResponse.class
|
||||
lib/models/ApplicationSaveResult.class
|
||||
lib/constants/ApplicationMessage.class
|
||||
lib/models/ApplicationSaveData.class
|
||||
lib/models/UserSession$UserSessionBuilder.class
|
||||
lib/models/MessageDetails.class
|
||||
lib/exceptions/ApplicationException.class
|
||||
lib/models/Option.class
|
||||
lib/models/UserSession.class
|
||||
lib/models/CaseSaveRequest.class
|
||||
lib/models/ApplicationDetails.class
|
||||
|
||||
@@ -8,4 +8,5 @@
|
||||
/Users/maddy/Projects/cygnus/matrix/cygnus-lib/src/main/java/lib/models/CaseSaveRequest.java
|
||||
/Users/maddy/Projects/cygnus/matrix/cygnus-lib/src/main/java/lib/models/MessageDetails.java
|
||||
/Users/maddy/Projects/cygnus/matrix/cygnus-lib/src/main/java/lib/models/Option.java
|
||||
/Users/maddy/Projects/cygnus/matrix/cygnus-lib/src/main/java/lib/models/PunchedRecordsData.java
|
||||
/Users/maddy/Projects/cygnus/matrix/cygnus-lib/src/main/java/lib/models/UserSession.java
|
||||
|
||||
Reference in New Issue
Block a user