org.objectweb.fractal.aokell.lib.control.content
Interface ContentControllerItf

All Superinterfaces:
ContentController
All Known Implementing Classes:
ContentControllerImpl, TemplateContentControllerImpl

public interface ContentControllerItf
extends ContentController

This interface extends the Fractal ContentController interface with methods to manage internal client interfaces.

Author:
Lionel Seinturier

Field Summary
static String NAME
           
static InterfaceType TYPE
           
 
Method Summary
 void addFcController(InterfaceType[] it, Object ctrl)
          Declare a new controller implemented by the component.
 void initFc(Type type, Object controllerDesc, Object contentDesc, Component compctrlimpl, Object contentPart)
          Initialize parameters required for managing internal interfaces associated with this content controller.
 Interface registerFcInterface(String interfaceName)
          Register a new collection Interface instance.
 void unregisterFcInterface(String interfaceName)
          Unregister a collection Interface instance.
 
Methods inherited from interface org.objectweb.fractal.api.control.ContentController
addFcSubComponent, getFcInternalInterface, getFcInternalInterfaces, getFcSubComponents, removeFcSubComponent
 

Field Detail

NAME

static final String NAME
See Also:
Constant Field Values

TYPE

static final InterfaceType TYPE
Method Detail

addFcController

void addFcController(InterfaceType[] it,
                     Object ctrl)
Declare a new controller implemented by the component.


registerFcInterface

Interface registerFcInterface(String interfaceName)
                              throws NoSuchInterfaceException
Register a new collection Interface instance. The given name must start with an existing collection interface name declared in the component type.

Parameters:
interfaceName - the interface name (e.g. foo004)
Throws:
NoSuchInterfaceException - if there is no such collection interface

unregisterFcInterface

void unregisterFcInterface(String interfaceName)
                           throws NoSuchInterfaceException
Unregister a collection Interface instance. The given name must start with an existing collection interface name declared in the component type.

Parameters:
interfaceName - the interface name (e.g. foo004)
Throws:
NoSuchInterfaceException - if there is no such collection interface

initFc

void initFc(Type type,
            Object controllerDesc,
            Object contentDesc,
            Component compctrlimpl,
            Object contentPart)
Initialize parameters required for managing internal interfaces associated with this content controller.