Class | Description |
---|---|
AttributesMapper<A extends Attributes<A,V>,V> |
Specialized/Convenient wrapper
Mapper for mapping Attributes .This specialized because Attributes and Attribute have an encapsulated relation which requires awareness of the Attributes interface. |
AttributesSetter<A extends Attributes<A,V>,V> | |
AuthorizableETLMeta<PARAM_META> | |
AuthorizableTransformer |
If a Transformation process has
Authorization needs. |
BastardProductFilter<P extends Product> |
During ETL it is possible that a USER may apply an UPDATE instead on an INSERT on some records
This can technically lead to a product not updating or deriving parent info if parent info is not updated during Updates and gives rise to Bastard Products (ones without any parents) The default implementation of this Filter simply rejects any such records to ensure they don't get into the system. |
CacheLookup |
A Spring based transformer Implement a Cache wrapper over any Transformer
|
CaseInsensitiveListTransformer |
Take any
Collection and convert to CaseInsensitiveList |
CategoryListTransformer |
Load all non-leaf nodes and return List of String[] {Product.getName, Display name with 'escaped space' padding prefixed, Product.getHierarchy}
|
ColorListTransformer |
Pick out unique values from a
List of raw Color strings and present a List of String[] {raw COLOR VALUE, Display Name for Color using WordUtils.capitalize(String) } |
ContentFacetRevert |
Reverts a
AbstractContentFacet.setValue(String) as input, from a ContentFacet for the same ContentDescriber but of status = ContentFacetRevert.statusFrom |
ContentNameConsumer<C extends AbstractContent> |
In some projects for content pages they do not want _ to appear in Name, hence links.
|
DaoWrapperTransformer<T> |
A Transformer capable of returning an object for an id and updating the object if the input to it is the object itself.
|
DeleteRelatedEntitiesJPATransformer |
Related entities can grow in relation to the core entity.
(JPA) This Transformer provides a visitor via injection to the core logic, that can allow manipulating the number of entities that are effected in a delete operation. |
DeleteRelatedEntitiesMySQLTransformer |
Related entities can grow in relation to the core entity.
(MySQL) This Transformer provides a visitor via injection to the core logic, that can allow manipulating the number of entities that are effected in a delete operation. |
EnsureAttributeExistsTransformer |
Extends
EnsureAccessorExistsTransformer
Additionally if any of the instances in the access chain are Attribute type then it sets the Entity and Attribute name to the Attribute . |
EnsureEntityManagerSetTransformer |
Update an
UpdatableContext with EntityManager to ensure if it contains a transient field, that is set back. |
EntityBabyPersistTransformer<E> |
This Transformer will ensure that the entity is persisted and return back the passed in input.
|
EntityManagerProviderTransformer |
Provide Access to
EntityManager
With a lot of classes being Serializable they cannot hold the EntityManager and may need access. |
EntityParamQueryLookup |
Lookup using a Query over ModelObject
Parses the { QueryCacheLookup.getQuery() string for parameters usage like ":param1" and then tries to fetch the value
from the model object and substitute it automatically into the Query . |
EntityPersistTransformer<E> |
Persist an Entity and return the Persisted Entity using the auto wired
EntityManager .Additionally this Transformer is capable of:
Collecting Exceptions in EntityPersistTransformer.exceptions and EntityPersistTransformer.messages if EntityPersistTransformer.failFast is false
Persisting the entity under a TransactionDefinition , if provided via EntityPersistTransformer.setTransactionDef(TransactionDefinition) . |
EntityResourceUploadActionTransformer<T> |
Accepts a context
Map from DocumentManagerPanel .FileUploadForm.postUploadCustomAction()Will return a list of Strings, each corresponding to a path modified or null if no change. |
EntityUpdateResUploadActionTransformer<T> | |
ExcelRowToProductTransformer<P extends Product> | |
ExistingProductLookup<T extends Product> |
Check to see if a
Product already exists, and if so load it based on various other settings provided by this class. |
FileToEntityLookup<T> | |
FileToPathTransformer |
Derive the path for products.
|
FileToProductLookup<P extends Product> | |
FileToProductsTransformer<P extends Product> |
Allow to update an existing Entitie(s) i.e.
|
GetNewHierarcyLookup<T extends Product> |
Given a parent
HierarchialDomainObject , derive next Hierarchy code under its immediate parent |
InputStringToSizeTransformer |
Convert a raw String input to
Size object. |
ModeAwareProductPersistTransformer<P extends Product> |
Persist a Product/Product(s) and return the Persisted Entity
|
MultiCategoryLookup<T extends HierarchialDomainObject> |
Searches for a category to match a criteria defined by
MultiCategoryLookup.queryTransformer . |
ObjectToRowReverseTransformer<T> |
A AbstractReverseTupleToEntityTransformer that exports to an Array of Objects.
One can use UsesIntermediateObject (available via intermediateObjects Map), that refer to the input entity as "entity" and to the tuple being written as "tuple" |
PageToTemplate |
Derive a
Template from its PageIdentifier |
PermaLinkTransformer |
For a Given input String (content) (typically but not restricted to a
AbstractAttribute.getValue() or even AbstractAttribute ,
it allows content to refer to Page URL's dynamically so that if the URL changes then automatically it will apply the change in URL to avoid broken links. |
ProductCategoryLookup<P extends Product> | |
ProductCategoryTransformer<P extends Product> |
Converts a Product to a Category
A category has following main characteristics: Has Children : The adapter will insert a dummy record if it has no children already |
ProductMultiCategoryLookup<T extends Product> | Deprecated
This was the original CatgegoryLookup, however its query is sloppy and specific.
|
ProductNameTransformer<T extends Product> |
Product Name has some restrictions like being unique etc, it cannot be always what is supplied raw; so it is combines with the
Product.getProductCode()
to ensure it is unique. |
ProductPersistTransformer<P extends Product> |
Persist a Product/Product(s) and return the Persisted Entity
|
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 |
QueryCacheLookup<T> | Deprecated
@see
CacheLookup |
QueryResultArrayToEntityTransformer<ENTITY> |
An
ObjectArrayToEntityTransformer that also provides a QueryResultArrayToEntityTransformer.replaceEntityString(String, String) to prepare
the actual Query to return the result array in the expected format as defined by AbstractEntityTransformer.getColumnFieldMapping() |
RelatedEntityPersistTransformer<E extends Identifiable<?>> |
This Transformer will ensure that the entity is persisted and return back the passed in input.
|
RelatedEntityUpdateTransformer<T> |
Takes in an entity, and for it copies, its attributes using an
EntityFieldsCopyTransformer to all its related model entities |
RelWebPathToAbsoluteTransformer | |
SearchJPAQueryBuilderTransformer |
A Search Query Transformer to map Input in a panel to query terms to construct the database JPA search query.
|
SizeFitToCodeTransformer |
Convert a
SizeFit to its code |
SizeToOutputStringTransformer |
Convert a
Size object to a String |
SizeToStringTransformer |
Convert a
Size object to a String |
SizeTypeInitMapperTransformer |
Create a
Size sub-type based on field name and value. |
SpringCacheTransformer |
Uses a
CacheManager to fetch data from a Cache. |
StringToSizeTransformer |
Convert a raw String input to
Size object. |
SubTypeInitMapperTransformer<ENTITY> |
AbstractEntityTransformer s like QueryResultArrayToEntityTransformer ; can use polymorphic instances like Size
for AbstractEntityTransformer.setNestedObjectInitMap(java.util.Map) .While initializing an instance the sub-type needs to be known dynamically based on the key or field name and its value. |
TransactionalTransformer |
Initiates a
Transactional on the inner wrapped Transformer |
UserToJson<U extends AbstractUser> |
Marshal User to JSON
TODO: Add unit test case
|
ValueToAttributeTransformer<A extends Attribute> |
Creates an
Attribute for the input value. |
VelocityContentTransformer |
For a Given input String (content) (or even a
AbstractAttribute.getValue() or AbstractAttribute ), which is assumed to be a velocity script. |
VelocityEntityUpdateResUploadActionTransformer<T> |
This implementation is a velocity based template constructor.
|
VelocityTransformer |
For a Given input
Map or Context or Object merged with the Template defined @ VelocityTransformer.templatePath , return the Content as String. |
WicketURLGeneratorTransformer |
A
URLGeneratorTransformer where the base path can be generated using the Wicket Page Class name. |
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.