Namespace: PureMVC.Interfaces.IModel
Interface IModel
All Known Implementing Classes: - TModel
public interface IModel
Persistent- False
remarks- In PureMVC, IModel implementors provide access to IProxy objects by named lookupAn IModel assumes these responsibilities:Maintain a cache of IProxy instancesProvide methods for registering, retrieving, and removing IProxy instances
summary- The interface definition for a PureMVC Model
HasProxy
public function HasProxy(ProxyName: string): Boolean
Reintroduce- False
Returns- Boolean
summary- Check if a Proxy is registered
returns- whether a Proxy is currently registered with the given proxyName.
param- The name of the proxy to check for
RegisterProxy
public procedure RegisterProxy(Proxy: PureMVC.Interfaces.IProxy.IProxy )
Reintroduce- False
summary- Register an IProxy instance with the Model
param- A reference to the proxy object to be held by the Model
RemoveProxy
public function RemoveProxy(ProxyName: string): PureMVC.Interfaces.IProxy.IProxy
Reintroduce- False
Returns- IProxy
summary- Remove an IProxy instance from the Model
param- The name of the IProxy instance to be removed
RetrieveProxy
public function RetrieveProxy(ProxyName: string): PureMVC.Interfaces.IProxy.IProxy
Reintroduce- False
Returns- IProxy
summary- Retrieve an IProxy instance from the Model
returns- The IProxy instance previously registered with the given proxyName
param- The name of the proxy to retrieve