lumis.portal.businesscontext.internal
Interface IBusinessContextManagerSPI

Package class diagram package IBusinessContextManagerSPI
All Known Implementing Classes:
BusinessContextManager

public interface IBusinessContextManagerSPI

Provides operations to manager the business context.

Since:
7.0.0

Method Summary
 IBusinessContextSPI getBusinessContext(HttpServletRequest request)
          Get a businessContext previously built.
 IBusinessContextSPI getBusinessContext(IServiceInterfaceRequest request)
          Get a businessContext previously built.
 void register(String id, String name, String xml)
          Registers a new context
 void unregister(String id)
          Deletes a selected context.
 void updateRegistration(String id, String name, String xml)
          Updates a selected context.
 

Method Detail

getBusinessContext

IBusinessContextSPI getBusinessContext(HttpServletRequest request)
Get a businessContext previously built.

Parameters:
request -
Returns:
the previously built business context.
Since:
7.0.0

getBusinessContext

IBusinessContextSPI getBusinessContext(IServiceInterfaceRequest request)
Get a businessContext previously built.

Parameters:
request -
Returns:
the previously built business context.
Since:
7.0.0

register

void register(String id,
              String name,
              String xml)
              throws PortalObjectAlreadyExistsException,
                     PortalException
Registers a new context

Parameters:
id - context id.
name - context name.
xml - xml content.
Throws:
PortalObjectAlreadyExistsException - if some context already exists with the same id.
PortalException
Since:
7.0.0

updateRegistration

void updateRegistration(String id,
                        String name,
                        String xml)
                        throws PortalObjectNotFoundException,
                               PortalException
Updates a selected context.

Parameters:
id - context id.
name - context name.
xml - xml content.
Throws:
PortalObjectNotFoundException - if the context was not found.
PortalException
Since:
7.0.0

unregister

void unregister(String id)
                throws PortalObjectNotFoundException,
                       PortalException
Deletes a selected context.

Parameters:
id - context id.
Throws:
PortalObjectNotFoundException - if the context was not found.
PortalException
Since:
7.0.0


Lumisportal  7.0.0.121130 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.