Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- add(Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- add(Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- addAll(Collection<Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- addAllIfNotNull(Collection<Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- addDaysObjToDate(LocalDate, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addDaysToDate(LocalDate, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addDaysToDateStr(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- addHours(Instant, long) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addIfNotNull(Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- addIfNotNull(Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- addMinutes(Instant, long) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addMonthsObjToDate(LocalDate, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addMonthsToDate(LocalDate, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addMonthsToDateStr(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- addSeconds(Instant, long) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addToMap(Map<String, Object>, String, Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Adds a key-value pair to an existing
Map
and returns the updated map. - addToSet(Set<Object>, Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Adds a single value to an existing
Set
and returns the updated set. - addValuesIfNotNull(Collection<Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- addValuesToSet(Set<Object>, Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Adds multiple values from a collection to an existing
Set
and returns the updated set. - addYearsObjToDate(LocalDate, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addYearsToDate(LocalDate, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- addYearsToDateStr(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterDateStr(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterDateStrPatterned(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterInstant(Instant, Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterOrEqualsDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterOrEqualsDateStr(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterOrEqualsDateStrPatterned(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterOrEqualsToday(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterOrEqualsTodayInst(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterOrEqualsTodayStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterOrEqualsTodayStrPatterned(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterToday(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterTodayInst(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- afterTodayStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- afterTodayStrPatterned(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- ApiUtil - Class in com.ssgllc.fish.service.util.published
- ApiUtil() - Constructor for class com.ssgllc.fish.service.util.published.ApiUtil
- areExactAddresses(CasetivityAddress, CasetivityAddress) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if two CasetivityAddress objects are an exact match.
- areExactAddressesIgnoreUnit(CasetivityAddress, CasetivityAddress) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if two CasetivityAddress objects are an exact match, ignoring the unit field.
- AutoGeneratedIdUtil - Class in com.ssgllc.fish.service.util.registered
- AutoGeneratedIdUtil(CustomIdentifierService) - Constructor for class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
B
- beforeDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeDateStr(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeDateStrPatterned(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- beforeInstant(Instant, Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeOrEqualsDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeOrEqualsDateStr(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeOrEqualsDateStrPatterned(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- beforeOrEqualsToday(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeOrEqualsTodayInst(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeOrEqualsTodayStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- beforeOrEqualsTodayStrPatterned(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- beforeToday(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeTodayInst(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- beforeTodayStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- beforeTodayStrPatterned(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- bothNotNull(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if both values are non-null.
- bothNull(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if both values are null.
C
- calculateMatchScore(DtoT, DtoT, String) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find the match score between two entities without attempting to merge them
- camelToWordPluralizeLast(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a camel case string into a space-separated string and pluralizes the last word.
This method is particularly useful when transforming code identifiers into human-readable text that follows English grammar rules, making it ideal for dynamic UI labels or reports based on object properties. - camelToWords(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts camel case strings into a space-separated string.
This method splits a camel case string (e.g., "CamelCaseString") into separate words ("Camel Case String"), improving readability for display or logging purposes. - CasetivityDocumentService - Class in com.ssgllc.fish.service.util.published
-
Service class for handling document-related operations.
- CasetivityDocumentService() - Constructor for class com.ssgllc.fish.service.util.published.CasetivityDocumentService
- casetivityProperties - Static variable in class com.ssgllc.fish.service.util.registered.ExpressionUtil
- ceil(double) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- checkDictWord(String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
- checkMinValidations(Integer, ValidationResult, ValidationResult, ValidationResult, ValidationResult, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
- checkNumberOfDigits(Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of digits.
- checkNumberOfLowercase(Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of lowercase letters.
- checkNumberOfSpecial(Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of special characters.
- checkNumberOfUppercase(Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of uppercase letters.
- checkPasswordHistory(Integer, String, String, List<User>, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
- checkPasswordLength(Integer, Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password meets the minimum length requirement.
- checkRepeatCount(Integer, Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of repeated characters.
- checkSequenceCount(Integer, String, String) - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
-
Checks whether a password contains the required number of sequential characters.
- clearBatch(DelegateExecution, String) - Method in class com.ssgllc.fish.service.util.registered.WorkflowUtil
-
Clears all batch variables from the execution context that were created with the given batch name.
- coalesce(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns the first non-null object of two objects.
- CollectionUtil - Class in com.ssgllc.fish.service.util.registered
- CollectionUtil.FluentList - Class in com.ssgllc.fish.service.util.registered
- CollectionUtil.FluentMap - Class in com.ssgllc.fish.service.util.registered
- CollectionUtil.FluentSet - Class in com.ssgllc.fish.service.util.registered
- com.ssgllc.fish.service.util.published - package com.ssgllc.fish.service.util.published
- com.ssgllc.fish.service.util.registered - package com.ssgllc.fish.service.util.registered
- compareDate(Instant, Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- compareDateStr(String, String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- compareLocalDate(LocalDate, LocalDate, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- ConceptUtil - Class in com.ssgllc.fish.service.util.registered
- ConceptUtil() - Constructor for class com.ssgllc.fish.service.util.registered.ConceptUtil
- contains(Collection<Object>, Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Determines if the specified collection contains a particular element.
- containsAny(Collection<Object>, Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Determines if any elements in the second collection are present in the first collection.
This checks for any overlap between two collections. - containsCodes(List<String>, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a list of concept identifiers contains a specific concept code.
- containsStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a substring exists within another string.
This method returnsfalse
if the main string is null. - convertFormat(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- convertFormatObject(Object, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- convertFormatsObject(Object, String[], String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- cosDist(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- cosSim(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- countOccurrences(List<String>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Counts the occurrences of each unique string in a list and returns a map with the strings as keys and their counts as values.
- createBatches(DelegateExecution, String, Collection, int) - Method in class com.ssgllc.fish.service.util.registered.WorkflowUtil
-
Creates batches from a given collection and sets each batch as a process variable in the provided execution context.
- createCommonWordsDictionary() - Static method in class com.ssgllc.fish.service.util.registered.PasswordUtil
- createDateFromYearMonthDay(Integer, Integer, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- createDateRange(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- createEmptyFluentList() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a new
CollectionUtil.FluentList
instance with an initially empty list.
This allows for fluent-style operations to add elements to the list immediately after creation. - createEmptyFluentMap() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a new
CollectionUtil.FluentMap
instance with an initially empty map.
This allows for fluent-style operations to put entries into the map immediately after creation. - createEmptyFluentSet() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a new
CollectionUtil.FluentSet
instance with an initially empty set.
This allows for fluent-style operations to add elements to the set immediately after creation. - createEmptyList() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates an empty
List
with Object type elements. - createEmptyMap() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates an empty
Map
with String keys and Object values. - createEmptySet() - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates an empty
Set
with Object type elements. - createEntity(String, Map<String, Object>) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Creates an entity of a particular type based on values provided and returns the created entity.
Example:
def fields = [:];
fields.name = 'NewTemplate';
fields.text = 'hello world';
fields.templateTypeCode = 'PAGE';
return entityUtil.createEntity('TextTemplate', fields);
Returns:
{
"@id": "1",
"id": "c0a83801-876b-191c-8187-6d75a77a0000",
"entityVersion": 1,
"entityType": "TextTemplate",
...
}
- createFluentList(Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a new
CollectionUtil.FluentList
instance initialized with a single object. - createFluentMap(String, Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a new
CollectionUtil.FluentMap
instance initialized with a single key-value pair. - createIntRange(Integer, Integer) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- createListWithRoot(List<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
- createMap(String, Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a
Map
with a single entry using the provided key and value. - createSet(Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Creates a
Set
containing a single specified element. - createSetFromList(Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
- currentUserHasARoleIn(List<String>) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if the current user has any of the given roles.
- currentUserHasRole(String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
D
- DateUtil - Class in com.ssgllc.fish.service.util.registered
- daysBetween(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- daysBetweenObj(Object, Object, boolean) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- daysBetweenStr(String, String, boolean) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- deAccent(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Removes diacritical marks (accents) from a string and cleans up other non-ASCII characters to ensure a plain ASCII representation.
- debug(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- DedupeUtil - Class in com.ssgllc.fish.service.util.registered
- DedupeUtil() - Constructor for class com.ssgllc.fish.service.util.registered.DedupeUtil
- DEFAULT_DATE_PATTERN - Static variable in class com.ssgllc.fish.service.util.registered.DateUtil
- deleteEntity(String, Object) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Delete an instance of an entity object based on its id.
Example:
entityUtil.deleteEntity('TextTemplate', 'c0a83801-876b-191c-8187-6d8d1b9d0003');
- deserializeString(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Deserializes a JSON string into an object of the specified class.
This method dynamically loads the class based on the provided class name and then uses Jackson to deserialize the JSON string into an instance of that class. - diffNonBlankStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if two strings are different and neither is blank.
This method checks that both strings are not blank and do not equal each other, ignoring case. - diffNonBlankStrWithCase(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if two non-blank strings are different, considering case sensitivity.
This method ensures both strings are not blank and are not exactly the same, including case. - diffNonEmptyStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if two strings are different, ignoring case, and neither is empty.
This method checks that both strings are not empty and do not equal each other, ignoring case. - diffNonEmptyStrWithCase(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if two non-empty strings are different, considering case sensitivity.
This method ensures both strings are not empty and are not exactly the same, including case. - DocumentUtil - Class in com.ssgllc.fish.service.util.registered
-
Utility class to fetch documents of an entity.
- DocumentUtil(CasetivityDmsActiveProviderResolver) - Constructor for class com.ssgllc.fish.service.util.registered.DocumentUtil
- downloadFile(String) - Static method in class com.ssgllc.fish.service.util.published.ApiUtil
-
Downloads the contents of a file from a specified URL as a byte array.
- dryRunMerge(DtoT, DtoT) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Dry run the result of merging two entities.
E
- elapsedBetweenTimes(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- encodePassword(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Encodes a password using a secure encoding mechanism.
This method is typically used to encode passwords before storing them in a database. - endOfToday() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- EntityUtil - Class in com.ssgllc.fish.service.util.published
- EntityUtil() - Constructor for class com.ssgllc.fish.service.util.published.EntityUtil
- error(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- evaluateExpression(Object, String, String, boolean) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Evaluate given expression in context of a root object and return result in given type.
Example:
evaluateExpression(entity, "firstName == null", "java.lang.Boolean", false)
Returns:
Boolean true or false
- evaluateExpressionSafe(Object, String, String, boolean, T) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Safely evaluates a given expression within the context of a specified root object and returns the result cast to the specified type.
If the evaluation fails due to an exception, a fallback value is returned instead. - excludeNull(Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Returns a new collection with all null elements excluded from the given collection.
- executeScript(String, Map<String, Object>, List<Map<String, Object>>, Object) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- ExpressionUtil - Class in com.ssgllc.fish.service.util.registered
- ExpressionUtil(UserRepository) - Constructor for class com.ssgllc.fish.service.util.registered.ExpressionUtil
F
- filterByEndsWith(String, String[], String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Filters a string by retaining only those substrings that end with specified patterns.
This method splits the input string by a given delimiter and then filters the resulting tokens by checking if they end with any of the specified patterns. - findEntity(String, String, String, String) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Find a single instance of an entity object based on an exact match of a particular field or null if not found or more than one matches found.
Example:
return entityUtil.findEntity('TextTemplate', 'name', 'EnvConfig', null);
Returns:
{
"@id": "1",
"id": "c0a83801-8757-1958-8187-57c26eb42923",
"entityVersion": 1,
"entityType": "TextTemplate",
...
}
- flatMap(Collection<Object>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Flattens a collection of objects based on a specified field name that represents a nested collection.
This method utilizes reflection to dynamically access getter methods for a specified field, thereby enabling the flattening of nested collections contained within each object. - flatten(Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Flattens a nested collection or array into a single list of objects.
- floor(double) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- FluentList(List<Object>) - Constructor for class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- FluentMap(Map<String, Object>) - Constructor for class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
- FluentSet(Set<Object>) - Constructor for class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- formatDate(LocalDate, String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Formats a LocalDate object using the specified date format.
- formatDateDefault(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Formats a LocalDate object using the default date format specified in casetivityProperties.
G
- generateDocument(String, String, Map<String, Object>, String, String, Instant) - Static method in class com.ssgllc.fish.service.util.published.PrintTemplateUtil
-
Generates a document based on the specified print template, entity data, and other parameters.
- generateRandomAlphanumeric(int) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Generates a random alphanumeric string of a specified length.
This method is useful for creating unique identifiers, temporary passwords, or any other random string needs. - generateRandomAlphaNumericFromString(int, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Generates a random alphanumeric string of a specified length, using only characters provided in a custom set.
This method allows for precise control over the characters that appear in the resulting string, making it useful for cases where specific character requirements must be met, such as including only certain letters or numbers. - generateRandomInt(int, int) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Generates a random integer within a specified range.
This method is often used for random indexing, simulations, or whenever a random number is needed within a defined interval. - generateUnambiguousRandomAlphaNumeric(int) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Generates a random alphanumeric string of a specified length using an unambiguous character set.
This method avoids characters that are easily confused, such as 'O' and '0', 'I' and '1', making it suitable for user-visible codes or keys. - generateUnambiguousRandomAlphaNumericLowercase(int) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Generates a random alphanumeric string of a specified length using an unambiguous, lowercase-only character set.
This method excludes characters that can be easily confused, such as 'o' and '0', 'l' and '1', and ensures all characters are lowercase. - get(int) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- get(String) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
- getAfterLast(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Retrieves the substring after the last occurrence of a specified separator in a string.
If the separator is not found, the method returns the entire string. - getAppConfig(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Retrieves the application configuration value associated with the given name.
- getAppConfigBoolean(String, boolean) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Retrieves the application configuration value associated with the given name as a boolean, or returns the specified default value if the configuration is not found or cannot be parsed as a boolean.
- getAppConfigInteger(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Retrieves the application configuration value associated with the given name as an integer, or returns the specified default value if the configuration is not found or cannot be parsed as an integer.
- getAppConfigString(String, String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
-
Retrieves the application configuration value associated with the given name, or returns the specified default value if the configuration is not found.
- getApplicationProperty(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getBaseUrl() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getBigDecimalFromObject(Object) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- getCache(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getCasetivityDocument(String, String, String, String) - Method in class com.ssgllc.fish.service.util.published.CasetivityDocumentService
-
Retrieves a Casetivity document based on the specified entity and document identifiers.
- getChecksum(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Calculates the SHA-256 checksum of a string and returns it in uppercase.
This method is commonly used to verify data integrity through a cryptographic hash. - getConcatDisplayValues(String, Collection<String>) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Concatenates the display values of concepts within a specified value set based on a collection of their unique identifiers.
- getConceptCodeFromDescription(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique code of a concept based on its description within a specified value set.
- getConceptCodeFromDisplay(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique code of a concept based on its display value within a specified value set.
- getConceptCodeFromId(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique code of a concept based on its unique identifier within a specified value set.
- getConceptCodeFromIdOnly(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique code of a concept based on its unique identifier, without specifying a value set.
- getConceptDescriptionFromId(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the description of a concept based on its unique identifier within a specified value set.
- getConceptDisplayFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the display value of a concept based on its unique code within a specified value set.
- getConceptDisplayFromId(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the display value of a concept based on its unique identifier within a specified value set.
- getConceptDisplayFromIdOnly(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the display value of a concept based on its unique identifier, without specifying a value set.
- getConceptFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a
ConceptDTO
based on its unique code within a specified value set. - getConceptFromDisplay(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a
ConceptDTO
based on its display value within a specified value set. - getConceptFromId(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a
ConceptDTO
based on its unique identifier within a specified value set. - getConceptFromIdOnly(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a
ConceptDTO
based on its unique identifier, without specifying a value set. - getConceptIdFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique identifier of a concept based on its unique code within a specified value set.
- getConceptIdFromDisplay(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique identifier of a concept based on its display value within a specified value set.
- getConceptIdFromId(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique identifier of a concept based on its unique code within a specified value set identifier.
- getConceptRefFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a
Concept
reference based on its unique code within a specified value set. - getConcepts(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves all
ConceptDTO
objects within a specified value set. - getConceptsInGroup(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves a set of
ConceptDTO
that belong to a specific group within a value set. - getCurrentUserId() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets the ID of the currently logged in user.
- getCurrentUserLogin() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets the login name of the currently logged in user.
- getCurrentUserObject() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets the User object for the currently logged in user.
- getCurrentUserProperty(String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns the property for the current user's session as specified in the userTokenFields of the casetivity.properties file for the application.
- getCurrentUserRoles() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets a list of the roles that the currently logged in user belongs to.
- getCurrentUserUuid() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets the UUID of the currently logged in user.
- getCurrentUserUuidStr() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Gets the UUID string of the currently logged in user.
- getDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Converts the given object into a
Date
object. - getDateFromInstant(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDateFromJodaDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDateFromLocalDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDateFromString(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDateFromStringObject(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDateString(Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns a string representation of a date object.
- getDaysBetween(LocalDate, LocalDate, boolean) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getDuplicateItems(List<String>) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns a string containing the items that appear more than once in a list.
- getDuplicates(Collection<Object>, Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Identifies and returns the common elements between two collections.
- getEcPrivateKeyFolder() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getEntity(String, Object, String) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Get an instance of an entity object based on its id or null if not found.
Example:
return entityUtil.getEntity('TextTemplate', 'c0a83801-8757-1958-8187-57c296c2292b', 'roles');
Returns:
{
"@id": "1",
"id": "c0a83801-8757-1958-8187-57c296c2292b",
"entityVersion": 1,
"entityType": "TextTemplate",
...
"roles": [...],
"rolesIds": [...],
...
}
- getEntityManager() - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Retrieves the EntityManager instance used for executing queries.
- getEnvironmentName() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getFromCache(String, String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getHtmlListFromList(List<String>, String, String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Converts a list of strings into an HTML unordered list with optional styles and HTML wrappers.
- getHtmlTableFromList(List<Map<String, String>>, List<String>, List<String>, String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Converts a list of maps into an HTML table with optional CSS styles for the table, headers, and cells.
- getInitializedConceptFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves an initialized
Concept
based on its unique code within a specified value set. - getInstantFromDate(Date) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getInstantFromObject(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getInstantFromString(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getIsoDateTimeString(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getList() - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- getLocalDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLocalDateFromDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLocalDateFromInstant(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLocalDateFromJodaDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLocalDateFromObject(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLocalStrFromUtcInstant(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getLong(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
- getLongFromString(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a string representation of a number into a
Long
.
This method attempts to parse a string as a long value. - getMap() - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
- getMatches(T) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find the existing entities matching a proposed one, using the existing dedupe configuration
- getMatchesForBlockQueryAndMatchExpr(DtoT, String, String) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find the existing entities matching a proposed one, using a custom match expression and blocking set query It's recommended that you use the version that takes a blocking List instead, to avoid putting raw SQL in your scripts
- getMatchesForMatchExpr(T, String) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find the existing entities matching a proposed one, using a custom match expression
- getMatchesInBlockingSet(DtoT, List<DtoT>) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find matches between a proposed entity and a given set, using the configured match expression
- getMatchesInBlockingSetForMatchExpr(DtoT, List<DtoT>, String) - Static method in class com.ssgllc.fish.service.util.published.MergeTools
-
Find matches between a proposed entity and a given set, using a custom match expression
- getNickName(String, String) - Static method in class com.ssgllc.fish.service.util.registered.NameUtil
- getNotificationConfigFromString(String) - Method in class com.ssgllc.fish.service.util.registered.WorkflowUtil
-
Deserializes a JSON string into a process notification object.
- getRequest(String, Map<String, String>) - Static method in class com.ssgllc.fish.service.util.published.ApiUtil
-
Sends an HTTP GET request to the specified URL with optional headers and returns the response.
- getSeq(String) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Retrieves the next sequence number as a string for the specified key, starting from 1 if necessary.
This method simplifies accessing sequences by defaulting to a starting value of 1 if no current sequence exists for the key. - getSeqWithSeqStart(String, Long) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Retrieves the next sequence number as a string, starting from a specified initial value if necessary.
This method accesses a persistent sequence controlled by theCustomIdentifierService
, ensuring that each sequence is unique per key. - getSet() - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- getSingleMatchFromDecisionTable(String, Map<String, Object>) - Method in class com.ssgllc.fish.service.util.registered.WorkflowUtil
-
Reads single matching rule from decision table
- getStartDateOfYearByWeeks(int) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getStringFromDate(Object, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getStringFromInstant(Instant, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getStringFromInstantPatterned(Instant) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getSystemTimezone() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getTextAsLinkedMap(String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Converts a JSON string into a
LinkedHashMap
maintaining the order of elements as in the original JSON. - getTextAsList(String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Converts a JSON string into a list of
LinkedHashMap
s, preserving the order of elements within each map. - getTextAsListFromTemplate(String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Retrieves a list of JSON maps from a named template.
- getTextAsMap(String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Converts a JSON string into a
Map
with String keys and Object values. - getTextAsMapFromTemplate(String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Retrieves a JSON map from a named template.
- getTextTemplate(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- getUserFromId(String) - Static method in class com.ssgllc.fish.service.util.registered.UserUtil
- getUserIdByLogin(String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Deprecated.
- getUserIdByLogin(String) - Static method in class com.ssgllc.fish.service.util.registered.UserUtil
- getUserProperty(BpmUser, String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
- getValueSetIdFromCodeOnly(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Retrieves the unique identifier of a value set based on its code.
- getWeekOfDateByWeeks(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- getYearOfDateByWeeks(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
H
- hasDuplicates(Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Determines whether a collection contains duplicates.
I
- info(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- inspect(Object) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- instantNow() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- isBackend() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
- isBlank(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a string is blank (null, empty, or whitespace only).
This method delegates toStringUtils.isBlank
to evaluate the string. - isConceptInGroup(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a concept belongs to a specific group within a value set based on its unique identifier.
- isConceptInGroupFromCode(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a concept belongs to a specific group within a value set based on its unique code.
- isContainedInOther(String, String, String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if one string is contained in another string.
- isDate(Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- isDebugEnabled() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- isEmpty(Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Checks if a collection is empty or null.
- isEmptyStr(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a string is empty (null or empty string).
This method delegates toStringUtils.isEmpty
to evaluate the string. - isErrorEnabled() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- isFirstLastBirthDateExact(CasetivityPerson, CasetivityPerson) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if the first name, last name, and birth date fields in two CasetivityPerson objects are an exact match.
- isFirstLastGenderBirthDateExact(CasetivityPerson, CasetivityPerson) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if the first name, last name, gender, and birth date fields in two CasetivityPerson objects are an exact match.
- isFirstLastMiddleExact(CasetivityPerson, CasetivityPerson) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if the first name, last name, and middle name fields in two CasetivityPerson objects are an exact match.
- isFloat(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if the provided string can be parsed into a
Float
.
This method checks if the string is a valid float by attempting to parse it usingStringUtil.toFloat(String)
. - isFrontend() - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
- isInfoEnabled() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- isInt(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if the provided string can be parsed into an
Integer
.
This method checks if the string is a valid integer by attempting to parse it usingStringUtil.toInt(String)
. - isNotBlank(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a string is not blank (not null, not empty, and not whitespace only).
This method delegates toStringUtils.isNotBlank
to evaluate the string. - isNotEmpty(Object) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Checks if a collection is not empty and not null.
- isNotEmpty(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a string is not empty (neither null nor an empty string).
This method delegates toStringUtils.isNotEmpty
to evaluate the string. - isOnlySafeCharacters(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Determines if the provided string contains only "safe" characters.
"Safe" characters are defined as those that are safe from a SQL injection perspective. - isSoundexMatch(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- isStringValidDate(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- isToday(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- isTodayStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- isTodayStrPatterned(String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- isTraceEnabled() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- isUnique(List<Object>) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if a list contains only unique items.
- isValidConcept(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a concept is valid within a specified value set based on its unique identifier.
- isValidConceptFromCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a concept is valid within a specified value set based on its unique code.
- isValidConceptFromDisplay(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a concept is valid within a specified value set based on its display value.
- isValidEmail(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Validates an email address based on a predefined pattern.
This method checks if the provided email string conforms to a specific pattern that defines a valid email format. - isValidUUIDString(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if the provided string is a valid UUID, with or without dashes.
This method evaluates the string against standard UUID patterns to determine its validity. - isWarnEnabled() - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
J
- jaccardDist(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- jaccardSim(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- jaroWinklerDist(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- joinStr(Collection<String>, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Joins a collection of strings into a single string, separated by the specified separator.
- joinStrings(String, Collection<String>) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Joins a collection of strings into a single string with a specified delimiter.
This method concatenates elements of the provided collection, separating them with the specified delimiter. - joinUniqStr(Collection<String>, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Joins a collection of unique, non-blank strings into a single string, separated by the specified separator.
This method first filters out duplicate and blank strings from the input collection before joining.
L
- leftPad(String, int, String) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Pads the given string on the left to reach a specified size using the provided padding string.
This method ensures that the length of the result meets the specified size by adding the pad string to the beginning of the input string. - length(Collection<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Returns the number of elements in a given collection.
- levDist(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringComparisonUtil
- lowerFirstPlural(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts the first letter of a string to lowercase and then makes the string plural.
This method uses theEnglish.plural
method from the Atlassian library to pluralize the string after the first character has been converted to lowercase.
M
- map(Collection<Object>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Maps each element in a collection to its specific field value using reflection.
- mapConceptCode(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Maps a concept code from a specified value set to its display value, or returns the input code if the mapping is not found.
- mapConceptCodeNull(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Maps a concept code from a specified value set to its display value, or returns null if the mapping is not found.
- matchPattern(String, String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Deprecated.This method is deprecated. Use SpEL matches to achieve the same functionality.
- MathUtil - Class in com.ssgllc.fish.service.util.registered
- MathUtil() - Constructor for class com.ssgllc.fish.service.util.registered.MathUtil
- max(Collection<Object>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Finds and returns the maximum element in a collection of objects based on a specified field.
- maxDTO(Collection<CasetivityEntityDTO>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Finds and returns the maximum element in a collection of
invalid reference
IdentifierDTO
- maxValue(Collection<Object>, String, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Retrieves the value of a specified field from the object with the maximum value in another specified field within a collection.
- mergePdfDocuments(String, String, String, String, String, String, String, String, String) - Method in class com.ssgllc.fish.service.util.published.CasetivityDocumentService
-
Merges two PDF documents retrieved using the provided entity and document identifiers.
- mergePdfDocuments(List<CasetivityDmsDocDTO>, String) - Method in class com.ssgllc.fish.service.util.published.CasetivityDocumentService
-
Merges a list of PDF documents into a single PDF document.
- MergeTools - Class in com.ssgllc.fish.service.util.published
- MergeTools() - Constructor for class com.ssgllc.fish.service.util.published.MergeTools
- min(Collection<Object>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Finds and returns the minimum element in a collection of objects based on a specified field.
- minDTO(Collection<CasetivityEntityDTO>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Finds and returns the minimum element in a collection of
invalid reference
IdentifierDTO
- minValue(Collection<Object>, String, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Retrieves the value of a specified field from the object with the minimum value in another specified field within a collection.
- mlAddressMatch(CasetivityAddress, CasetivityAddress) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns the match score between two CasetivityAddress objects using MLAddressMatch.
- mlPersonMatch(CasetivityPerson, CasetivityPerson) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns the match score between two CasetivityPerson objects using MLPersonMatch.
- mlPersonMatchScores(CasetivityPerson, CasetivityPerson) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Returns a ScoreHolder object containing the match scores between two CasetivityPerson objects using MLPersonMatch.
- monthsBetween(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- monthsBetweenObj(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
N
- NameUtil - Class in com.ssgllc.fish.service.util.registered
- NameUtil() - Constructor for class com.ssgllc.fish.service.util.registered.NameUtil
- now() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
O
- oneNullOneGiven(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if one of the values is null and the other is non-null.
P
- pad(String, int, String) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Pads the given string on the left to reach a specified size using the provided padding string.
This is a convenience method that delegates toAutoGeneratedIdUtil.leftPad(String, int, String)
. - parseToList(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Splits a string formatted like an array or list, potentially enclosed in brackets, parentheses, or other characters, into a list of strings based on a specified delimiter.
- passwordMatches(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if a plain password matches its encoded version using a password encoder.
This method is typically used to verify user passwords during authentication processes. - PasswordUtil - Class in com.ssgllc.fish.service.util.registered
- PasswordUtil(EntityConfigCacheService) - Constructor for class com.ssgllc.fish.service.util.registered.PasswordUtil
- pluralize(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a singular word to its plural form according to English language rules.
This method is useful for generating user interfaces or reports where grammatical correctness is required. - postRequest(String, String, Map<String, String>) - Static method in class com.ssgllc.fish.service.util.published.ApiUtil
-
Sends an HTTP POST request to the specified URL with a JSON body and optional headers, then returns the response.
- PrintTemplateUtil - Class in com.ssgllc.fish.service.util.published
- PrintTemplateUtil() - Constructor for class com.ssgllc.fish.service.util.published.PrintTemplateUtil
- publishProcessEvent(String, String, TaskEntity, DelegateExecution, Map<String, Object>) - Method in class com.ssgllc.fish.service.util.registered.WorkflowUtil
-
Publishes a process event to handle workflow notifications for a specific custom category and action.
This method triggers the notification handling logic to evaluate configured expressions, resolve recipients, and send notifications based on the provided event details. - put(String, Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
- putIfNotNull(String, Object) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
Q
- queryList(String) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query and returns the result as a list of objects.
- queryListLimit(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with a result limit and returns the result as a list of objects.
- queryListLimitPage(String, Integer, Integer) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with pagination and a result limit, returning the result as a list of objects.
- queryListParam(String, Map<String, Object>) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with named parameters and returns the result as a list of objects.
- queryListParamLimit(String, Map<String, Object>, Integer) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with named parameters and a result limit, returning the result as a list of objects.
- queryListParamLimitPage(String, Map<String, Object>, Integer, Integer) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with named parameters, pagination, and a result limit, returning the result as a list of objects.
- querySingle(String) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query and returns a single result.
- querySingleParam(String, Map<String, Object>) - Static method in class com.ssgllc.fish.service.util.registered.QueryUtil
-
Executes an HQL query with named parameters and returns a single result.
- QueryUtil - Class in com.ssgllc.fish.service.util.registered
- QueryUtil(EntityManager, GenericQueryService) - Constructor for class com.ssgllc.fish.service.util.registered.QueryUtil
R
- random() - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- randomDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- randomElementFromList(String[]) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Selects a random element from a provided array of strings.
This method is useful for randomly selecting a name or any string from a fixed list. - randomFemaleFirstName() - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Selects a random female first name from a predefined list of common female first names.
This method is suitable for generating sample data, mock-ups, or for use in situations where random female first names are required. - randomLastName() - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Selects a random last name from a predefined list of common last names.
This method can be used for generating sample data, mock-ups, or wherever random last names are required. - randomMaleFirstName() - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Selects a random male first name from a predefined list of common male first names.
This method is useful for generating sample data, mock-ups, or wherever random male first names are needed. - recursiveCollectParent(Object, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Recursively collects parent objects from a given object, using a specified field name to identify parent relationships, until no further parent is found.
This method is useful for creating a list of parent objects in hierarchical data structures such as organizational charts or nested categories. - recursiveFlatMap(Collection<Object>, String, boolean) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Recursively maps and flattens a collection based on a specified field name, optionally including the root level elements.
This method is particularly useful for structures like user roles where each role can inherit other roles, and it's necessary to retrieve all unique roles including inherited ones. - removeDuplicates(Collection<Object>, boolean) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Removes duplicates from a given collection, returning either a Set or a List based on the specified preference.
- resetOrInitSeqNo(String) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Resets the sequence number to 0 or initializes it if it does not exist for the specified key.
This method interacts with theCustomIdentifierService
to ensure that sequences can be reinitialized or created anew, which is useful in scenarios requiring sequence renumbering or setup. - reverse(List<Object>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Reverses the order of elements in the provided list.
- rightPad(String, int, String) - Static method in class com.ssgllc.fish.service.util.registered.AutoGeneratedIdUtil
-
Pads the given string on the right to reach a specified size using the provided padding string.
This method extends the length of the string by adding the pad string to the end until it reaches the specified size. - round(double, int) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
S
- safeCharacterRegex - Static variable in class com.ssgllc.fish.service.util.registered.StringUtil
- sameDate(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- sameDateStr(String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- sameDateStrPatterned(String, String) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- sameNonBlankStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if two strings are the same, ignoring case, and neither is blank.
This method ensures both strings are not blank and are equivalent when ignoring case differences. - sameNonBlankStrWithCase(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if two non-blank strings are exactly the same, considering case sensitivity.
This method ensures both strings are not blank and are exactly the same, including case. - sameNonEmptyStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if two strings are the same, ignoring case, and neither is empty.
This method ensures both strings are not empty and are equivalent when ignoring case differences. - sameNonEmptyStrWithCase(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Checks if two non-empty strings are exactly the same, considering case sensitivity.
This method ensures both strings are not empty and are exactly the same, including case. - searchEntity(String, Map<String, Object>, int, int, String, boolean, String) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Search for entities of a particular type matching a series of filter criterias.
Example:
def searchFields = [:];
searchFields['templateType.code.equals'] = 'SCRIPT';
return entityUtil.searchEntity('TextTemplate', searchFields, -1, 0, 'name', true, null);
Returns:
[{
"@id": "1",
"id": "c0a83801-8757-1958-8187-57c1033428db",
"entityVersion": 1,
"entityType": "TextTemplate",
...
},{
"@id": "1",
"id": "c0a83801-8757-1958-8187-57c1093428dc",
"entityVersion": 1,
"entityType": "TextTemplate",
...
}...
}]
- serializeObject(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Serializes an object to JSON using a minimal JSON printer.
This method converts Java objects into a JSON string format while minimizing whitespace and formatting. - serializeObjectPretty(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Serializes an object to JSON with indentation for improved readability.
This method converts Java objects into a formatted JSON string, using indents and line breaks to make the output human-readable. - setApplicationContext(ApplicationContext) - Method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
- setDatabase(String) - Method in class com.ssgllc.fish.service.util.registered.DateUtil
- setList(List<Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentList
- setMap(Map<String, Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentMap
- setSet(Set<Object>) - Method in class com.ssgllc.fish.service.util.registered.CollectionUtil.FluentSet
- setTimeToNoon(Date) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- sort(Collection<Object>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Sorts a collection of objects based on the values of a specified field.
- sortDTO(Collection<CasetivityEntityDTO>, String) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Sorts a collection of
CasetivityEntityDTO
objects based on the values of a specified field. - sortStr(Collection<String>) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Sorts a collection of strings in ascending order.
This method takes a collection of strings and returns a new sorted list. - splitAndClean(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Splits a string by a specified delimiter and returns a collection of non-blank, trimmed substrings.
This method trims each substring resulting from the split and filters out any that are blank. - splitStr(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Splits a given string into a list of substrings using the specified separator.
- startOfToday() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- StringComparisonUtil - Class in com.ssgllc.fish.service.util.registered
- stringFromUUID(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a UUID object into its string representation.
- StringUtil - Class in com.ssgllc.fish.service.util.registered
- sum(Collection<? extends Number>) - Static method in class com.ssgllc.fish.service.util.registered.CollectionUtil
-
Finds and returns the maximum element in a collection of objects based on a specified field.
- SystemUtil - Class in com.ssgllc.fish.service.util.registered
- SystemUtil(Environment, EntityConfigCacheService, CustomCacheService, ApplicationProperties) - Constructor for class com.ssgllc.fish.service.util.registered.SystemUtil
T
- toBase32Str(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a base-32 string.
This method delegates toStringUtil.toBaseNStr(Object, Integer)
with a radix of 32, providing a string representation of the number in base-32. - toBase36Str(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a base-36 string.
This method delegates toStringUtil.toBaseNStr(Object, Integer)
with a radix of 36, providing a string representation of the number in base-36. - toBase64(String, String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DocumentUtil
-
Fetch the base64 data bytes of anyBlob document stored in given field of a given entity.
- toBase64Png(String, String, String, String) - Static method in class com.ssgllc.fish.service.util.registered.DocumentUtil
-
Returns image data stored in given field of a specific entity in PNG format with base64 encoding.
- toBase64PngRange(String, String, String, String, Integer, Integer) - Static method in class com.ssgllc.fish.service.util.registered.DocumentUtil
-
Same as
DocumentUtil.toBase64Png(java.lang.String,java.lang.String,java.lang.String,java.lang.String)
with extra ability to accept page start and end indexes for PDF document types. - toBaseNStr(Object, Integer) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a string in the specified base (radix).
This method first converts the object to aLong
, then returns its string representation in the specified radix. - toBaseNStrFromCharList(Long, Integer, char[]) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a long integer to a string representation in a custom radix using a specified character list for digit mapping.
This method allows for conversion of numbers to any base betweenCharacter.MIN_RADIX
and the length of the character list provided. - toBaseNStrUnambiguous(Object, Integer) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a string in a specified base using an unambiguous character set.
This method uses a predefined set of characters that excludes easily misread characters (like '0', '1', 'o', 'l') to minimize confusion. - toBaseNStrUnambiguousLetters(Object, Integer) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a string in a specified base using an unambiguous set of letters and digits.
This method uses a predefined set of characters that excludes easily misread characters (like 'O', 'I', 'L') to minimize confusion, and delegates the conversion toStringUtil.toBaseNStrFromCharList(Long, Integer, char[])
using the 'unambiguousLetters' character set. - toBigDecimal(int) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- today() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- todayDate() - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
-
Deprecated.
- toFloat(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Attempts to convert a string to a
Float
.
This method uses theFloats.tryParse
function from Google Guava to safely parse the string into a float. - toHexStr(Object) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts an object representing a number into a hexadecimal string.
This method delegates toStringUtil.toBaseNStr(Object, Integer)
with a radix of 16. - toInt(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Attempts to convert a string to an
Integer
.
This method uses theInts.tryParse
function from Google Guava to safely parse the string into an integer. - toIntExact(long) - Static method in class com.ssgllc.fish.service.util.registered.MathUtil
- toProperCase(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts all words in a string to proper case, where each word starts with a capital letter and the rest are lowercase.
This method uses theWordUtils.capitalizeFully
function from Apache Commons Lang to capitalize each word in the string fully. - trace(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- translate(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Retrieves the translation of a specified key for the default language, which is English.
This method is a convenience overload ofStringUtil.translateTo(String, String)
that defaults the language to English ('en'). - translateFullString(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Translates a string containing tokens identified by %{key} into English.
This method searches the input string for placeholders in the format %{key} and replaces them with their translations based on the specified language code. - translateFullStringTo(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Translates a string containing tokens identified by %{key} into the specified language.
This method searches the input string for placeholders in the format %{key} and replaces them with their translations based on the specified language code. - translateTo(String, String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Retrieves the translation of a specified key for a given language.
This method queries a cache or a configuration service to fetch the translation based on the key and the specified language. - transposeMonthAndDay(LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DedupeUtil
-
Transpose day and month
- truncate(String, Integer) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Truncates a string to the specified maximum width.
U
- uniqStr(Collection<String>) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Returns a collection of unique, non-blank strings from the provided collection.
- update(String) - Static method in class com.ssgllc.fish.service.util.published.UpdateUtil
- updateEntity(String, Object, Map<String, Object>) - Static method in class com.ssgllc.fish.service.util.published.EntityUtil
-
Creates an entity of a particular type based on values provided and returns the created entity.
Example:
def fields = [:];
fields.text = "entityUtil.getEntity('TextTemplate', 'c0a83801-876b-191c-8187-6d75a77a0000', null);";
fields.templateTypeCode = 'SCRIPT';
return entityUtil.updateEntity('TextTemplate', 'c0a83801-876b-191c-8187-6d7b77fd0002', fields);
Returns:
{
"@id": "1",
"id": "c0a83801-876b-191c-8187-6d7b77fd0002",
"entityVersion": 1,
"entityType": "TextTemplate",
...
}
- updateParam(String, Map<String, Object>) - Static method in class com.ssgllc.fish.service.util.published.UpdateUtil
- UpdateUtil - Class in com.ssgllc.fish.service.util.published
- UpdateUtil(GenericQueryService) - Constructor for class com.ssgllc.fish.service.util.published.UpdateUtil
- userHasARoleIn(BpmUser, List<String>) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if a given user has any of the given roles.
- userHasRole(BpmUser, String) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
Checks if a given user has a specified role.
- UserUtil - Class in com.ssgllc.fish.service.util.registered
- UserUtil() - Constructor for class com.ssgllc.fish.service.util.registered.UserUtil
- uuidFromString(String) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a string representation of a UUID into a
UUID
object. - uuidRegex - Static variable in class com.ssgllc.fish.service.util.registered.StringUtil
- uuidStr(UUID) - Static method in class com.ssgllc.fish.service.util.registered.StringUtil
-
Converts a UUID to a database-friendly string format.
This method first converts the UUID to a standard string representation and then transforms it into a format suitable for database storage.
V
- valuesetIsLoaded(String) - Static method in class com.ssgllc.fish.service.util.registered.ConceptUtil
-
Checks if a value set is loaded based on its unique code.
W
- warn(String) - Static method in class com.ssgllc.fish.service.util.registered.SystemUtil
- weekdaysBetween(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- WorkflowUtil - Class in com.ssgllc.fish.service.util.registered
- WorkflowUtil() - Constructor for class com.ssgllc.fish.service.util.registered.WorkflowUtil
Y
- yearsBetween(LocalDate, LocalDate) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
- yearsBetweenObj(Object, Object) - Static method in class com.ssgllc.fish.service.util.registered.DateUtil
Z
- Z(Object) - Static method in class com.ssgllc.fish.service.util.registered.ExpressionUtil
-
ZeroOrOne: Returns 0 if the value is null or blank, else returns 1.
All Classes and Interfaces|All Packages|Constant Field Values