Package ru.bgcrm.dao.expression
Class ParamExpressionObject
java.lang.Object
ru.bgcrm.dao.expression.ParamExpressionObject
- All Implemented Interfaces:
ExpressionObject
- Direct Known Subclasses:
ProcessParamExpressionObject
,UserParamExpressionObject
Expression object for retrieving object parameter values
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddressAreaIds
(int paramId) Selects set with area IDs of parameter with typeaddress
addressCityIds
(int paramId) Selects set with city IDs of parameter with typeaddress
addressQuarterIds
(int paramId) Selects set with quarter IDs of parameter with typeaddress
addressStreetIds
(int paramId) Selects set with street IDs of parameter with typeaddress
addressValues
(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 oflist
andlistcount
parameter typeslistValueTitles
(int paramId) Deprecated.val
(int paramId) Selects parameter values for the current object.Selects parameter values for the current objectMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ru.bgcrm.dao.expression.ExpressionObject
toContext
-
Constructor Details
-
ParamExpressionObject
-
-
Method Details
-
addressValues
Возвращает список строк со значениями адресного параметра, формат указан.- Parameters:
paramId
- the parameter ID- Returns:
-
addressCityIds
Selects set with city IDs of parameter with typeaddress
- Parameters:
paramId
- the parameter ID- Returns:
- not
null
set of values
-
addressStreetIds
Selects set with street IDs of parameter with typeaddress
- Parameters:
paramId
- the parameter ID- Returns:
- not
null
set of values
-
addressQuarterIds
Selects set with quarter IDs of parameter with typeaddress
- Parameters:
paramId
- the parameter ID- Returns:
- not
null
set of values
-
addressAreaIds
Selects set with area IDs of parameter with typeaddress
- Parameters:
paramId
- the parameter ID- Returns:
- not
null
set of values
-
getParamAddressValues
-
listValueIds
Selects value IDs oflist
andlistcount
parameter types- Parameters:
paramId
- the parameter ID- Returns:
- not
null
set of values
-
val
Selects parameter values for the current object- Parameters:
paramId
- the parameter IDformat
- optional format of the result:
nf
for param typephone
returnsinvalid 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
-