Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD

## 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

Method Summary
`public function Boolean` | `HasProxy(ProxyName: string)` Check if a Proxy is registered
`public Sub` | `RegisterProxy(Proxy: PureMVC.Interfaces.IProxy.IProxy )` Register an IProxy instance with the Model
`public function PureMVC.Interfaces.IProxy.IProxy` | `RemoveProxy(ProxyName: string)` Remove an IProxy instance from the Model
`public function PureMVC.Interfaces.IProxy.IProxy` | `RetrieveProxy(ProxyName: string)` Retrieve an IProxy instance from the Model

Method Detail

### 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

Overview | Namespace | Classifier | Tree | Index | Help
PREV NEXT | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | DESTR | METHOD | DETAIL: FIELD | CONSTR | DESTR | METHOD