Version

PersistenceManager Class Members

The following tables list the members exposed by PersistenceManager.

Protected Constructors
 NameDescription
Protected ConstructorPersistenceManager ConstructorThis class is singelton, which is why it constructor is not visible from the outside.  
Public Properties
 NameDescription
Public PropertySkipEmptyChildIf true, if properties and child objects are both null, the current objects is not persisted at all. Exception is a Behavior, since it can have only default values which will not be persisted, thought the behavior should be persisted  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)GetInstanceAsures that the PersistenceManager could have only once instance.  
Public MethodLoadCollectionRestores a collection of items from ControlData.  
Public MethodLoadComplexPropertyLoads an object from the data in the controlData param.  
Public MethodLoadControlLoads the persistence data for the specified object.  
Public MethodLoadPageLoads the persistence data for the specified page.  
Public MethodLoadSimplePropertySets a value to a property specified in the propertyData param.  
Public MethodSaveCollectionPropertyCreates ControlData for the specified collection.  
Public MethodSaveComplexPropertyCreates ControlData for the specified complex property.  
Public MethodSaveControlCreates ControlData for the specified object.  
Public MethodSaveControlByDefaultCreates ControlData for the specified object by saving simple properties to Properties and complex objects to ChildControls  
Public MethodSavePageSaves persistence data for the specified page.  
Public MethodSavePropertyCreates PropertyData for the specified property.  
Public MethodShouldSaveComplexPropertyDecides if a complex property should be persisted.  
Public MethodShouldSavePropertyDecides if a property should be persisted.  
Protected Methods
 NameDescription
Protected MethodIsIgnoredControlTypeDetermines whether the specified type should be ignored.  
See Also