@StableMinor(version="12.5", sinceVersion="4.0") public class DouiContext extends Object
Modifier and Type | Class and Description |
---|---|
static class |
DouiContext.ValidationResult
Result of the controls validation process.
|
Modifier and Type | Field and Description |
---|---|
static int |
DEFAULT_MAX_ROWS |
static String |
DOUI_ORDER_BY_DIR |
static String |
DOUI_ORDER_BY_FIELD |
static String |
DOUI_PARAMETER_ERROR |
static String |
DOUI_PARAMETER_FROM_FORM |
static String |
DOUI_PARAMETER_MAX_ROWS |
static String |
DOUI_PARAMETER_MESSAGE |
static String |
DOUI_PARAMETER_START_AT |
static String |
DOUI_PARAMETER_STORED_VALUES |
Constructor and Description |
---|
DouiContext(IServiceInterfaceRequest request,
IServiceInterfaceResponse response,
ITransaction transaction) |
public static final String DOUI_PARAMETER_STORED_VALUES
public static final String DOUI_PARAMETER_FROM_FORM
public static final String DOUI_PARAMETER_ERROR
public static final String DOUI_PARAMETER_MESSAGE
public static final String DOUI_PARAMETER_START_AT
public static final String DOUI_PARAMETER_MAX_ROWS
public static final String DOUI_ORDER_BY_FIELD
public static final String DOUI_ORDER_BY_DIR
public static final int DEFAULT_MAX_ROWS
public DouiContext(IServiceInterfaceRequest request, IServiceInterfaceResponse response, ITransaction transaction) throws PortalException
PortalException
public IDouiDefinitionProcessor getDouiDefinitionProcessor() throws PortalException
The ELs inside the controls are not evaluated. They must be evaluated by the controls themselves.
PortalException
public DouiServiceInterfaceInstanceDefinition getDouiServiceInterfaceDefinition()
public boolean isPostback()
public boolean isProcessAction()
public DouiContext.ValidationResult getValidationResult()
public void setValidationResult(boolean valid)
This method is called by DouiServiceInterface.validate(lumis.doui.DouiContext)
, and
normally should not be called directly, unless the validation process
is customized.
valid
- true
if the validation was successful,
false
otherwise.public void storeValue(String key, String value)
key
- the value key.value
- the value to store.public Map<String,String> getStoredValues()
public String getPreviousStoredValue(String key)
key
- the value key.public IServiceInterfaceRequest getRequest()
public IServiceInterfaceResponse getResponse()
public IServiceInterfaceRenderRequest getRenderRequest()
public IServiceInterfaceRenderResponse getRenderResponse()
public IServiceInterfaceActionRequest getActionRequest()
public IServiceInterfaceActionResponse getActionResponse()
public ControlContainer getControlContainer()
protected ControlContainer createControlContainer()
public SourceContainer getSourceContainer()
protected SourceContainer createSourceContainer()
public ProcessActionContainer getProcessActionContainer()
protected ProcessActionContainer createProcessActionContainer()
public DouiHyperlink getDouiHyperlink()
protected DouiHyperlink createDouiHyperlink()
public ITransaction getTransaction()
public void release()
LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.