|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CHECreditStatusDAO
Method Summary | |
---|---|
void |
freeAmount(BigDecimal amount,
Integer userId)
Frees specified amount. |
CHECreditStatus |
getByUserId(Integer id)
Returns the status by the user id. |
CHECreditStatus |
getOrCreateByUserId(Integer userId)
Returns credit status by the user's id OR creates it if not exists. |
BigDecimal |
getReserved(Integer userId)
Returns reserved amount. |
void |
markReserved(BigDecimal amount,
Integer userId)
Marks specified amount as reserved. |
Methods inherited from interface org.zeroexchange.dao.DAO |
---|
getById, removeById, save |
Method Detail |
---|
void markReserved(BigDecimal amount, Integer userId)
void freeAmount(BigDecimal amount, Integer userId)
BigDecimal getReserved(Integer userId)
CHECreditStatus getByUserId(Integer id)
CHECreditStatus getOrCreateByUserId(Integer userId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |