org.pentaho.platform.api.engine
Interface IParameterSetter

All Superinterfaces:
IParameterProvider
All Known Implementing Classes:
PortletPreferencesParameterProvider, PortletRequestParameterProvider, PortletSessionParameterProvider, SimpleParameterSetter

public interface IParameterSetter
extends IParameterProvider

Augments the parameter provider by adding settings for the parameters. Some parameter providers allow setting and updating values.

Author:
jdixon

Field Summary
 
Fields inherited from interface org.pentaho.platform.api.engine.IParameterProvider
SCOPE_REQUEST, SCOPE_SESSION
 
Method Summary
 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 interface org.pentaho.platform.api.engine.IParameterProvider
getArrayParameter, getDateParameter, getDecimalParameter, getLongParameter, getParameter, getParameterNames, getStringArrayParameter, getStringParameter, hasParameter
 

Method Detail

setParameter

void setParameter(String name,
                  String value)
Sets a named parameter to a String value

Parameters:
name - name of the parameter to set
value - The String value to set

setParameter

void setParameter(String name,
                  long value)
Sets a named parameter to a long value

Parameters:
name - name of the parameter to set
value - The long value to set

setParameter

void setParameter(String name,
                  Date value)
Sets a named parameter to a Date value

Parameters:
name - name of the parameter to set
value - The Date value to set

setParameter

void setParameter(String name,
                  Object value)
Sets a named parameter to a Object value

Parameters:
name - name of the parameter to set
value - The Object value to set