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

## Namespace: PureMVC.Patterns.Facade
Class TFacade

    System.TInterfacedObject
      |
      +-- PureMVC.Patterns.Facade.TFacade

All Implemented Interfaces:
  IFacade

public class TFacade ( System.TInterfacedObject , IFacade )

Abstract
  False

Sealed
  False

Persistent
  False

summary
  A base Singleton IFacade implementation

remarks
  In PureMVC, the Facade class assumes these responsibilities:Initializing the Model, View and Controller SingletonsProviding all the methods defined by the IModel, IView, & IController interfacesProviding the ability to override the specific Model, View and Controller Singletons createdProviding a single point of contact to the application for registering Commands and notifying Observers

see

Method Summary
`public Sub` | `Destroy()`
`public function Boolean` | `HasCommand(NotificationName: string)`
`public function Boolean` | `HasMediator(MediatorName: string)`
`public function Boolean` | `HasProxy(ProxyName: string)`
`public function PureMVC.Interfaces.IFacade.IFacade` | `Instance()` Facade Singleton Factory method. This method is thread safe.
`public Sub` | `NotifyObservers(Notification: PureMVC.Interfaces.INotification.INotification )`
`public Sub` | `RegisterCommand(NotificationName: string; CommandClass: TClass)`
`public Sub` | `RegisterMediator(Mediator: PureMVC.Interfaces.IMediator.IMediator )`
`public Sub` | `RegisterProxy(Proxy: PureMVC.Interfaces.IProxy.IProxy )`
`public Sub` | `RemoveCommand(NotificationName: string)`
`public function PureMVC.Interfaces.IMediator.IMediator` | `RemoveMediator(MediatorName: string)`
`public function PureMVC.Interfaces.IMediator.IMediator` | `RemoveMediator(Mediator: PureMVC.Interfaces.IMediator.IMediator )`
`public function PureMVC.Interfaces.IProxy.IProxy` | `RemoveProxy(ProxyName: string)`
`public function PureMVC.Interfaces.IMediator.IMediator` | `RetrieveMediator(MediatorName: string)`
`public function PureMVC.Interfaces.IProxy.IProxy` | `RetrieveProxy(ProxyName: string)`
`public Sub` | `SendNotification(NotificationName: string; Sender: TObject)`
`public Sub` | `SendNotification(NotificationName: string; Sender: TObject; Body: TValue)`
`public Sub` | `SendNotification(NotificationName: string; Sender: TObject; Body: TValue; Kind: TValue)`

Method Detail

### Destroy

    public procedure Destroy()

Abstract
  False

Reintroduce
  False

Virtual
  False

Override
  True

Final
  False

### HasCommand

    public function HasCommand(NotificationName: string): Boolean

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  Boolean

Virtual
  False

Override
  False

Class
  False

### HasMediator

    public function HasMediator(MediatorName: string): Boolean

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  Boolean

Virtual
  False

Override
  False

Class
  False

### HasProxy

    public function HasProxy(ProxyName: string): Boolean

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  Boolean

Virtual
  False

Override
  False

Class
  False

### Instance

    public function Instance(): PureMVC.Interfaces.IFacade.IFacade

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IFacade

Virtual
  False

Override
  False

summary
  Facade Singleton Factory method. This method is thread safe.

Class
  True

### NotifyObservers

    public procedure NotifyObservers(Notification: PureMVC.Interfaces.INotification.INotification )

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### RegisterCommand

    public procedure RegisterCommand(NotificationName: string; CommandClass: TClass)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### RegisterMediator

    public procedure RegisterMediator(Mediator: PureMVC.Interfaces.IMediator.IMediator )

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### RegisterProxy

    public procedure RegisterProxy(Proxy: PureMVC.Interfaces.IProxy.IProxy )

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### RemoveCommand

    public procedure RemoveCommand(NotificationName: string)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### RemoveMediator

    public function RemoveMediator(MediatorName: string): PureMVC.Interfaces.IMediator.IMediator

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IMediator

Virtual
  False

Override
  False

Class
  False

### RemoveMediator

    public function RemoveMediator(Mediator: PureMVC.Interfaces.IMediator.IMediator ): PureMVC.Interfaces.IMediator.IMediator

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IMediator

Virtual
  False

Override
  False

Class
  False

### RemoveProxy

    public function RemoveProxy(ProxyName: string): PureMVC.Interfaces.IProxy.IProxy

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IProxy

Virtual
  False

Override
  False

Class
  False

### RetrieveMediator

    public function RetrieveMediator(MediatorName: string): PureMVC.Interfaces.IMediator.IMediator

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IMediator

Virtual
  False

Override
  False

Class
  False

### RetrieveProxy

    public function RetrieveProxy(ProxyName: string): PureMVC.Interfaces.IProxy.IProxy

Abstract
  False

Reintroduce
  False

Final
  False

Returns
  IProxy

Virtual
  False

Override
  False

Class
  False

### SendNotification

    public procedure SendNotification(NotificationName: string; Sender: TObject)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### SendNotification

    public procedure SendNotification(NotificationName: string; Sender: TObject; Body: TValue)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  False

Override
  False

Class
  False

### SendNotification

    public procedure SendNotification(NotificationName: string; Sender: TObject; Body: TValue; Kind: TValue)

Abstract
  False

Reintroduce
  False

Final
  False

Virtual
  True

Override
  False

Class
  False

Implementation Link

to Interface IFacade

Client
  TFacade

Supplier
  IFacade

Association Link

to Interface IController

Client
  FController

Directed
  False

Type
  association

Supplier
  IController

to Interface IModel

Client
  FModel

Directed
  False

Type
  association

Supplier
  IModel

to Interface IView

Client
  FView

Directed
  False

Type
  association

Supplier
  IView

to Interface IFacade

Client
  FInstance

Directed
  False

Type
  association

Supplier
  IFacade

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