Package de.hybris.platform.core
Class WrapperFactory
java.lang.Object
de.hybris.platform.core.WrapperFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceprotected static class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidderegisterItemWrapperCreator(int typeCode) static voidderegisterObjectWrapperCreator(Class srcClass) static final ItemgetCachedItem(Cache cache, PK pk) static final Collection<Item>getCachedItems(Cache cache, Collection<PK> pks, Set<PK> prefetchLanguagePKs, boolean ignoreMissing) static final Collection<Item>getCachedItems(Cache cache, Collection<PK> pks, Set<PK> prefetchLanguagePKs, boolean ignoreMissing, boolean returnMissingAsNull) static ItemWrapperCreatorgetItemWrapperCreator(int typeCode) static ObjectWrapperCreatorgetObjectWrapperCreator(Class srcClass) static booleanhasItemWrapperCreator(int typeCode) static voidregisterItemWrapperCreator(int typeCode, ItemWrapperCreator wrapper) static voidregisterObjectWrapperCreator(Class srcClass, ObjectWrapperCreator wrapper) static final Itemstatic Objectstatic Objectstatic Objectstatic Objectwrap(SessionContext ctx, Cache cache, Object object, WrapperFactory.ItemPropertyWrappingListener listener) static Objectwrap(SessionContext ctx, Object object, WrapperFactory.ItemPropertyWrappingListener listener) Deprecated, for removal: This API element is subject to removal in a future version.since agesstatic ObjectDeprecated, for removal: This API element is subject to removal in a future version.since ages
-
Field Details
-
LAZYLOADITEMLIST_CHECK_HJMP_CACHE
- See Also:
-
-
Constructor Details
-
WrapperFactory
public WrapperFactory()
-
-
Method Details
-
registerItemWrapperCreator
-
deregisterItemWrapperCreator
public static void deregisterItemWrapperCreator(int typeCode) -
getItemWrapperCreator
-
hasItemWrapperCreator
public static boolean hasItemWrapperCreator(int typeCode) -
registerObjectWrapperCreator
-
deregisterObjectWrapperCreator
-
getObjectWrapperCreator
-
wrap
Deprecated, for removal: This API element is subject to removal in a future version.since ages -
wrap
-
wrap
@Deprecated(since="ages", forRemoval=true) public static Object wrap(SessionContext ctx, Object object, WrapperFactory.ItemPropertyWrappingListener listener) Deprecated, for removal: This API element is subject to removal in a future version.since ages -
wrap
public static Object wrap(SessionContext ctx, Cache cache, Object object, WrapperFactory.ItemPropertyWrappingListener listener) -
getPrefetchLanguages
-
getCachedItems
public static final Collection<Item> getCachedItems(Cache cache, Collection<PK> pks, Set<PK> prefetchLanguagePKs, boolean ignoreMissing) throws JaloItemNotFoundException - Throws:
JaloItemNotFoundException
-
getCachedItems
public static final Collection<Item> getCachedItems(Cache cache, Collection<PK> pks, Set<PK> prefetchLanguagePKs, boolean ignoreMissing, boolean returnMissingAsNull) throws JaloItemNotFoundException - Throws:
JaloItemNotFoundException
-
getCachedItem
- Throws:
JaloItemNotFoundException
-
rewrap
-
unwrap
-
unwrap
-