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) Select set with area IDs of parameter with typeaddressaddressCityIds(int paramId) Select set with city IDs of parameter with typeaddressaddressQuarterIds(int paramId) Select set with quarter IDs of parameter with typeaddressaddressStreetIds(int paramId) Select set with street IDs of parameter with typeaddressaddressValues(int paramId) Deprecated.addressValues(int paramId, String formatName) Select address parameter values stringsprotected 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) Select parameter values for the current objectlistValueIds(int paramId) Select value IDs oflistandlistcountparameter typeslistValueTitles(int paramId) Deprecated.voidSet parameter value(s) out of a string representation, the following parameter types are not supported:Parameter.Type.ADDRESS,Parameter.Type.FILE,Parameter.Type.LIST,Parameter.Type.LISTCOUNT,Parameter.Type.TREE,Parameter.Type.TREECOUNT
Thevaluetreated as:
-Parameter.Type.BLOB- string value
-Parameter.Type.DATE- formatted date string
-Parameter.Type.DATETIME- formatted datetime string
-Parameter.Type.EMAIL- comma-separated email addresses with possible display names
-Parameter.Type.MONEY- dot-separated decimal number
-Parameter.Type.PHONE- phone-separated phone numbers without format, only E164 digits
-Parameter.Type.TEXT- string valuevoidval(int paramId) Select parameter values for the current objectSelect parameter values for the current object
-
Constructor Details
-
ParamExpressionObject
-
-
Method Details
-
toContext
- Specified by:
toContextin interfaceExpressionObject
-
addressValues
-
addressCityIds
-
addressStreetIds
-
addressQuarterIds
-
addressAreaIds
-
getParamAddressValues
-
listValueIds
-
val
-
val
Select parameter values for the current object- Parameters:
paramId- the parameter ID- Returns:
- string representation of the parameter value
-
getValue
Select parameter values for the current object- Parameters:
paramId- the parameter ID- Returns:
- string representation of the parameter value
-
sval
Set parameter value(s) out of a string representation, the following parameter types are not supported:Parameter.Type.ADDRESS,Parameter.Type.FILE,Parameter.Type.LIST,Parameter.Type.LISTCOUNT,Parameter.Type.TREE,Parameter.Type.TREECOUNT
Thevaluetreated as:
-Parameter.Type.BLOB- string value
-Parameter.Type.DATE- formatted date string
-Parameter.Type.DATETIME- formatted datetime string
-Parameter.Type.EMAIL- comma-separated email addresses with possible display names
-Parameter.Type.MONEY- dot-separated decimal number
-Parameter.Type.PHONE- phone-separated phone numbers without format, only E164 digits
-Parameter.Type.TEXT- string value- Parameters:
paramId- the parameter IDvalue- the string representation- Throws:
SQLException
-
addressValues
Deprecated. -
listValueTitles
-
getParamText
Deprecated.- Throws:
SQLException
-
getParamDate
Deprecated.- Throws:
SQLException
-
getParamDateTime
Deprecated.- Throws:
SQLException
-
getParamPhoneNoFormat
Deprecated.- Throws:
SQLException
-