Class SLDUnsafeTypesProviderBuilder
java.lang.Object
de.hybris.platform.directpersistence.SLDUnsafeTypesProviderBuilder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild(Collection<String> extensions) protected Collection<UnsafeMethodInfo>findUnsafeAttributesWithMethods(ComposedType type, ExtensionInfo extInfo, YTypeSystem yTypeSystem, Collection<String> extensions) protected Collection<Method>findUnsafeCreateMethods(Class itemClass, String generatedClassPrefix) protected Collection<Method>findUnsafeRemoveMethods(Class itemClass, String generatedClassPrefix) protected Set<UnsafeTypeInfo>findUnsafeTypes(Collection<String> extensions) protected final ReflectionAttributeAccessgetReflectionAccessorFor(AttributeDescriptor fieldDescriptor, Class myClass) protected Collection<UnsafeMethodInfo>getUnsafeMethodsFromNonGeneratedClasses(String qualifier, ReflectionAttributeAccess accessor, String generatedClassPrefix) protected YAttributeDescriptorgetYAttributeDescriptor(ComposedType type, AttributeDescriptor ad, YTypeSystem yTypeSystem) protected voidinspectRecursively(UnsafeTypeInfo parent, ComposedType type, Collection<String> extensions, YTypeSystem yTypeSystem, Set<UnsafeTypeInfo> matches, boolean superTypeIsUnsafe) protected booleanprotected booleanisFromNonGeneratedClassExcludingSafeOnes(Method m, String generatedClassPrefix)
-
Constructor Details
-
SLDUnsafeTypesProviderBuilder
public SLDUnsafeTypesProviderBuilder()
-
-
Method Details
-
build
-
findUnsafeTypes
-
inspectRecursively
protected void inspectRecursively(UnsafeTypeInfo parent, ComposedType type, Collection<String> extensions, YTypeSystem yTypeSystem, Set<UnsafeTypeInfo> matches, boolean superTypeIsUnsafe) -
findUnsafeAttributesWithMethods
protected Collection<UnsafeMethodInfo> findUnsafeAttributesWithMethods(ComposedType type, ExtensionInfo extInfo, YTypeSystem yTypeSystem, Collection<String> extensions) -
isExposedInModel
-
getYAttributeDescriptor
protected YAttributeDescriptor getYAttributeDescriptor(ComposedType type, AttributeDescriptor ad, YTypeSystem yTypeSystem) -
findUnsafeCreateMethods
-
findUnsafeRemoveMethods
-
getUnsafeMethodsFromNonGeneratedClasses
protected Collection<UnsafeMethodInfo> getUnsafeMethodsFromNonGeneratedClasses(String qualifier, ReflectionAttributeAccess accessor, String generatedClassPrefix) -
isFromNonGeneratedClassExcludingSafeOnes
-
getReflectionAccessorFor
protected final ReflectionAttributeAccess getReflectionAccessorFor(AttributeDescriptor fieldDescriptor, Class myClass)
-