| Modifier and Type | Class and Description |
|---|---|
class |
ObjectToJson
A
JSONTransformer thats an EntityToJson |
| Modifier and Type | Class and Description |
|---|---|
class |
CollectionURLGeneratorTransformer<C extends Product>
A
Transformer that accepts collection Id/sku or any identifier that #collectionFetch accepts or Collection as Product and produces a Link for it. |
| Modifier and Type | Class and Description |
|---|---|
class |
FindTrackCycleTransformer
Fetch existing
TrackCycle
if nothing found a new TrackCycle is created with same
TrackInfo.getNamespace(),
TrackInfo.getOwnerRef() and
TrackCycle.getCycle() as the one passed in.
if an out of Cycle TrackCycle is found, then it is made inactive and
persisted and a new TrackCycle is created with same
TrackInfo.getNamespace(),
TrackInfo.getOwnerRef() and
TrackCycle.getCycle() as the one inactive.
|
| Modifier and Type | Class and Description |
|---|---|
class |
TierToFeatureListTransformer
|
| Modifier and Type | Class and Description |
|---|---|
class |
OrderToMapTransformer
|
class |
OrderURLGeneratorTransformer<O extends Order>
A
Transformer that accepts Order and produces a Payment Link for it.This class does not validate if the link will result in a success if the user clicks it, that depends on App logic like the State of the Order etc thats usually present in an OrderChangeListener or ChangeListener hooked to ChangeGenerator.setListeners(java.util.List)
Note: A more secure version using a SALT can override this Class. |
| Modifier and Type | Class and Description |
|---|---|
class |
LookupChain
Allow chaining of multiple
LookupsTransformerChain.isChainOutput() is ignored for this implementation, as lookup operations are sequential and the next depends on previous. |
class |
TransformerChain
Allow chaining of multiple
Transformers |
| Modifier and Type | Class and Description |
|---|---|
class |
AsynchronousTransformer
Asynchronously forms off the transformation process in parallel; when it finishes it calls a
#listener as a callback with the final output. |
class |
BitsToStringTransformer
Useful in converting an integer to its binary, Hex or octal form.
|
class |
CaseTransformer
Converts Object to String (using toString()) and converts to lower case or upper case or camel case
|
class |
CloneCollection
Clone a
List and every element in it. |
class |
CollectionFilterSortTransformer
Apply a Filter/Predicate & Sorts on the original Collection
|
class |
CollectionToMapSplitterTransformer
Take a
Collection and convert it to a Map based on an CollectionToMapSplitterTransformer.identifier. |
class |
CollectionToStringTransformer
Convert a
Collection to a String. |
class |
CollectionTransformer
|
class |
ConditionalTransformer
A Transformer that takes in input to decide which Transformer will finally execute the given input
|
class |
ConstructEntityTransformer<T,R>
Given a parameter or List of params of
Constructor for type ConstructEntityTransformer.required; produce the object of type |
class |
ContextExtractorTransformer
Some Transformation processes require context/Scope with various interdependencies during the transformation process.
|
class |
ContextMapperTransformer
Some Transformation processes require context/Scope with various interdependencies during the transformation process.
|
class |
ConvertBlankToNullTransformer
Convert all blankes to Null
|
class |
DateTransformer
Take a String or Date and convert it to Date off the given
DateTransformer.format |
class |
DecimalFormatter
Wraps
DecimalFormat |
class |
DeDupeFilterTransformer
Ensure for a
Collection all objects are unique. |
class |
DefaultValueTransformer<T>
Allows one to simply provide a default value.
|
class |
DoNothingTransformer
As the name suggests, in complex operations it maybe required to pass a transformer for the sake of continuity.
Functionally this does nothing but pass the input back as output. |
class |
EmptyToNullTransformer
If a String is Empty (length = 0) then convert it to Null
|
class |
EncodeDecodeTransformer
Encode or Decode using a Character set
|
class |
EntityChainAccessModifierTransformer
A convenient way to modify an entity accessor (e.g.
|
class |
EntityChainAccessTransformer
A convenient way to access (read only) an entity; and derive the accessor object or value using any of the following methods:
Dot chaining convention like "a.b.c".
|
class |
EntityPropertyTransformer
Takes a property from an Entity and applies a
Transformer over it. |
class |
EntityToMapTransformer
Convert an entity to a Map
|
class |
EnumListTransformer<E>
Get all the Enum's within an Enum as a List of that type for each enum.
The ecum in question can be sent as a Class as input or set in EnumListTransformer.enumType.If input is set and a class will override EnumListTransformer.enumType |
class |
EqualsTransformer
Simple Equals check on a
EqualsTransformer.value |
class |
ExcelNumberToDateStringTransformer
In FHF, date is parsed and processed as instance of Number
and converted back to date format
|
class |
ExcelNumberToTimeStringTransformer
In FHF, time in 12-hour format is parsed and processed as instance of Number
and converted back to 12-hour format
|
class |
FileDeleteTransformer
Delete a given File and returns success (true) or fail (false)
|
class |
FileToNameTransformer
Get a File absolute path with name or just name
|
class |
GenerateListTransformer
Generate a List or Array from a given input
Note: This will allow null values. |
class |
IdentifiableTransformer<T>
During processing it maybe required to identify the Transformer associated with a process.
|
class |
IterableToMapTransformer
Based on a expected order of elements in
IterableToMapTransformer.sequence; where each element can be mapped to a name in a map due to predictability of its order index. |
class |
JoinTransformer<T>
Joins multiple
Transformers result as input in a Serial fashion (order of the List of Transformers provided)
If no processor is provided (null value); then the output is the same as input. |
class |
JSONTransformer
Convert JSON String/Object to an Object.
|
class |
LastStateLatchTransformer
If we have a List or Set of records that are delimited or separated by some logically identifiable variables then it is desireable to have a state-ful
mechanism that can tell us what state does the current record belong in based on its delimited position.
Example: +--------------------------------------------------------------+ | DELIM 1 | Rec1 | Rec2 | Rec3 | DELIM 2 | RecA | RecB | RecC | +--------------------------------------------------------------+ .. |
class |
ListArrayTransformer<T>
Convert Array to a List and a List to an Array.
|
class |
ListConcatTransformer
Joins (merges) Lists or processors that result in a List, into a List in the order they are configured.
If an input is provided then that input is passed on in parallel to all processors. |
class |
ListTrimTransformer
Convenience transformer to Remove elements from a List or Array by index.
|
class |
LogTransformer
|
class |
MapCleanTransformer
Remove unnecessary elements from a
Map. |
class |
MapConcatTransformer
Joins multiple Maps or
Map.Entrys in sequence (best as can supported by LinkedHashMap). |
class |
MapToCollectionTransformer
Convert a
Map's Entry values to a CollectionThe order is determined by the order Map.entrySet() iterates.By default the collection type is ArrayList |
class |
MapToEntitiesTransformer
|
class |
MapTransformer
Take a
Map and apply Transformer that matches each Key. |
class |
MergeCols
During an ETL transformation merge multiple columns in a tuple, into a Map OR JSON (if
MergeCols.transformer is a JSONTransformer. |
class |
MethodInvokingTransformer
Spring
MethodInvokingFactoryBean Transformer. |
class |
MonthStrFormatToDateStrTransformer
In FHF, dates in format mm/yyyy are parsed as dd/mm/yyyy by adding 01 in them
|
class |
MonthYearToStringTransformer
In FHF, this transformer is used to display date in MM/yyyy format during reverse ETL.
|
class |
NonSerializableTransformer |
class |
NullifyEmptyObjects
If there is an empty String, Map, Collection,JSON etc.
|
class |
NullToBooleanTransformer
Deprecated.
|
class |
NumberTransformer
Converts a String to a Number; it extracts the number and cleans out characters.
Example: INR 4,000 = 4000.0, or 4,00$ = 400.0 If there are multiple numbers then the first one is picked up You can set the Number Class Type also; or let NumberUtils.createNumber(String) decide the type |
class |
ObjectFieldValueTransformer
Extracts the Field value of an Object.
|
class |
ObjectToArrayTransformer
Package an Object in a Object[] array.
|
class |
ObjectToListTransformer
Package an Object in a
List. |
class |
ParamsRequestToEntitiesTransformer<T>
Creates a
Mapping of 'Param type class' representing the entity to the actual entities instance. |
class |
PrefixSuffixTransformer
Deprecated.
|
class |
ProxyInstanceTransformer<T>
Create a new proxy/clone object from an existing object and override it with @
ProxyInstanceTransformer.fieldValueMap if its provided. |
class |
RegexCleanTransformer
Converts Object to String (using toString()) and Cleans out patterns matching the Regex specified
|
class |
RegexExtractorTransformer
Extract first matching RegEx String
|
class |
RegexReplaceTransformer
Converts parts of string that match a pattern and applies a transformation to those parts
|
class |
RelatedEntityJSONTransformer
Allows to convert a
List of String input into a format that can be flexible enough to describe the relation to other Entities
using any identifier like SKU, Product Code, Model Code etc. |
class |
RelatedEntityReverseJSONTransformer
Allows to convert a JSON String input to a
Collection , to describe the relation to other Entities
using any identifier like SKU, Product Code, Model Code etc. |
class |
ReplaceNullTransformer
Replace Null with a replacement Object
|
class |
ReverseTransformer
Reverse a
List, or reverse a Map key with values and visa-versa |
class |
SeedTransformer<T>
A Transformer that does not consider the input parameter and is usually the Seed for a Chain of transformations.
|
class |
SizeLengthTransformer
Return numeric size for a
Collection or Array |
class |
SmartSingleValuesTransformer
Many transport mechnaisms and requests may default use Arrays or
Collections as values in a Data-Structure (most preferbly a Map). |
class |
SpELTransformer
Spring SpEL Transformer that evaluates a given the input or
SpELTransformer.context. |
class |
StringConcatTransformer
Joins results into a single String
|
class |
StringToListTransformer
Convert a String to a List of Strings Transformer.
|
class |
ThreadLocalTransformer
Passes the
UsesIntermediateObjectImpl.determineInput(Object) into a ThreadLocal variable |
class |
ThrowableToMessageTransformer
Marshal
Throwable to its message |
class |
ToNullTransformer
Nullify
Objects that equal to ToNullTransformer.getValueToCompare() |
class |
TrimCleanTransformer
Converts Object to String (using toString()) and trims it
|
class |
TryCatchTransformer
Allows for try, catch, finally Sand-Boxing of Calls to transformers
|
class |
TypeBooleanTransformer
Converts a Object to Boolean; will return true if input is true, nulls will be ignored.
|
class |
TypeDoubleTransformer
Deprecated.
|
class |
TypeIntegerTransformer
Deprecated.
|
class |
TypeStringTransformer
Converts a Object to String; will return true if input is true, nulls will be ignored
|
class |
URLGeneratorTransformer
Specialized use case of
StringConcatTransformer used to generate URLs.In this a processor is expeected to return a param=value pair. |
class |
UsesIntermediateObjectWrapper<T extends org.apache.commons.collections.Transformer>
Allow a processor;
Transformer, Lookup to be wrapped in this to allow for re-suing existing processors instead of extending UsesIntermediateObjectImpl
for every new use case. |
| Modifier and Type | Class and Description |
|---|---|
class |
ServletRequestToEntitiesTransformer<R extends javax.servlet.ServletRequest>
ParamsRequestToEntitiesTransformer for ServletRequests |
class |
WebMapToEntitiesTransformer
Deprecated.
|
class |
WebURLGeneratorTransformer
A
URLGeneratorTransformer where the base path can be generated using the Wicket Page Class name. |
| Modifier and Type | Class and Description |
|---|---|
class |
MenuItemToLinks<M extends MenuItem<M>,L extends FeedItem>
|
class |
PageIdentifiersToLinks<P extends PageIdentifier,L extends FeedItem>
|
| Modifier and Type | Class and Description |
|---|---|
class |
ContentPagesToRSS2Items<C extends AbstractContent> |
| Modifier and Type | Class and Description |
|---|---|
class |
ContentPagesToSiteMapItems<C extends AbstractContent> |
class |
MenuItemToSiteMapItems<M extends MenuItem<M>> |
| Modifier and Type | Class and Description |
|---|---|
class |
AjaxSiteSessionSecurityFilter.KeyAsSessionIdTransformer
Check request for query param
AjaxSiteSessionSecurityFilter.authKeyParamName.By default will compare to a valid session id. BY DEFAULT THIS LOOPS THROUGH ALL SESSIONS SO NOT IDEAL FOR PRODUCTION. |
| Modifier and Type | Class and Description |
|---|---|
class |
PageToTemplate
Derive a
Template from its PageIdentifier |
class |
ProductURLGeneratorTransformer<P extends Product>
A
Transformer that accepts Product Id/sku or any identifier that ProductURLGeneratorTransformer.productFetch accepts or Product and produces a Link for it.The ProductURLGeneratorTransformer.idParamName part of the URL is encoded in UTF-8
TODO: Add Unit test case |
class |
RelWebPathToAbsoluteTransformer |
class |
ValueToAttributeTransformer<A extends Attribute>
Creates an
Attribute for the input value. |
class |
WicketURLGeneratorTransformer
A
URLGeneratorTransformer where the base path can be generated using the Wicket Page Class name. |
class |
WicketWebToShellTransformer<W,S extends Shell>
Extracts the current
UserShell from a HttpServletRequest, HttpSession, BasicSession or Request that are supported
by an underlying BasicSession. |
Copyright © 2018. All rights reserved.