lumis.doui
Class DouiContext
java.lang.Object
lumis.doui.DouiContext
@StableMinor(version="5.5",
sinceVersion="4.0")
public class DouiContext
- extends Object
Provides general context information and constants for Doui services
- Since:
- 4.0.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DOUI_PARAMETER_STORED_VALUES
public static final String DOUI_PARAMETER_STORED_VALUES
- See Also:
- Constant Field Values
DOUI_PARAMETER_FROM_FORM
public static final String DOUI_PARAMETER_FROM_FORM
- See Also:
- Constant Field Values
DOUI_PARAMETER_ERROR
public static final String DOUI_PARAMETER_ERROR
- See Also:
- Constant Field Values
DOUI_PARAMETER_MESSAGE
public static final String DOUI_PARAMETER_MESSAGE
- See Also:
- Constant Field Values
DOUI_PARAMETER_START_AT
public static final String DOUI_PARAMETER_START_AT
- See Also:
- Constant Field Values
DOUI_PARAMETER_MAX_ROWS
public static final String DOUI_PARAMETER_MAX_ROWS
- See Also:
- Constant Field Values
DOUI_ORDER_BY_FIELD
public static final String DOUI_ORDER_BY_FIELD
- See Also:
- Constant Field Values
DOUI_ORDER_BY_DIR
public static final String DOUI_ORDER_BY_DIR
- See Also:
- Constant Field Values
DEFAULT_MAX_ROWS
public static final int DEFAULT_MAX_ROWS
- See Also:
- Constant Field Values
DouiContext
public DouiContext(IServiceInterfaceRequest request,
IServiceInterfaceResponse response,
ITransaction transaction)
throws PortalException
- Throws:
PortalException
getDouiDefinitionProcessor
public IDouiDefinitionProcessor getDouiDefinitionProcessor()
throws PortalException
- Returns a doui definition processor that evaluates the ELs present,
according to this doui context.
The ELs inside the controls are not evaluated.
They must be evaluated by the controls themselves.
- Throws:
PortalException
- Since:
- 4.1.0
getDouiServiceInterfaceDefinition
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceDefinition()
isPostback
public boolean isPostback()
isProcessAction
public boolean isProcessAction()
storeValue
public void storeValue(String key,
String value)
- Stores a value.
- Parameters:
key
- the value key.value
- the value to store.
getStoredValues
public Map<String,String> getStoredValues()
- Returns a unmodifiable view of the stored values in this context.
- Returns:
- the stored values.
getPreviousStoredValue
public String getPreviousStoredValue(String key)
- Returns a previously stored value.
- Parameters:
key
- the value key.
- Returns:
- the value or null if it was not found.
getRequest
public IServiceInterfaceRequest getRequest()
- Returns:
- Returns the request.
getResponse
public IServiceInterfaceResponse getResponse()
- Returns:
- Returns the response.
getRenderRequest
public IServiceInterfaceRenderRequest getRenderRequest()
- Returns:
- Returns the request.
getRenderResponse
public IServiceInterfaceRenderResponse getRenderResponse()
- Returns:
- Returns the response.
getActionRequest
public IServiceInterfaceActionRequest getActionRequest()
- Returns:
- Returns the request.
getActionResponse
public IServiceInterfaceActionResponse getActionResponse()
- Returns:
- Returns the response.
getControlContainer
public ControlContainer getControlContainer()
- Returns:
- Returns the controlContainer.
createControlContainer
protected ControlContainer createControlContainer()
getSourceContainer
public SourceContainer getSourceContainer()
- Returns:
- Returns the sourceContainer.
createSourceContainer
protected SourceContainer createSourceContainer()
getProcessActionContainer
public ProcessActionContainer getProcessActionContainer()
createProcessActionContainer
protected ProcessActionContainer createProcessActionContainer()
getDouiHyperlink
public DouiHyperlink getDouiHyperlink()
createDouiHyperlink
protected DouiHyperlink createDouiHyperlink()
getTransaction
public ITransaction getTransaction()
release
public void release()
Lumisportal 5.5.0.091130 - Copyright © 2001-2007, Lumis. All Rights Reserved.