@Deprecated
public class PaymentAndChargeTypeManager
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
FLAG_EDITABLE
Deprecated.
|
static int |
FLAG_NOTEDITABLE
Deprecated.
|
static int |
TYPE_BRANCH
Deprecated.
|
static int |
TYPE_LEAF
Deprecated.
|
Constructor and Description |
---|
PaymentAndChargeTypeManager(java.sql.Connection con)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getChargeTitleById(int chid)
Deprecated.
|
java.lang.String |
getChargeTitleByID(int chid)
Deprecated.
|
java.util.List<IdTitle> |
getChargeTypes(java.lang.Integer flag)
Deprecated.
|
java.util.List<ChargeType> |
getChargeTypes(java.lang.Integer flag,
java.lang.Integer type)
Deprecated.
|
protected java.util.Map<java.lang.String,java.lang.String> |
getPaymentOrChargeTypes(int mode)
Deprecated.
Мэп типов приходов/расходов.
|
java.lang.String |
getPaymentTitleById(int pid)
Deprecated.
|
java.lang.String |
getPaymentTitleByID(int pid)
Deprecated.
|
java.util.List<IdTitle> |
getPaymentTypes(java.lang.Integer flag)
Deprecated.
Мэп типов платежей.
|
java.util.List<PaymentType> |
getPaymentTypes(java.lang.Integer flag,
java.lang.Integer type)
Deprecated.
|
boolean |
isPaymentTypeExists(int id)
Deprecated.
Использовать directory, если вернет null, значит не существует.
|
public static final int FLAG_EDITABLE
public static final int FLAG_NOTEDITABLE
public static final int TYPE_BRANCH
public static final int TYPE_LEAF
public PaymentAndChargeTypeManager(java.sql.Connection con)
protected java.util.Map<java.lang.String,java.lang.String> getPaymentOrChargeTypes(int mode) throws java.sql.SQLException
mode
- 0 - contract_payment_types, 1,(+ещё?) - contract_charge_typesjava.sql.SQLException
public java.util.List<IdTitle> getChargeTypes(java.lang.Integer flag) throws java.sql.SQLException
java.sql.SQLException
public java.util.List<ChargeType> getChargeTypes(java.lang.Integer flag, java.lang.Integer type)
public java.util.List<IdTitle> getPaymentTypes(java.lang.Integer flag) throws java.sql.SQLException
flag
- если не null то возвращается только с указанным флагомjava.sql.SQLException
public java.util.List<PaymentType> getPaymentTypes(java.lang.Integer flag, java.lang.Integer type) throws java.sql.SQLException
java.sql.SQLException
public java.lang.String getChargeTitleById(int chid)
@Deprecated public java.lang.String getChargeTitleByID(int chid) throws java.sql.SQLException
getChargeTitleById(int)
.chid
- java.sql.SQLException
public java.lang.String getPaymentTitleById(int pid) throws java.sql.SQLException
java.sql.SQLException
@Deprecated public java.lang.String getPaymentTitleByID(int pid) throws java.sql.SQLException
getPaymentTitleById(int)
.pid
- java.sql.SQLException
public boolean isPaymentTypeExists(int id)
id
- код типа платежа