Class ContractObjectParamDAO

java.lang.Object
ru.bgcrm.plugin.bgbilling.dao.BillingDAO
ru.bgcrm.plugin.bgbilling.proto.dao.ContractObjectParamDAO

public class ContractObjectParamDAO extends BillingDAO
  • Constructor Details

    • ContractObjectParamDAO

      public ContractObjectParamDAO(User user, String billingId)
  • Method Details

    • getParameterList

      public List<ContractObjectParameter> getParameterList(int objectId)
    • getTextParam

      public String getTextParam(int objectId, int paramId)
    • getParameter

      public ContractObjectParameter getParameter(int objectId, int paramId)
    • getParamType

      public int getParamType(int objectId, int paramId)
    • getParamTitle

      public String getParamTitle(int objectId, int paramId)
    • getContractParamIds

      public List<Integer> getContractParamIds(int objectId)
    • getAddressParam

      public ParamAddressValue getAddressParam(int objectId, int paramId)
    • getListParam

      public List<IdTitle> getListParam(int objectId, int paramId)
    • toCrmObject

      @Deprecated public static ParameterAddressValue toCrmObject(ParamAddressValue item, Connection con) throws SQLException
      Deprecated.
      Use
      invalid reference
      ParamAddressValue#toParameterAddressValue(ParamAddressValue, Connection)
      Throws:
      SQLException
    • updateTextParameter

      public void updateTextParameter(int contractId, int objectId, int paramId, String value)
    • updateListParameter

      public void updateListParameter(int contractId, int objectId, int paramId, String value)
    • updateAddressParameter

      public void updateAddressParameter(int contractId, int objectId, int paramId, ParamAddressValue address)
    • updateDateParameter

      public void updateDateParameter(int contractId, int objectId, int paramId, String value)
    • getValuesForListParameter

      public List<IdTitle> getValuesForListParameter(int parameterId)