|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface RemoteParamInfo
Interface RemoteParamInfo contains description of parameters of a report.
| Method Summary | |
|---|---|
void |
check(java.lang.String value)
check whether the value is valid for the parameter. set locale via setLocale first. |
java.lang.String[] |
detectInvalidValues(java.lang.String[] values)
Detect whether values are out of range(value list of parameter) |
java.lang.String[][] |
getBooleanLiteral()
For Boolean type parameter, Return boolean literals |
java.lang.String |
getBoundSQL()
Return the parameter bound SQL. |
java.lang.String |
getDefaultDateFormat()
Return the default date format of the parameter. |
long |
getDefaultDateValue()
Return long value of the date/datetime/time parameter. |
java.lang.String |
getDefaultValue()
Return default value of the parameter. |
java.util.Vector |
getDisplayValues()
Return the parameter value displayed. |
java.util.Vector |
getDisplayValues(java.util.Locale locale)
Deprecated. use setLocale(Locale) and getDisplayValues() instead. |
java.lang.String |
getDynamicDisplayValue(long currTime)
|
java.lang.String |
getDynamicDisplayValue(long currTime,
java.util.Locale local)
Deprecated. use setLocale(Locale) and getDynamicDisplayValue(long) instead. |
java.util.Locale |
getLocale()
Return the Locale of the Parameter. |
java.lang.String |
getMaxLimit()
Return the max limit of the parameter value. |
java.lang.String |
getMaxLimit(java.util.Locale locale)
Deprecated. use setLocale(Locale) and getMaxLimit() instead. |
java.lang.String |
getMinLimit()
Return the max limit of the parameter value. |
java.lang.String |
getMinLimit(java.util.Locale locale)
Deprecated. use setLocale(Locale) and getMinLimit() instead. |
java.lang.String |
getName()
Return the name of the parameter. |
java.lang.String |
getNextLevel()
For cascading parameter, Return the next level parameter name for cascading parameter. |
java.lang.String |
getPreviousLevel()
For cascading parameter, Return the previous level parameter name. |
java.lang.String |
getPrompt()
Return the prompt message of the parameter. |
java.util.Vector |
getReferedBy()
Return the parameter refered by other parameters. |
java.lang.String |
getType()
Return the type of the parameter. |
java.lang.String |
getUserFormat()
Return the user defined format of the parameter. |
java.util.Vector |
getValueOptions()
Return the options of the parameter value. |
java.util.Vector |
getValueOptions(java.util.Locale locale)
Deprecated. use setLocale(Locale) and getValueOptions() instead. |
int |
getWhenOutOfRange()
Return the process method when type value is out of range. |
boolean |
isAllowAll()
Return if the parameter is allow type-in value directly. if it is true, UI should allow type-in value directly regardless whether the parameter is bound with column. |
boolean |
isAllowTypeIn()
Return if the parameter is allow type-in value directly. if it is true, UI should allow type-in value directly regardless whether the parameter is bound with column. |
boolean |
isCascading()
Return whether the parameter is cascading. |
boolean |
isColumn()
Return if the parameter only accepts a column name as its value. |
boolean |
isDistinct()
Returns if the parameter is distinct. |
boolean |
isDynamicDateParameter()
Indicate whether the paramter is dynamic parameter. |
boolean |
isHideParameterWhenSingleValueReturn()
For bound with column parameter, isColumn() is true,
Return if the parameter maybe hidden when single value is returned. |
boolean |
isMultiple()
estimate whether the parameter is support multiple choice or not. |
boolean |
isParameters()
Return if the values are parameters. |
boolean |
isReferedBy()
Return if the parameter is refered by other parameters. |
boolean |
isReferOther()
Return if the parameter refer other parameters. |
boolean |
isRequired()
Returns if the parameter is required. |
boolean |
isSetAsParameter()
For cascading parameter, Return whether the parameter is set as parameter. |
void |
setEncoding(java.lang.String encoding)
|
void |
setLocale(java.util.Locale locale)
set the Locale of the Parameter. Default is system default locale |
void |
setValue(java.lang.String value)
Set the parameter value. |
| Method Detail |
|---|
java.lang.String getName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getPrompt()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
void setLocale(java.util.Locale locale)
throws java.rmi.RemoteException
locale - the Locale of the Parameter.
java.rmi.RemoteException
java.util.Locale getLocale()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getDefaultValue()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
long getDefaultDateValue()
throws java.rmi.RemoteException
java.rmi.RemoteExceptionsetLocale(Locale)
boolean isColumn()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isDistinct()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isRequired()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getValueOptions(java.util.Locale locale)
throws java.rmi.RemoteException
setLocale(Locale) and getValueOptions() instead.
locale - the Locale will be ignored.
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.util.Vector getValueOptions()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.util.Vector getDisplayValues(java.util.Locale locale)
throws java.rmi.RemoteException
setLocale(Locale) and getDisplayValues() instead.
locale - the Locale will be ignored.
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.util.Vector getDisplayValues()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
void setEncoding(java.lang.String encoding)
throws java.rmi.RemoteException
java.rmi.RemoteException
void setValue(java.lang.String value)
throws java.rmi.RemoteException
value - the parameter value.
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getMaxLimit(java.util.Locale locale)
throws java.rmi.RemoteException
setLocale(Locale) and getMaxLimit() instead.
locale - the Locale will be ignored.
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.lang.String getMaxLimit()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getMinLimit(java.util.Locale locale)
throws java.rmi.RemoteException
setLocale(Locale) and getMinLimit() instead.
locale - the Locale will be ignored.
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.lang.String getMinLimit()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.setLocale(Locale)
java.lang.String getUserFormat()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.lang.String getDefaultDateFormat()
throws java.rmi.RemoteException
type is not
"Date", "DateTime", or "Time", return null
java.rmi.RemoteException - if a RemoteException occurs.
boolean isParameters()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isReferedBy()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
java.util.Vector getReferedBy()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isReferOther()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getBoundSQL()
throws java.rmi.RemoteException
java.rmi.RemoteException - if a RemoteException occurs.
boolean isDynamicDateParameter()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getDynamicDisplayValue(long currTime,
java.util.Locale local)
throws java.rmi.RemoteException
setLocale(Locale) and getDynamicDisplayValue(long) instead.
currTime - the milliseconds value of local current system time.locale - the Locale will be ignored.
java.rmi.RemoteExceptionsetLocale(Locale)
java.lang.String getDynamicDisplayValue(long currTime)
throws java.rmi.RemoteException
currTime - the milliseconds value of local current system time.
java.rmi.RemoteExceptionsetLocale(Locale)
boolean isHideParameterWhenSingleValueReturn()
throws java.rmi.RemoteException
isColumn() is true,
Return if the parameter maybe hidden when single value is returned.
java.rmi.RemoteExceptionisColumn()
java.lang.String[][] getBooleanLiteral()
throws java.rmi.RemoteException
true, String[1][] are literals for false
java.rmi.RemoteException
boolean isMultiple()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isAllowAll()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isCascading()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getPreviousLevel()
throws java.rmi.RemoteException
java.rmi.RemoteException
java.lang.String getNextLevel()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isSetAsParameter()
throws java.rmi.RemoteException
java.rmi.RemoteException
boolean isAllowTypeIn()
throws java.rmi.RemoteException
java.rmi.RemoteException
int getWhenOutOfRange()
throws java.rmi.RemoteException
ParamDesc.ADOPT_DIRECTLY
or ParamDesc.USE_DEFAULT
or ParamDesc.WARN
java.rmi.RemoteException
java.lang.String[] detectInvalidValues(java.lang.String[] values)
throws java.rmi.RemoteException
values - The values to be detected
java.rmi.RemoteException
void check(java.lang.String value)
throws RptServerException,
java.rmi.RemoteException
setLocale first.
value - the value to be checked.
RptServerException - if the value is invalid for the parameter.
java.rmi.RemoteExceptionsetLocale(Locale)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||