org.deduced.controller
Interface ControllerProvider

All Known Implementing Classes:
CachedFlyWheelControllerProvider, DirectControllerProvider, FlyWheelControllerProvider

public interface ControllerProvider

Controller Provider

Author:
Steve McDuff

Method Summary
 PropertyList<PropertyCollectionController> getPropertyCollectionChildPropertyCollectionControllerList(PropertyCollection<?,?> model)
          get Property Collection Child Property Collection Controller List
 PropertyCollectionController getPropertyCollectionController(PropertyCollection<?,?> model)
          find the controller associated with a specific model instance
 PropertyList<PropertyController> getPropertyCollectionPropertyControllerList(PropertyCollection<?,?> model)
          get Property Collection Property Controller List
 PropertyController getPropertyController(PropertyCollection<?,?> model, java.lang.Object propertyKey)
          get Property Controller
 

Method Detail

getPropertyCollectionController

PropertyCollectionController getPropertyCollectionController(PropertyCollection<?,?> model)
find the controller associated with a specific model instance

Parameters:
model - the model from which to fetch the controller
Returns:
the associated controller

getPropertyCollectionChildPropertyCollectionControllerList

PropertyList<PropertyCollectionController> getPropertyCollectionChildPropertyCollectionControllerList(PropertyCollection<?,?> model)
get Property Collection Child Property Collection Controller List

Parameters:
model - the controlled model
Returns:
the Property Collection Child Property Collection Controller List

getPropertyCollectionPropertyControllerList

PropertyList<PropertyController> getPropertyCollectionPropertyControllerList(PropertyCollection<?,?> model)
get Property Collection Property Controller List

Parameters:
model - the controlled model
Returns:
the Property Collection Property Controller List

getPropertyController

PropertyController getPropertyController(PropertyCollection<?,?> model,
                                         java.lang.Object propertyKey)
get Property Controller

Parameters:
model - the controlled model
propertyKey - the key of the controlled property
Returns:
the property controller