Package ca.cdr.api.transactionlog
Class TransactionLogSearch
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<TransactionLogSearch.SearchKeyEnum,Object>
ca.cdr.api.transactionlog.TransactionLogSearch
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<TransactionLogSearch.SearchKeyEnum,
Object>
This class is just a thin wrapper around a map of search parameters for Transaction Logs.
Usage:
TransactionLogSearch search = new TransactionLogSearch();
search.addSearchParameter(SOURCE_TRANSACTION_ID, "abc-123");
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSearchParameter
(TransactionLogSearch.SearchKeyEnum theParameter, Object theValue) Method which just delegates to the put method, but is more descriptive for implementers.static TransactionLogSearch
all()
put
(TransactionLogSearch.SearchKeyEnum theKey, Object theValue) Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Constructor Details
-
TransactionLogSearch
public TransactionLogSearch()
-
-
Method Details
-
put
- Specified by:
put
in interfaceMap<TransactionLogSearch.SearchKeyEnum,
Object> - Overrides:
put
in classHashMap<TransactionLogSearch.SearchKeyEnum,
Object>
-
addSearchParameter
public void addSearchParameter(TransactionLogSearch.SearchKeyEnum theParameter, @Nonnull Object theValue) Method which just delegates to the put method, but is more descriptive for implementers. -
all
-