Class PropertyBagSerializationManager
- java.lang.Object
-
- lumis.portal.propertybag.serialization.PropertyBagSerializationManager
-
- All Implemented Interfaces:
IPropertyBagSerializationManager
public class PropertyBagSerializationManager extends Object implements IPropertyBagSerializationManager
Manager for Acl serialization- Since:
- 4.0.7
- Version:
- $Revision: 24343 $ $Date: 2021-02-03 16:37:03 -0300 (Wed, 03 Feb 2021) $
-
-
Constructor Summary
Constructors Constructor Description PropertyBagSerializationManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deserializePropertyBag(DeserializationContext deserializationContext, String propertyBagId, String parentPropertyBagId)
Deserializes aPropertyBag
object.void
serialize(SerializationContext serializationContext, String propertyBagId)
Serializes a property bag.void
setupSerializationContext(BaseSerializationContext serializationContext)
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.
-
-
-
Method Detail
-
deserializePropertyBag
public void deserializePropertyBag(DeserializationContext deserializationContext, String propertyBagId, String parentPropertyBagId) throws PortalException
Description copied from interface:IPropertyBagSerializationManager
Deserializes aPropertyBag
object.- Specified by:
deserializePropertyBag
in interfaceIPropertyBagSerializationManager
- Parameters:
deserializationContext
- the deserialization context.propertyBagId
- the property bag identifier.parentPropertyBagId
- the identifier of the parent of the property bag.- Throws:
PortalException
-
serialize
public void serialize(SerializationContext serializationContext, String propertyBagId) throws PortalException
Description copied from interface:IPropertyBagSerializationManager
Serializes a property bag.- Specified by:
serialize
in interfaceIPropertyBagSerializationManager
- Parameters:
serializationContext
- the serialization context.propertyBagId
- the property bag.- Throws:
PortalException
-
setupSerializationContext
public void setupSerializationContext(BaseSerializationContext serializationContext)
Description copied from interface:IPropertyBagSerializationManager
Set up a serialization context, defining settings such as class aliases, field aliases, transient fields, omitted collections etc.- Specified by:
setupSerializationContext
in interfaceIPropertyBagSerializationManager
-
-