Class DefaultTransientStorage
java.lang.Object
de.hybris.platform.servicelayer.internal.model.impl.DefaultTransientStorage
- All Implemented Interfaces:
InterceptorContext.TransientStorage
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAllows you to check if a given key is present in the storage.Get value from the storage.voidPut value in the storagevoidRemoves value assigned with a given key.
-
Constructor Details
-
DefaultTransientStorage
public DefaultTransientStorage()
-
-
Method Details
-
get
Description copied from interface:InterceptorContext.TransientStorageGet value from the storage.- Specified by:
getin interfaceInterceptorContext.TransientStorage- Parameters:
key- attribute's key- Returns:
- value assigned with the key or null if there is no value
-
put
Description copied from interface:InterceptorContext.TransientStoragePut value in the storage- Specified by:
putin interfaceInterceptorContext.TransientStorage- Parameters:
key- attribute's keyvalue- value to be store
-
contains
Description copied from interface:InterceptorContext.TransientStorageAllows you to check if a given key is present in the storage.- Specified by:
containsin interfaceInterceptorContext.TransientStorage- Parameters:
key- attribute's key- Returns:
- true if the key is present in the storage
-
remove
Description copied from interface:InterceptorContext.TransientStorageRemoves value assigned with a given key.- Specified by:
removein interfaceInterceptorContext.TransientStorage- Parameters:
key- attribute's key
-