Package zope :: Package component :: Package bbb :: Module interfaces :: Class IBBBComponentArchitecture
[show private | hide private]
[frames | no frames]

Type IBBBComponentArchitecture

Interface --+
            |
           IBBBComponentArchitecture


The Component Architecture is defined by six key services, all of which are managed by service managers.


Class Variable Summary
str getDefaultViewName = 'Get the name of the default view f...
str getGlobalService = 'Get a global service.'
str getGlobalServices = 'Get the global service manager.'
str getMultiView = 'Look for a multi-view for given objects\...
str getResource = "Get a named resource for a given request\...
str getService = "Get a named service.\n\n        Returns th...
str getServiceDefinitions = "Get service definitions\n\n    ...
str getServices = "Get the service manager\n\n        If con...
str getView = 'Get a named view for a given object.\n\n     ...
str getViewProviding = "Look for a view based on the interfa...
str queryDefaultViewName = 'Look for the name of the default...
str queryMultiView = 'Look for a multi-view for given object...
str queryResource = "Get a named resource for a given reques...
str queryView = 'Look for a named view for a given object.\n...
str queryViewProviding = "Look for a view that provides the ...

Class Variable Details

getDefaultViewName

Type:
str
Value:
'''Get the name of the default view for the object and request.

        The request must implement IPresentationRequest, and provides \
the
        desired view type.  The nearest one to the object is found.
        If a matching default view name cannot be found, raises
        ComponentLookupError.

...                                                                    

getGlobalService

Type:
str
Value:
'Get a global service.'                                                

getGlobalServices

Type:
str
Value:
'Get the global service manager.'                                      

getMultiView

Type:
str
Value:
'''Look for a multi-view for given objects

        The request must implement IPresentationRequest: it provides
        the view type and the skin name.  The nearest one to the
        object is found.  If a matching view cannot be found, raises
        ComponentLookupError.

        If context is not specified, attempts to use the first object
...                                                                    

getResource

Type:
str
Value:
"""Get a named resource for a given request

        The request must implement IPresentationRequest.

        The context provides a place to look for placeful resources.

        A ComponentLookupError will be raised if the component can't
        be found.
...                                                                    

getService

Type:
str
Value:
"""Get a named service.

        Returns the service defined by 'name' from the service manager\
.

        If context is None, an application-defined policy is used to c\
hoose
        an appropriate service manager.
...                                                                    

getServiceDefinitions

Type:
str
Value:
"""Get service definitions

        Returns a dictionary of the service definitions from the servi\
ce
        manager in the format {nameString: serviceInterface}.

        The default behavior of placeful service managers is to includ\
e
...                                                                    

getServices

Type:
str
Value:
"""Get the service manager

        If context is None, an application-defined policy is used to c\
hoose
        an appropriate service manager.

        If 'context' is not None, context is adapted to IServiceServic\
e, and
...                                                                    

getView

Type:
str
Value:
'''Get a named view for a given object.

        The request must implement IPresentationRequest: it provides
        the view type and the skin name.  The nearest one to the
        object is found. If a matching view cannot be found, raises
        ComponentLookupError.
        '''                                                            

getViewProviding

Type:
str
Value:
"""Look for a view based on the interface it provides.

        A call to this method is equivalent to:

            getView(object, '', request, context, providing)
        """                                                            

queryDefaultViewName

Type:
str
Value:
'''Look for the name of the default view for the object and request.

        The request must implement IPresentationRequest, and provides
        the desired view type.  The nearest one to the object is
        found.  If a matching default view name cannot be found,
        returns the default.

        If context is not specified, attempts to use object to specify
...                                                                    

queryMultiView

Type:
str
Value:
'''Look for a multi-view for given objects

        The request must implement IPresentationRequest: it provides
        the view type and the skin name.  The nearest one to the
        object is found.  If a matching view cannot be found, returns
        default.

        If context is not specified, attempts to use the first object
...                                                                    

queryResource

Type:
str
Value:
"""Get a named resource for a given request

        The request must implement IPresentationRequest.

        The context provides a place to look for placeful resources.

        If the component can't be found, the default is returned.
        """                                                            

queryView

Type:
str
Value:
'''Look for a named view for a given object.

        The request must implement IPresentationRequest: it provides
        the view type and the skin name.  The nearest one to the
        object is found.  If a matching view cannot be found, returns
        default.

        If context is not specified, attempts to use object to specify
...                                                                    

queryViewProviding

Type:
str
Value:
"""Look for a view that provides the specified interface.

        A call to this method is equivalent to:

            queryView(object, '', request, default, context, providing\
)
        """                                                            

Generated by Epydoc 2.1 on Fri Jun 24 12:01:24 2005 http://epydoc.sf.net