Class SerializationStrategyLeanImpl.LeanItemModelHandler
java.lang.Object
de.hybris.platform.util.AbstractTenantAwareSerializationDTO
de.hybris.platform.servicelayer.model.strategies.SerializationStrategyLeanImpl.LeanItemModelHandler
- All Implemented Interfaces:
Serializable
- Enclosing class:
- SerializationStrategyLeanImpl
public static class SerializationStrategyLeanImpl.LeanItemModelHandler
extends AbstractTenantAwareSerializationDTO
The Class LeanItemModelHandler. This is the class that is actually serialized.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe readResolve method is called when ObjectInputStream has read an object from the stream and is preparing to return it to the caller.toString()Methods inherited from class de.hybris.platform.util.AbstractTenantAwareSerializationDTO
getTenant, getTenantID, readResolve
-
Constructor Details
-
LeanItemModelHandler
-
-
Method Details
-
resolveObject
The readResolve method is called when ObjectInputStream has read an object from the stream and is preparing to return it to the caller. The object that was de-serialized is an instance of SerializationStrategyLeanImpl with the PK of the ItemModel we want So we retrieve the itemModel show PK is primaryKey, and return that.- Specified by:
resolveObjectin classAbstractTenantAwareSerializationDTO- Returns:
- The object whose PK is equal to the PK that was serialized
- Throws:
ObjectStreamException
-
toString
- Overrides:
toStringin classAbstractTenantAwareSerializationDTO
-