| Package | org.spicefactory.parsley.binding.impl | 
| Class | public class PersistentPublisher | 
| Inheritance | PersistentPublisher    AbstractPublisher   flash.events.EventDispatcher | 
| Implements | Publisher, Subscriber | 
| Property | Defined By | ||
|---|---|---|---|
| currentValue : * [read-only] 
	 
	 The current value of this publisher.  | PersistentPublisher | ||
![]()  | id : String [read-only]   | AbstractPublisher | |
![]()  | type : ClassInfo [read-only]   | AbstractPublisher | |
![]()  | unique : Boolean [read-only]   | AbstractPublisher | |
| Method | Defined By | ||
|---|---|---|---|
PersistentPublisher(manager:PersistenceManager, type:ClassInfo, id:String = null, persistentKey:Object = null) 
	 Creates a new instance.  | PersistentPublisher | ||
disableSubscriber():void 
	 Prevents any updates from getting passed to the persistence mechanism.  | PersistentPublisher | ||
dispose():void 
	 
	 Disposes this publisher.  | PersistentPublisher | ||
init():void 
	 
	 Initializes this publisher.  | PersistentPublisher | ||
update(newValue:*):void 
	 
	 Notifies this suscriber that the published value has changed.  | PersistentPublisher | ||
| currentValue | property | 
currentValue:*  [read-only] The current value of this publisher. If this value changes the publisher must dispatch a change event.
    public function get currentValue():*| PersistentPublisher | () | Constructor | 
public function PersistentPublisher(manager:PersistenceManager, type:ClassInfo, id:String = null, persistentKey:Object = null)Creates a new instance.
Parametersmanager:PersistenceManager — the manager to read values from
	  | |
type:ClassInfo — the type of the published value
	  | |
id:String (default = null) — the id the value is published with
	  | |
persistentKey:Object (default = null) — the key to pass to the persistence manager in case it differs from the id
	  | 
| disableSubscriber | () | method | 
 public function disableSubscriber():voidPrevents any updates from getting passed to the persistence mechanism.
| dispose | () | method | 
 public function dispose():voidDisposes this publisher. After this method was invoked the publisher does not need to continue to provide a published value or dispatch change events.
| init | () | method | 
 public function init():voidInitializes this publisher. The publisher is only supposed to dispatch change events and provide a published value after this method has been called until the dispose method is called.
| update | () | method | 
 public function update(newValue:*):voidNotifies this suscriber that the published value has changed.
Parameters
newValue:* — the new value of the matching publisher
	  |