|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pentaho.platform.engine.core.solution.BaseParameterProvider org.pentaho.platform.web.portal.PortletSessionParameterProvider
public class PortletSessionParameterProvider
Field Summary |
---|
Fields inherited from interface org.pentaho.platform.api.engine.IParameterProvider |
---|
SCOPE_REQUEST, SCOPE_SESSION |
Constructor Summary | |
---|---|
PortletSessionParameterProvider(IPentahoSession session)
|
Method Summary | |
---|---|
Object |
getParameter(String name)
Gets the named parameter from the provider as it's native type |
Iterator |
getParameterNames()
Return list of all avialable parameter names in this provider |
String |
getStringParameter(String name,
String defaultValue)
Retrieve the requested parameter as type java.lang.String |
void |
setParameter(String name,
Date value)
Sets a named parameter to a Date value |
void |
setParameter(String name,
long value)
Sets a named parameter to a long value |
void |
setParameter(String name,
Object value)
Sets a named parameter to a Object value |
void |
setParameter(String name,
String value)
Sets a named parameter to a String value |
Methods inherited from class org.pentaho.platform.engine.core.solution.BaseParameterProvider |
---|
getArrayParameter, getDateParameter, getDecimalParameter, getListParameter, getLongParameter, getStringArrayParameter, hasParameter |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.platform.api.engine.IParameterProvider |
---|
getArrayParameter, getDateParameter, getDecimalParameter, getLongParameter, getStringArrayParameter, hasParameter |
Constructor Detail |
---|
public PortletSessionParameterProvider(IPentahoSession session)
Method Detail |
---|
public Object getParameter(String name)
IParameterProvider
getParameter
in interface IParameterProvider
getParameter
in class BaseParameterProvider
name
- The name of the parameter to retrieve
public String getStringParameter(String name, String defaultValue)
IParameterProvider
getStringParameter
in interface IParameterProvider
getStringParameter
in class BaseParameterProvider
name
- name of parameter to retrievedefaultValue
- value to return if the named parameter can not be found
public void setParameter(String name, String value)
IParameterSetter
setParameter
in interface IParameterSetter
name
- name of the parameter to setvalue
- The String value to setpublic void setParameter(String name, long value)
IParameterSetter
setParameter
in interface IParameterSetter
name
- name of the parameter to setvalue
- The long value to setpublic void setParameter(String name, Date value)
IParameterSetter
setParameter
in interface IParameterSetter
name
- name of the parameter to setvalue
- The Date value to setpublic void setParameter(String name, Object value)
IParameterSetter
setParameter
in interface IParameterSetter
name
- name of the parameter to setvalue
- The Object value to setpublic Iterator getParameterNames()
IParameterProvider
getParameterNames
in interface IParameterProvider
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |