lumis.portal.propertybag.serialization
Class PropertyBagSerializationManager

Package class diagram package PropertyBagSerializationManager
java.lang.Object
  extended by lumis.portal.propertybag.serialization.PropertyBagSerializationManager
All Implemented Interfaces:
IPropertyBagSerializationManager

public class PropertyBagSerializationManager
extends Object
implements IPropertyBagSerializationManager

Manager for Acl serialization

Since:
4.0.7

Constructor Summary
PropertyBagSerializationManager()
           
 
Method Summary
 void deserializePropertyBag(DeserializationContext deserializationContext, String propertyBagId, String parentPropertyBagId)
          Deserializes a PropertyBag 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyBagSerializationManager

public PropertyBagSerializationManager()
Method Detail

deserializePropertyBag

public void deserializePropertyBag(DeserializationContext deserializationContext,
                                   String propertyBagId,
                                   String parentPropertyBagId)
                            throws PortalException
Description copied from interface: IPropertyBagSerializationManager
Deserializes a PropertyBag object.

Specified by:
deserializePropertyBag in interface IPropertyBagSerializationManager
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 interface IPropertyBagSerializationManager
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 interface IPropertyBagSerializationManager


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.