|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--planetj.dataengine.parameter.AbstractParameter | +--planetj.dataengine.parameter.RequestParameter | +--planetj.dataengine.parameter.RequestPromptParameter
A parameter which can be displayed as a prompt to the user. After the user enters a value, that value is stored in the HttpServletRequest. It can then be extracted from the request into this object.
Field Summary |
Fields inherited from interface planetj.dataengine.parameter.IParameter |
CONTEXT_SPECIFIC_ID_END, CONTEXT_SPECIFIC_ID_START, DEFAULT_DATA_TYPE, ID_START, PARAMETER_INDEX_PREFIX |
Constructor Summary | |
RequestPromptParameter()
|
Method Summary | |
Object |
clearValue()
Clears this parameter's value, returning the current value after it has been cleared. |
IParameter |
cloneParameter()
Clones this parameter |
Field |
getDisplayField()
Deprecated. (6/11/2003 7:43:20 AM) This method will not allow setting the Field's default value from a user property. Replaced by getDisplayField(ExecutingContext) |
Field |
getDisplayField(ExecutingContext ec)
Gets the field to use when displaying a prompt to the user. |
boolean |
isDisplay()
Tests if this parameter should be dispalyed. |
void |
setDisplay(boolean display)
Sets if this parameter should be dispalyed. |
void |
setToken(String token)
Sets the literal token that was used to denote this parameter in code |
Methods inherited from class planetj.dataengine.parameter.RequestParameter |
getParameterName, getRequestKey, loadValueFromSource |
Methods inherited from class planetj.dataengine.parameter.AbstractParameter |
clone, equals, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getDefaultValueAsString, getSource, getTargetFieldDescriptor, getToken, getValue, hashCode, isSQLParameter, setContext, setDataType, setDefaultValueAsString, setSource, setSQLParameter, setValue, toString |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface planetj.dataengine.parameter.IDisplayParameter |
getDisplayFieldDescriptor, getOperationString, setOperationString |
Methods inherited from interface planetj.dataengine.parameter.IParameter |
clone, getCodeReplacementString, getContext, getContextIndex, getContextSpecificId, getDataType, getSource, getTargetFieldDescriptor, getToken, getValue, loadValueFromSource, setContext, setDataType, setSource, setValue |
Methods inherited from interface planetj.dataengine.parameter.IJDBCSQLParameter |
isSQLParameter, setSQLParameter |
Constructor Detail |
public RequestPromptParameter()
Method Detail |
public Object clearValue() throws CMException
clearValue
in interface IParameter
clearValue
in class AbstractParameter
CMException
public IParameter cloneParameter()
cloneParameter
in interface IParameter
cloneParameter
in class AbstractParameter
public Field getDisplayField() throws CMException
getDisplayField
in interface IDisplayParameter
CMException
public Field getDisplayField(ExecutingContext ec) throws CMException
getDisplayField
in interface IDisplayParameter
ec
- current context in which code is executing.
CMException
public boolean isDisplay()
isDisplay
in interface IDisplayParameter
public void setDisplay(boolean display)
public void setToken(String token) throws CMException
setToken
in interface IParameter
setToken
in class RequestParameter
CMException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |