Class SLDUnsafeTypesProviderBuilder
- java.lang.Object
-
- de.hybris.platform.directpersistence.SLDUnsafeTypesProviderBuilder
-
public class SLDUnsafeTypesProviderBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description SLDUnsafeTypesProviderBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SLDUnsafeTypesProviderbuild(java.util.Collection<java.lang.String> extensions)protected java.util.Collection<UnsafeMethodInfo>findUnsafeAttributesWithMethods(ComposedType type, ExtensionInfo extInfo, YTypeSystem yTypeSystem, java.util.Collection<java.lang.String> extensions)protected java.util.Collection<java.lang.reflect.Method>findUnsafeCreateMethods(java.lang.Class itemClass, java.lang.String generatedClassPrefix)protected java.util.Collection<java.lang.reflect.Method>findUnsafeRemoveMethods(java.lang.Class itemClass, java.lang.String generatedClassPrefix)protected java.util.Set<UnsafeTypeInfo>findUnsafeTypes(java.util.Collection<java.lang.String> extensions)protected ReflectionAttributeAccessgetReflectionAccessorFor(AttributeDescriptor fieldDescriptor, java.lang.Class myClass)protected java.util.Collection<UnsafeMethodInfo>getUnsafeMethodsFromNonGeneratedClasses(java.lang.String qualifier, ReflectionAttributeAccess accessor, java.lang.String generatedClassPrefix)protected YAttributeDescriptorgetYAttributeDescriptor(ComposedType type, AttributeDescriptor ad, YTypeSystem yTypeSystem)protected voidinspectRecursively(UnsafeTypeInfo parent, ComposedType type, java.util.Collection<java.lang.String> extensions, YTypeSystem yTypeSystem, java.util.Set<UnsafeTypeInfo> matches, boolean superTypeIsUnsafe)protected booleanisExposedInModel(YAttributeDescriptor yAd)protected booleanisFromNonGeneratedClassExcludingSafeOnes(java.lang.reflect.Method m, java.lang.String generatedClassPrefix)
-
-
-
Method Detail
-
build
public SLDUnsafeTypesProvider build(java.util.Collection<java.lang.String> extensions)
-
findUnsafeTypes
protected java.util.Set<UnsafeTypeInfo> findUnsafeTypes(java.util.Collection<java.lang.String> extensions)
-
inspectRecursively
protected void inspectRecursively(UnsafeTypeInfo parent, ComposedType type, java.util.Collection<java.lang.String> extensions, YTypeSystem yTypeSystem, java.util.Set<UnsafeTypeInfo> matches, boolean superTypeIsUnsafe)
-
findUnsafeAttributesWithMethods
protected java.util.Collection<UnsafeMethodInfo> findUnsafeAttributesWithMethods(ComposedType type, ExtensionInfo extInfo, YTypeSystem yTypeSystem, java.util.Collection<java.lang.String> extensions)
-
isExposedInModel
protected boolean isExposedInModel(YAttributeDescriptor yAd)
-
getYAttributeDescriptor
protected YAttributeDescriptor getYAttributeDescriptor(ComposedType type, AttributeDescriptor ad, YTypeSystem yTypeSystem)
-
findUnsafeCreateMethods
protected java.util.Collection<java.lang.reflect.Method> findUnsafeCreateMethods(java.lang.Class itemClass, java.lang.String generatedClassPrefix)
-
findUnsafeRemoveMethods
protected java.util.Collection<java.lang.reflect.Method> findUnsafeRemoveMethods(java.lang.Class itemClass, java.lang.String generatedClassPrefix)
-
getUnsafeMethodsFromNonGeneratedClasses
protected java.util.Collection<UnsafeMethodInfo> getUnsafeMethodsFromNonGeneratedClasses(java.lang.String qualifier, ReflectionAttributeAccess accessor, java.lang.String generatedClassPrefix)
-
isFromNonGeneratedClassExcludingSafeOnes
protected boolean isFromNonGeneratedClassExcludingSafeOnes(java.lang.reflect.Method m, java.lang.String generatedClassPrefix)
-
getReflectionAccessorFor
protected final ReflectionAttributeAccess getReflectionAccessorFor(AttributeDescriptor fieldDescriptor, java.lang.Class myClass)
-
-