Interface IBusinessContextManagerSPI
-
- All Known Implementing Classes:
BusinessContextManager
public interface IBusinessContextManagerSPI
Provides operations to manager the business context.- Since:
- 7.0.0
- Version:
- $Revision: 15055 $ $Date: 2012-11-29 18:48:37 -0200 (Thu, 29 Nov 2012) $
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 contextvoid
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
-
-