public class ContractObjectParamDAO extends BillingDAO
dbInfo, transferData, user
Constructor and Description |
---|
ContractObjectParamDAO(User user,
java.lang.String billingId) |
Modifier and Type | Method and Description |
---|---|
ParamAddressValue |
getAddressParam(int objectId,
int paramId) |
java.util.List<java.lang.Integer> |
getContractParamIds(int objectId) |
java.util.List<ParamListValue> |
getListParam(int objectId,
int paramId) |
ContractParameter |
getParameter(int objectId,
int paramId) |
java.util.List<ContractParameter> |
getParameterList(int objectId) |
java.lang.String |
getParamTitle(int objectId,
int paramId) |
java.lang.Integer |
getParamType(int objectId,
int paramId) |
java.lang.String |
getTextParam(int objectId,
int paramId) |
static ParameterPhoneValue |
toCrmObject(java.util.List<ParamPhoneValueItem> phones) |
static ParameterAddressValue |
toCrmObject(ParamAddressValue item,
java.sql.Connection con) |
void |
updateAddressParameter(int objectId,
int paramId,
ParamAddressValue address) |
void |
updateDateParameter(int objectId,
int paramId,
java.lang.String value) |
void |
updateListParameter(int objectId,
int paramId,
java.lang.String value) |
void |
updateTextParameter(int objectId,
int paramId,
java.lang.String value) |
doRequest, getDbInfo, getPage, getParameterId, setPage
public ContractObjectParamDAO(User user, java.lang.String billingId) throws BGException
BGException
public java.util.List<ContractParameter> getParameterList(int objectId) throws BGException
BGException
public java.lang.String getTextParam(int objectId, int paramId)
public ContractParameter getParameter(int objectId, int paramId)
public java.lang.Integer getParamType(int objectId, int paramId)
public java.lang.String getParamTitle(int objectId, int paramId)
public java.util.List<java.lang.Integer> getContractParamIds(int objectId)
public ParamAddressValue getAddressParam(int objectId, int paramId) throws BGException
BGException
public java.util.List<ParamListValue> getListParam(int objectId, int paramId) throws BGException
BGException
public static ParameterPhoneValue toCrmObject(java.util.List<ParamPhoneValueItem> phones)
public static ParameterAddressValue toCrmObject(ParamAddressValue item, java.sql.Connection con) throws BGException
BGException
public void updateTextParameter(int objectId, int paramId, java.lang.String value) throws BGException
BGException
public void updateListParameter(int objectId, int paramId, java.lang.String value) throws BGException
BGException
public void updateAddressParameter(int objectId, int paramId, ParamAddressValue address) throws BGException
BGException
public void updateDateParameter(int objectId, int paramId, java.lang.String value) throws BGException
BGException