Package | Description |
---|---|
com.neurosys.ecom.strategy.service | |
com.neurosys.modules.search | |
com.neurosys.utils |
Modifier and Type | Field and Description |
---|---|
static MarshalUtils.GenericTransformer<PromotionForUser,String> |
DefaultPromotionStrategy.PROMOTION_STRING_TRANSFORMER
Create a Notation - PromotionName:UserId:CouponCode
|
static MarshalUtils.GenericTransformer<String,PromotionForUser> |
DefaultPromotionStrategy.STRING_PROMOTION_TRANSFORMER
Read the Notation - PromotionName:UserId:CouponCode to produce a PromotionForUser transient object
|
Modifier and Type | Class and Description |
---|---|
class |
DocumentIdentifierTransformer
Derive the Entity Identifier from the entity
|
Modifier and Type | Field and Description |
---|---|
static MarshalUtils.GenericTransformer |
MarshalUtils.jsonAuthTransformer |
static MarshalUtils.GenericTransformer<net.sf.ezmorph.bean.MorphDynaBean,Authorization> |
MarshalUtils.morphDynaBeanToAuthTransformer |
Modifier and Type | Method and Description |
---|---|
static <S,T> Collection<T> |
MarshalUtils.convert(Collection<S> collection,
MarshalUtils.GenericTransformer<S,T> valueTransformer)
Returns a new Collection with the modified types
|
static <S,T> Collection<T> |
MarshalUtils.convert(Collection<S> collection,
MarshalUtils.GenericTransformer<S,T> valueTransformer,
Collection<T> existingCollection)
Adds to an existing Collection with the modified types
|
static <X extends Enum,S,T> |
MarshalUtils.convert(Map<String,S> map,
Class<X> xClass,
MarshalUtils.GenericTransformer<S,T> valueTransformer)
Converts a Map with String, T type to generic type X, T.
|
static <S,T> Map<String,T> |
MarshalUtils.convert(Map<String,S> map,
MarshalUtils.GenericTransformer<S,T> valueTransformer)
Returns a new map with the modified types
|
static <S,T> Collection<T> |
MarshalUtils.convertAndAddAll(Collection<S> collection,
MarshalUtils.GenericTransformer<S,Collection<T>> valueTransformer,
Collection<T> existingCollection)
Adds list elements of the return from a valueTransformer, to an existing Collection with the modified types
|
static <V,T> Collection<T> |
MarshalUtils.filterAndTransform(Collection<V> collection,
org.apache.commons.collections.Predicate p,
MarshalUtils.GenericTransformer<V,T> transformer)
Checks if Objects in the collection match the {@link Predicate; if they do they pass
and are collected in the resultant output else they are filtered out.
|
static <V,T> Collection<T> |
MarshalUtils.transform(Collection<V> params,
T typeTemplate,
MarshalUtils.GenericTransformer<V,T> transformer) |
static <V,T> Collection<T> |
MarshalUtils.transform(V[] params,
T typeTemplate,
MarshalUtils.GenericTransformer<V,T> transformer) |
Copyright © 2018. All rights reserved.