public class PortalRequestParameters extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PortalRequestParameters.PreviousParameters
The previous parameters of a page.
|
Constructor and Description |
---|
PortalRequestParameters(SessionConfig sessionConfig) |
PortalRequestParameters(SessionConfig sessionConfig,
HttpServletRequest httpServletRequest) |
PortalRequestParameters(SessionConfig sessionConfig,
String parametersXmlString) |
Modifier and Type | Method and Description |
---|---|
void |
applyServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId,
Map<String,String[]> parameters)
Applies service interface instance parameters, keeping previous values for portlet mode or
window state parameters, if each did not change.
|
PortalRequestParameters.PreviousParameters |
generatePreviousParameters(HttpServletRequest request)
Generate the previous parameters for this portal request parameters
instance, storing it for automatic later retrieval.
|
String |
getPageParameterValue(String name) |
String |
getPreviousParametersStorageId()
Returns the previous parameters storage id.
|
FileParameter |
getServiceInterfaceInstanceFileParameterValue(String name,
String serviceInterfaceInstanceId) |
Enumeration<String> |
getServiceInterfaceInstanceParameterNames(String serviceInterfaceInstanceId) |
Map<String,String[]> |
getServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId) |
String |
getServiceInterfaceInstanceParameterValue(String name,
String serviceInterfaceInstanceId) |
String[] |
getServiceInterfaceInstanceParameterValues(String name,
String serviceInterfaceInstanceId) |
static boolean |
isReservedParameter(String parameterName)
Indicates if the parameter is reserved for special use by the portal
and may not be freely used by an installed application.
|
void |
setPageParameter(String parameterName,
String[] parameterValues) |
void |
setPageParameters(Map<String,String[]> parameters) |
HashMap<String,String[]> |
setParameters(Document parametersDoc) |
void |
setParameters(String parametersXmlString) |
void |
setServiceInstanceParameters(String serviceInstanceId,
Map<String,String[]> parameters) |
void |
setServiceInterfaceInstanceFileParameters(String serviceInterfaceInstanceId,
Map<String,FileParameter> parameters) |
void |
setServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId,
Map<String,String[]> parameters) |
void |
setServiceInterfaceParameters(String serviceInterfaceId,
Map<String,String[]> parameters) |
void |
setServiceParameters(String serviceId,
Map<String,String[]> parameters) |
public static final String PAGE_PARAMETER_CLIENT_SCRIPT_REQUEST
public static final String PAGE_PARAMETER_PRINTING
public static final String PAGE_PARAMETER_FROM_PCM
public static final String PAGE_PARAMETER_SAVE_XML
public static final String PAGE_PARAMETER_RENDER_INTERFACE_INST
public static final String PAGE_PARAMETER_CALLER_INTERFACE_INST
public static final String PAGE_PARAMETER_PREVIEW_ITEMID
public static final String PAGE_PARAMETER_DATA_PREVIEW_MODE
public static final String PAGE_PARAMETER_ITEMID
public static final String PAGE_PARAMETER_ITEM_ID
public static final String PAGE_PARAMETER_RUN_TIME_INTERFACE
public static final String PAGE_PARAMETER_RUN_TIME_SERVICE_INST
public static final String PAGE_PARAMETER_SERVICE_INST
public static final String PAGE_PARAMETER_SERVICE
public static final String PAGE_PARAMETER_INTERFACE
public static final String PAGE_PARAMETER_INTERFACE_INST
public static final String PAGE_PARAMETER_NEW
public static final String PAGE_PARAMETER_PREVIOUS
public static final String PAGE_PARAMETER_PROCESS_ACTION
public static final String PAGE_PARAMETER_PAGEID
public static final String PAGE_PARAMETER_CHANNELID
public static final String PAGE_PARAMETER_CLIENTRENDERED
public static final String PAGE_PARAMETER_REQUEST_FROM_HTML_FILE
public static final String PAGE_PARAMETER_PAGE_CACHE_ID
public static final String PAGE_PARAMETER_LOCALE
public static final String PAGE_PARAMETER_FROM_FORM
public static final String PAGE_PARAMETER_HIGHLIGHT_INTERFACE_INST
public static final String PAGE_PARAMETER_REPLACE_INTERFACE_COMMANDS
public static final String PAGE_PARAMETER_REPLACE_INTERFACE_PARAMS
public static final String PAGE_PARAMETER_REPLACE_INTERFACES_STATE
public static final String PAGE_PARAMETER_RESIZE_CLIENT_WINDOW
public static final String PAGE_PARAMETER_ORIGINAL_URL
public static final String PAGE_PARAMETER_SAFE_RENDER_MODE
public static final String PAGE_PARAMETER_CLIENT_MESSAGE
public static final String PAGE_PARAMETER_FROM_ERROR
public static final String URL_REPLACEABLE_PARAMETER_PAGEID
public static final String PAGE_PARAMETER_REFERER
public static final String PAGE_PARAMETER_ORIGINAL_PAGEID
public static final String PAGE_PARAMETER_TEMPORARY_MODE
public static final String PAGE_PARAMETER_PREVIOUS_STORAGE_ID
PreviousParametersStorage
,
Constant Field Valuespublic static final String II_PARAMETER_PORTLET_MODE
public static final String II_PARAMETER_WINDOW_STATE
public static final String PAGE_PARAMETER_WRITER_KEYS
PortalPrintWriter
keys already used in the page. Currently used only when the page is
in administration perspective.public static final String PAGE_PARAMETER_TOGGLE_MODE_ORIGINAL_URL
public static final String PAGE_PARAMETER_CALLER_SERVICE_INST
public static final String PAGE_PARAMETER_CALLER_SERVICE_INTERFACE_MENU_LEVEL
ServiceInterfaceMenuLevel
.public static final String PAGE_PARAMETER_CALLER_SERVICE_INTERFACE_MENU_ITEM
public PortalRequestParameters(SessionConfig sessionConfig)
public PortalRequestParameters(SessionConfig sessionConfig, String parametersXmlString) throws PortalException
PortalException
public PortalRequestParameters(SessionConfig sessionConfig, HttpServletRequest httpServletRequest) throws PortalException
PortalException
public static boolean isReservedParameter(String parameterName)
parameterName
- the parameter name.public void setParameters(String parametersXmlString) throws PortalException
PortalException
public HashMap<String,String[]> setParameters(Document parametersDoc) throws PortalException
PortalException
public Enumeration<String> getServiceInterfaceInstanceParameterNames(String serviceInterfaceInstanceId) throws PortalException
PortalException
public FileParameter getServiceInterfaceInstanceFileParameterValue(String name, String serviceInterfaceInstanceId)
public String getServiceInterfaceInstanceParameterValue(String name, String serviceInterfaceInstanceId) throws PortalException
PortalException
public String[] getServiceInterfaceInstanceParameterValues(String name, String serviceInterfaceInstanceId) throws PortalException
PortalException
public Map<String,String[]> getServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId) throws PortalException
PortalException
public void applyServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId, Map<String,String[]> parameters)
serviceInterfaceInstanceId
- the service interface instance that is the target of the parameters.parameters
- the parameters to be applied.public void setServiceInterfaceInstanceParameters(String serviceInterfaceInstanceId, Map<String,String[]> parameters) throws PortalException
PortalException
public void setServiceInterfaceInstanceFileParameters(String serviceInterfaceInstanceId, Map<String,FileParameter> parameters) throws PortalException
PortalException
public void setServiceInterfaceParameters(String serviceInterfaceId, Map<String,String[]> parameters) throws PortalException
PortalException
public void setServiceInstanceParameters(String serviceInstanceId, Map<String,String[]> parameters) throws PortalException
PortalException
public void setServiceParameters(String serviceId, Map<String,String[]> parameters) throws PortalException
PortalException
public void setPageParameters(Map<String,String[]> parameters) throws PortalException
PortalException
public void setPageParameter(String parameterName, String[] parameterValues) throws PortalException
PortalException
public final String getPreviousParametersStorageId()
PAGE_PARAMETER_PREVIOUS_STORAGE_ID
parameter
when the session storage is to be used if the previous parameters in the
request are not found.public PortalRequestParameters.PreviousParameters generatePreviousParameters(HttpServletRequest request) throws PortalException
PAGE_PARAMETER_PREVIOUS_STORAGE_ID
must be set with the value of the key of the previous parameters returned.request
- the user's request.PortalException
public String getPageParameterValue(String name) throws PortalException
PortalException
LumisXP 12.4.0.200625 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.