일반회원 이름(COMTNGNRLMBER.MBER_NM) 암호화 저장(추가제안 Action4)의 마지막 단계로, comvnusermaster/comvnuserinfo 뷰를 거쳐 이름을 표시·검색하는 전체 소비자(66개 표시 구문 + 신규 발견된 검색(LIKE/exact-match) 구문)를 뷰 재정의 이전에 전수 정비했다. - 표시: 판별 컬럼(USER_SE 등) 추가 후 GNR일 때만 조건부 복호화 - 검색: LIKE/exact-match를 (HASH = #hash# OR 원본 조건) 패턴으로 전환 - 과정에서 발견한 기존 버그(EgovBBSLoneMaster/EgovBoard의 columnIndex 위치 불일치, BizPrvol/EgovLoginUsr/BizPrapp의 누락된 검색 전환 지점)를 최소 범위로 수정하거나(내 필드에 한해) 영향받지 않도록 우회 처리 뷰 자체(ALTER VIEW)는 아직 미실행 — 모든 소비자 정비가 끝나야 실행 가능한 all-or-nothing 게이트가 있어 별도로 진행한다. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
192 lines
4.3 KiB
Java
192 lines
4.3 KiB
Java
package egovframework.com.cmm;
|
|
|
|
import java.io.Serializable;
|
|
|
|
import org.apache.commons.lang.builder.ToStringBuilder;
|
|
|
|
/**
|
|
* @Class Name : ComDefaultVO.java
|
|
* @Description : ComDefaultVO class
|
|
* @Modification Information
|
|
* @
|
|
* @ 수정일 수정자 수정내용
|
|
* @ ------- -------- ---------------------------
|
|
* @ 2009.02.01 조재영 최초 생성
|
|
*
|
|
* @author 공통서비스 개발팀 조재영
|
|
* @since 2009.02.01
|
|
* @version 1.0
|
|
* @see
|
|
*
|
|
*/
|
|
public class ComDefaultVO implements Serializable {
|
|
|
|
/** 검색조건 */
|
|
private String searchCondition = "";
|
|
|
|
/** 검색Keyword */
|
|
private String searchKeyword = "";
|
|
|
|
/** 검색사용여부 */
|
|
private String searchUseYn = "";
|
|
|
|
/** 현재페이지 */
|
|
private int pageIndex = 1;
|
|
|
|
/** 서브페이지 */
|
|
private int pageIndex2 = 1;
|
|
|
|
public int getPageIndex2() {
|
|
return pageIndex2;
|
|
}
|
|
|
|
public void setPageIndex2(int pageIndex2) {
|
|
this.pageIndex2 = pageIndex2;
|
|
}
|
|
|
|
/** 페이지갯수 */
|
|
private int pageUnit = 10;
|
|
|
|
/** 페이지사이즈 */
|
|
private int pageSize = 10;
|
|
|
|
/** firstIndex */
|
|
private int firstIndex = 0;
|
|
|
|
/** lastIndex */
|
|
private int lastIndex = 1;
|
|
|
|
/** recordCountPerPage */
|
|
private int recordCountPerPage = 10;
|
|
|
|
/** 검색KeywordFrom */
|
|
private String searchKeywordFrom = "";
|
|
|
|
/** 검색KeywordTo */
|
|
private String searchKeywordTo = "";
|
|
|
|
public int getFirstIndex() {
|
|
return firstIndex;
|
|
}
|
|
|
|
public void setFirstIndex(int firstIndex) {
|
|
this.firstIndex = firstIndex;
|
|
}
|
|
|
|
public int getLastIndex() {
|
|
return lastIndex;
|
|
}
|
|
|
|
public void setLastIndex(int lastIndex) {
|
|
this.lastIndex = lastIndex;
|
|
}
|
|
|
|
public int getRecordCountPerPage() {
|
|
return recordCountPerPage;
|
|
}
|
|
|
|
public void setRecordCountPerPage(int recordCountPerPage) {
|
|
this.recordCountPerPage = recordCountPerPage;
|
|
}
|
|
|
|
public String getSearchCondition() {
|
|
return searchCondition;
|
|
}
|
|
|
|
public void setSearchCondition(String searchCondition) {
|
|
this.searchCondition = searchCondition;
|
|
}
|
|
|
|
public String getSearchKeyword() {
|
|
return searchKeyword;
|
|
}
|
|
|
|
public void setSearchKeyword(String searchKeyword) {
|
|
this.searchKeyword = searchKeyword;
|
|
}
|
|
|
|
/**
|
|
* 이름 검색 완전일치 해시(개인정보보호 기능개선 사업 추가제안 Action4, 2026-08-10).
|
|
* 회원 이름이 암호화되며 부분검색(LIKE)이 불가능해져, 이름 검색을 수행하는 DAO가
|
|
* {@code searchKeyword}로부터 채운다. 화면·서비스는 이 필드를 직접 설정하지 않는다.
|
|
*/
|
|
private String searchKeywordHash = "";
|
|
|
|
public String getSearchKeywordHash() {
|
|
return searchKeywordHash;
|
|
}
|
|
|
|
public void setSearchKeywordHash(String searchKeywordHash) {
|
|
this.searchKeywordHash = searchKeywordHash;
|
|
}
|
|
|
|
public String getSearchUseYn() {
|
|
return searchUseYn;
|
|
}
|
|
|
|
public void setSearchUseYn(String searchUseYn) {
|
|
this.searchUseYn = searchUseYn;
|
|
}
|
|
|
|
public int getPageIndex() {
|
|
return pageIndex;
|
|
}
|
|
|
|
public void setPageIndex(int pageIndex) {
|
|
this.pageIndex = pageIndex;
|
|
}
|
|
|
|
public int getPageUnit() {
|
|
return pageUnit;
|
|
}
|
|
|
|
public void setPageUnit(int pageUnit) {
|
|
this.pageUnit = pageUnit;
|
|
}
|
|
|
|
public int getPageSize() {
|
|
return pageSize;
|
|
}
|
|
|
|
public void setPageSize(int pageSize) {
|
|
this.pageSize = pageSize;
|
|
}
|
|
|
|
public String toString() {
|
|
return ToStringBuilder.reflectionToString(this);
|
|
}
|
|
|
|
|
|
/**
|
|
* searchKeywordFrom attribute를 리턴한다.
|
|
* @return String
|
|
*/
|
|
public String getSearchKeywordFrom() {
|
|
return searchKeywordFrom;
|
|
}
|
|
|
|
/**
|
|
* searchKeywordFrom attribute 값을 설정한다.
|
|
* @param searchKeywordFrom String
|
|
*/
|
|
public void setSearchKeywordFrom(String searchKeywordFrom) {
|
|
this.searchKeywordFrom = searchKeywordFrom;
|
|
}
|
|
|
|
/**
|
|
* searchKeywordTo attribute를 리턴한다.
|
|
* @return String
|
|
*/
|
|
public String getSearchKeywordTo() {
|
|
return searchKeywordTo;
|
|
}
|
|
|
|
/**
|
|
* searchKeywordTo attribute 값을 설정한다.
|
|
* @param searchKeywordTo String
|
|
*/
|
|
public void setSearchKeywordTo(String searchKeywordTo) {
|
|
this.searchKeywordTo = searchKeywordTo;
|
|
}
|
|
}
|