public class CodeUtil extends Object
Constructor and Description |
---|
CodeUtil() |
Modifier and Type | Method and Description |
---|---|
static <K1,K2,V> net.ibizsoftware.jwork.core.collections.JMultiKeyHashMap<K1,K2,V> |
convertJMultiKeyHashMap(List<? extends net.ibizsoftware.jwork.core.collections.MultiKeyOperation<K1,K2,V>> list)
MultiKeyOperation 의 형태의 List를 JMultiKeyHashMap 로 populate하여 반환한다.
|
static List<Map<String,Object>> |
getCacheComboList(Map<String,Object> paramMap)
기존에 항상 DB에서 조회 하고 있기 때문에 codeSelectboxtag 에서 쓰는 것을 cache에서 조회하는 것으로 대체
2019.05.26 ojh
|
static String |
getCodeGroupName(String codeGroupId,
String codeWorkGrpId)
코드그룹명을 리턴한다.
|
static <T> List<T> |
getCodeList(String codeGrpId,
Class<T> type,
String codeWorkGrpId)
codeGrpId 에대한 코드 리스트를 type 값에 의해 List
|
static String |
getCodeName(String codeGrpId,
String code,
String codeWorkGrpId)
코드명을 리턴한다.
|
static List<Map<String,Object>> |
getCodes(String codeGrpId,
String includeColumn,
String includeValue,
String[] exclude,
String codeWorkGrpId)
코드그룹ID와 여러가지 필터링 옵션들을 받아 해당하는 데이터 조회한다.
|
static CodeVO |
getCodeVO(List<LocaleCodeVO> allCodeList,
String codeGrpId,
String code)
allCodeList 중에 codeGrpId, code 에따른 하나의 CodeVo를 리턴한다.
|
static List<Map<String,Object>> |
getComboList(Map<String,Object> paramMap)
paramMap{ codeGrpId= value, codeGrpCd = value } 따른 코드리스트를 가져온다.
|
public static <K1,K2,V> net.ibizsoftware.jwork.core.collections.JMultiKeyHashMap<K1,K2,V> convertJMultiKeyHashMap(List<? extends net.ibizsoftware.jwork.core.collections.MultiKeyOperation<K1,K2,V>> list)
list
- MultiKeyOperation 의 Listpublic static List<Map<String,Object>> getCacheComboList(Map<String,Object> paramMap)
paramMap
- public static String getCodeGroupName(String codeGroupId, String codeWorkGrpId)
codeGroupId
- 코드 그룹 아이디public static <T> List<T> getCodeList(String codeGrpId, Class<T> type, String codeWorkGrpId)
codeGrpId 에대한 코드 리스트를 type 값에 의해 List
codeGrpId
- 코드 그룹 아이디type
- 대상 typecodeWorkGrpId
- 코드업무그룹public static String getCodeName(String codeGrpId, String code, String codeWorkGrpId)
codeGrpId
- 코드 그룹 아이디code
- 코드 valuecodeWorkGrpId
- 코드업무그룹public static List<Map<String,Object>> getCodes(String codeGrpId, String includeColumn, String includeValue, String[] exclude, String codeWorkGrpId)
codeGrpId
- : 조회할 코드그룹IDincludeColumn
- : 검색할 기타요소컬럼변수includeValue
- : 검색할 값exclude
- : 제외할 값의 배열codeWorkGrpId
- : 코드업무그룹public static CodeVO getCodeVO(List<LocaleCodeVO> allCodeList, String codeGrpId, String code)
allCodeList
- 대상 전체 코드 리스트codeGrpId
- 코드 그룹 아이디code
- code valueCopyright © 2025. All rights reserved.