|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.businesscontext.internal.BusinessContextManager
public class BusinessContextManager
Business context manager implementation.
Field Summary | |
---|---|
static String |
BUSINESS_CONTEXT_PROPERTY_BAG_ID
The business context property bag identifier. |
Constructor Summary | |
---|---|
BusinessContextManager()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String BUSINESS_CONTEXT_PROPERTY_BAG_ID
Constructor Detail |
---|
public BusinessContextManager()
Method Detail |
---|
public void register(String id, String name, String xml) throws PortalObjectAlreadyExistsException, PortalException
IBusinessContextManagerSPI
register
in interface IBusinessContextManagerSPI
id
- context id.name
- context name.xml
- xml content.
PortalObjectAlreadyExistsException
- if some context already exists with the same id.
PortalException
public void updateRegistration(String id, String name, String xml) throws PortalObjectNotFoundException, PortalException
IBusinessContextManagerSPI
updateRegistration
in interface IBusinessContextManagerSPI
id
- context id.name
- context name.xml
- xml content.
PortalObjectNotFoundException
- if the context was not found.
PortalException
public void unregister(String id) throws PortalObjectNotFoundException, PortalException
IBusinessContextManagerSPI
unregister
in interface IBusinessContextManagerSPI
id
- context id.
PortalObjectNotFoundException
- if the context was not found.
PortalException
public IBusinessContextSPI buildBusinessContext(PageConfig pageConfig, HttpServletRequest request)
request
- the request.webResource
- the web resource of the business context.
public void addBusinessContextAggregationValues(IBusinessContextSPI businessContext)
public void removeBusinessContext(IBusinessContextSPI businessContext)
public IBusinessContextSPI getBusinessContext(HttpServletRequest request)
IBusinessContextManagerSPI
getBusinessContext
in interface IBusinessContextManagerSPI
public IBusinessContextSPI getBusinessContext(IServiceInterfaceRequest request)
IBusinessContextManagerSPI
getBusinessContext
in interface IBusinessContextManagerSPI
public void updateLocalBusinessContextUsage(PageConfig page, BusinessContextUsage usage) throws PortalException
business context usage
for the
given page.
page
- the page.usage
- the business context usage.
PortalException
public void updateLocalBusinessContextUsage(ChannelConfig channel, BusinessContextUsage usage) throws PortalException
business context usage
for the
given channel.
channel
- the channel.usage
- the business context usage.
PortalException
public void updateLocalBusinessContextUsage(String propertyBagId, BusinessContextUsage usage) throws PortalException
business context usage
for the
property bag with the given identifier.
propertyBagId
- the property bag identifier.usage
- the business context usage.
PortalException
public BusinessContextUsage getLocalContexts(PageConfig page) throws PortalException
business context usage
for the
given page.
page
- the page.
business context usage
for the
given page.
PortalException
public BusinessContextUsage getLocalContexts(ChannelConfig channel) throws PortalException
business context usage
for the
given channel.
channel
- the channel.
business context usage
for the
given channel.
PortalException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |