|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlumis.portal.businesscontext.internal.BusinessContext
public class BusinessContext
Business context implementation.
Constructor Summary | |
---|---|
BusinessContext(HttpServletRequest request,
String id,
Document xml)
Creates a new business context with the params. |
Method Summary | |
---|---|
String |
get(String key)
Gets the value from context property. |
String |
getId()
Returns the registration id for this business context. |
Set<String> |
getKeySet()
Returns a Set with the keys contained in this BusinessContext, will bring parent's key set and it's parent's key set if the parent has a business context configured. |
String |
getPropertyName(String key)
Returns the name for the registered BusinessContext. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BusinessContext(HttpServletRequest request, String id, Document xml) throws ManagerException, PortalException
request
- the request.id
- identifier business context.xml
- xml content.
ManagerException
- if occurs something unexpected.
PortalException
- if occurs something unexpected.Method Detail |
---|
public String getId()
IBusinessContextSPI
getId
in interface IBusinessContextSPI
public Set<String> getKeySet()
IBusinessContext
getKeySet
in interface IBusinessContext
public String get(String key)
IBusinessContext
get
in interface IBusinessContext
key
- the property´s id.
public String getPropertyName(String key)
IBusinessContextSPI
getPropertyName
in interface IBusinessContextSPI
key
- property id.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |