Package org.bgerp.dao.expression
Class ParamExpressionObject
java.lang.Object
org.bgerp.dao.expression.ParamExpressionObject
- All Implemented Interfaces:
ExpressionObject
- Direct Known Subclasses:
ProcessParamExpressionObject,UserParamExpressionObject
Expression object for retrieving object parameter values
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddressAreaIds(int paramId) Selects set with area IDs of parameter with typeaddressaddressCityIds(int paramId) Selects set with city IDs of parameter with typeaddressaddressQuarterIds(int paramId) Selects set with quarter IDs of parameter with typeaddressaddressStreetIds(int paramId) Selects set with street IDs of parameter with typeaddressaddressValues(int paramId) Deprecated.addressValues(int paramId, String formatName) Возвращает список строк со значениями адресного параметра, формат указан.protected Collection<ParameterAddressValue> getParamAddressValues(int paramId, String formatName) getParamDate(int paramId) Deprecated.getParamDateTime(int paramId) Deprecated.getParamPhoneNoFormat(int paramId) Deprecated.getParamText(int paramId) Deprecated.getValue(int paramId) Selects parameter values for the current object.listValueIds(int paramId) Selects value IDs oflistandlistcountparameter typeslistValueTitles(int paramId) Deprecated.voidval(int paramId) Selects parameter values for the current object.Selects parameter values for the current object
-
Constructor Details
-
ParamExpressionObject
-
-
Method Details
-
toContext
- Specified by:
toContextin interfaceExpressionObject
-
addressValues
Возвращает список строк со значениями адресного параметра, формат указан.- Parameters:
paramId- the parameter ID- Returns:
-
addressCityIds
Selects set with city IDs of parameter with typeaddress- Parameters:
paramId- the parameter ID- Returns:
- not
nullset of values
-
addressStreetIds
Selects set with street IDs of parameter with typeaddress- Parameters:
paramId- the parameter ID- Returns:
- not
nullset of values
-
addressQuarterIds
Selects set with quarter IDs of parameter with typeaddress- Parameters:
paramId- the parameter ID- Returns:
- not
nullset of values
-
addressAreaIds
Selects set with area IDs of parameter with typeaddress- Parameters:
paramId- the parameter ID- Returns:
- not
nullset of values
-
getParamAddressValues
-
listValueIds
Selects value IDs oflistandlistcountparameter types- Parameters:
paramId- the parameter ID- Returns:
- not
nullset of values
-
val
Selects parameter values for the current object- Parameters:
paramId- the parameter IDformat- optional format of the result:
nffor param typephonereturnsobjectinvalid reference
ParameterTypePhone- Returns:
- parameter's value, string if no is defined
-
val
Selects parameter values for the current object.- Parameters:
paramId- the parameter ID.- Returns:
- string representation of the parameter value.
-
getValue
Selects parameter values for the current object.- Parameters:
paramId- the parameter ID.- Returns:
- string representation of the parameter value.
-
addressValues
Deprecated. -
listValueTitles
Deprecated.UsegetValue(int) -
getParamText
Deprecated.- Throws:
SQLException
-
getParamDate
Deprecated.- Throws:
SQLException
-
getParamDateTime
Deprecated.- Throws:
SQLException
-
getParamPhoneNoFormat
Deprecated.- Throws:
SQLException
-