IManagedPersistence : public abstract <<interface>> interface
Created: 02/18/07 12:55:00
Modified: 02/18/07 12:55:00
Project:
Advanced:
Defines the contract required for managing persisted data locally, remotely or sharing persisted data in real time across network, typically via SharedObject
Operation Details
public
deletePersistedProperties():Boolean
Sequential
Notes: Deletes all properties from the persisted object, but not the persisted object itself <br />@return true if the properties have successfully been deleted
public
deletePersistedProperty(
propertyName: String,
):Boolean
Sequential
Notes: Deletes specified property from the persisted object <br />@param the name of the property to delete
public
destroy():void
Sequential
Notes: Destroys the current persisted object
public
getData():Object
Sequential
Notes: Returns the data object of the persisted object. The data object is typically property of SharedObject and is used to maintain persisted data either locally or remotely <br />@return the persisted object as generic object
public
getIdentifier():String
Sequential
Notes: Returns the name of the persisted object. <br />@return the name of the persisted object
public
getPersistedProperties():Array
Sequential
Notes: Returns an array of all properties in the persisted object <br />@return an array of all persisted properties
public
getPersistedProperty(
propertyName: String,
):var
Sequential
Notes: Returns the value of user defined persisted property <br />@return the value of the property
public
getSize():int
Sequential
Notes: Returns the size of the persisted object. <br />@return the persisted object size
public
setPersistedProperty(
propertyName: String,
value: var,
):void
Sequential
Notes: Sets the value of user defined persisted property <br />@param the name of the property to be persisted<br />@param the value of the property to be persisted
public
write(
minDiskSpace: int,
):Boolean
Sequential
Notes: Explicitly writes the persisted object to disk <br />@param  the minimum amount of disc space allocated to the persisted object<br />@return true if the write operation was successful, false if not
Object Type Connection Notes
LocalPersistence Class Realisation