Class DefaultJaloAccessorsService
- java.lang.Object
-
- de.hybris.platform.directpersistence.impl.DefaultJaloAccessorsService
-
- All Implemented Interfaces:
JaloAccessorsService,ConfigIntf.ConfigChangeListener,org.springframework.beans.factory.DisposableBean,org.springframework.beans.factory.InitializingBean
public class DefaultJaloAccessorsService extends java.lang.Object implements JaloAccessorsService, org.springframework.beans.factory.InitializingBean, org.springframework.beans.factory.DisposableBean, ConfigIntf.ConfigChangeListener
Default implementation of JaloAccessorsService.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCFG_ALL_SAFE_4_READINGstatic java.lang.StringCFG_ALL_SAFE_4_WRITINGstatic java.lang.StringCFG_IGNORE_MARKED_UNSAFEstatic java.lang.StringCFG_IGNORE_UNSAFE_TYPE_PREFIX
-
Constructor Summary
Constructors Constructor Description DefaultJaloAccessorsService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voidconfigChanged(java.lang.String key, java.lang.String newValue)voiddestroy()booleanisSLDSafe(java.lang.String typeCode)Returns true if type with given typeCode supports ServiceLayerDirect for reading and writing data.booleanisSLDSafeForRead(java.lang.String typeCode)Returns true if type with given typeCode supports ServiceLayerDirect for reading data.booleanisSLDSafeForWrite(java.lang.String typeCode)Returns true if type with given typeCode supports ServiceLayerDirect for writing data.protected booleanisTypeConfiguredAsSafe(java.lang.String typeCode)voidsetSessionService(SessionService sessionService)voidsetSLDUnsafeTypesProviderBuilder(SLDUnsafeTypesProviderBuilder sldUnsafeTypesProviderBuilder)protected voidupdateIgnoreMarkedSettings()
-
-
-
Field Detail
-
CFG_IGNORE_MARKED_UNSAFE
public static final java.lang.String CFG_IGNORE_MARKED_UNSAFE
- See Also:
- Constant Field Values
-
CFG_ALL_SAFE_4_READING
public static final java.lang.String CFG_ALL_SAFE_4_READING
- See Also:
- Constant Field Values
-
CFG_ALL_SAFE_4_WRITING
public static final java.lang.String CFG_ALL_SAFE_4_WRITING
- See Also:
- Constant Field Values
-
CFG_IGNORE_UNSAFE_TYPE_PREFIX
public static final java.lang.String CFG_IGNORE_UNSAFE_TYPE_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception
-
configChanged
public void configChanged(java.lang.String key, java.lang.String newValue)- Specified by:
configChangedin interfaceConfigIntf.ConfigChangeListener
-
destroy
public void destroy() throws java.lang.Exception- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean- Throws:
java.lang.Exception
-
updateIgnoreMarkedSettings
protected void updateIgnoreMarkedSettings()
-
isTypeConfiguredAsSafe
protected boolean isTypeConfiguredAsSafe(java.lang.String typeCode)
-
isSLDSafe
public boolean isSLDSafe(java.lang.String typeCode)
Description copied from interface:JaloAccessorsServiceReturns true if type with given typeCode supports ServiceLayerDirect for reading and writing data.- Specified by:
isSLDSafein interfaceJaloAccessorsService
-
isSLDSafeForRead
public boolean isSLDSafeForRead(java.lang.String typeCode)
Description copied from interface:JaloAccessorsServiceReturns true if type with given typeCode supports ServiceLayerDirect for reading data.- Specified by:
isSLDSafeForReadin interfaceJaloAccessorsService
-
isSLDSafeForWrite
public boolean isSLDSafeForWrite(java.lang.String typeCode)
Description copied from interface:JaloAccessorsServiceReturns true if type with given typeCode supports ServiceLayerDirect for writing data.- Specified by:
isSLDSafeForWritein interfaceJaloAccessorsService
-
setSLDUnsafeTypesProviderBuilder
public void setSLDUnsafeTypesProviderBuilder(SLDUnsafeTypesProviderBuilder sldUnsafeTypesProviderBuilder)
-
setSessionService
public void setSessionService(SessionService sessionService)
-
-