The following tables list the members exposed by PersistenceManager.
Name | Description | |
---|---|---|
PersistenceManager Constructor | This class is singelton, which is why it constructor is not visible from the outside. |
Name | Description | |
---|---|---|
SkipEmptyChild | If 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 |
Name | Description | |
---|---|---|
GetInstance | Asures that the PersistenceManager could have only once instance. | |
LoadCollection | Restores a collection of items from ControlData. | |
LoadComplexProperty | Loads an object from the data in the controlData param. | |
LoadControl | Loads the persistence data for the specified object. | |
LoadPage | Loads the persistence data for the specified page. | |
LoadSimpleProperty | Sets a value to a property specified in the propertyData param. | |
SaveCollectionProperty | Creates ControlData for the specified collection. | |
SaveComplexProperty | Creates ControlData for the specified complex property. | |
SaveControl | Creates ControlData for the specified object. | |
SaveControlByDefault | Creates ControlData for the specified object by saving simple properties to Properties and complex objects to ChildControls | |
SavePage | Saves persistence data for the specified page. | |
SaveProperty | Creates PropertyData for the specified property. | |
ShouldSaveComplexProperty | Decides if a complex property should be persisted. | |
ShouldSaveProperty | Decides if a property should be persisted. |
Name | Description | |
---|---|---|
IsIgnoredControlType | Determines whether the specified type should be ignored. |