package itn.let.cop.bbs.service; import java.io.Serializable; import java.util.List; import org.apache.commons.lang3.builder.ToStringBuilder; /** * 게시판 속성정보를 담기위한 엔티티 클래스 * @author 공통 서비스 개발팀 이삼섭 * @since 2009.03.12 * @version 1.0 * @see * *
 * << 개정이력(Modification Information) >>
 * 
 *   수정일      수정자          수정내용
 *  -------    --------    ---------------------------
 *  2009.03.12  이삼섭          최초 생성
 *  2011.08.31  JJY            경량환경 템플릿 커스터마이징버전 생성 
 *  
 *  
*/ @SuppressWarnings("serial") public class BoardMaster implements Serializable { /** 게시판 속성코드 */ private String bbsAttrbCode = ""; /** 게시판 아이디 */ private String bbsId = ""; /** 게시판 소개 */ private String bbsIntrcn = ""; /** 게시판 명 */ private String bbsNm = ""; /** 게시판 유형코드 */ private String bbsTyCode = ""; /** 파일첨부가능여부 */ private String fileAtchPosblAt = ""; /** 최초등록자 아이디 */ private String frstRegisterId = ""; /** 최초등록시점 */ private String frstRegisterPnttm = ""; /** 최종수정자 아이디 */ public String lastUpdusrId = ""; /** 최종수정시점 */ private String lastUpdusrPnttm = ""; /** 첨부가능파일숫자 */ private String posblAtchFileNumber = "0"; /** 첨부가능파일사이즈 */ private String posblAtchFileSize = "50"; /** 템플릿 아이디 */ private String tmplatId = ""; /** 템플릿 경로 */ private String tmplatCours = ""; /** 사용여부 */ private String useAt = ""; private String useAtTxt = ""; /** 사용플래그 */ private String bbsUseFlag = ""; /** 대상 아이디 */ private String trgetId = ""; /** 등록구분코드 */ private String registSeCode = ""; /** 유일 아이디 */ private String uniqId = ""; /** 템플릿 명 */ private String tmplatNm = ""; //--------------------------------- // 2009.06.26 : 2단계 기능 추가 //--------------------------------- /** 추가 option (댓글-comment, 만족도조사-stsfdg) */ private String option = ""; /** 댓글 여부 */ private String commentAt = ""; /** 만족도조사 */ private String stsfdgAt = ""; ////------------------------------- /** 게시판유형 리스트 수 */ private String listNum = "10"; /** 게시판유형 페이지 수 */ private String pageNum = "10"; /** 제목 글자 수 */ private String titleNum = "0"; /** 답장가능여부 */ private String replyPosblAt = ""; /** 댓글 기능 */ private String addYn = ""; /** 댓글 기능 */ private String noticeYn = ""; /** 비밀번호 기능 */ private String passwordYn = ""; /** 공개 여부 */ private String openYn = ""; /** 등록일 표시 */ private String regidayYn = ""; /** 조회수 표시 */ private String viewsYn = ""; /** 등록자 표시 */ private String regierYn = ""; /** 아이피 표시 */ private String ipYn = ""; /** 관리권한 */ private String manageAuth = ""; /** 공지권한 */ private String noticeAuth = ""; /** 목록권한 */ private String listAuth = ""; /** 보기권한 */ private String viewAuth = ""; /** 쓰기권한 */ private String writeAuth = ""; /** 답글권한 */ private String replyAuth = ""; /** 댓글권한 */ private String addAuth = ""; /** 파일첨부 권한 */ private String fileatchAuth = ""; /** 권한 목록 */ private List authorities = null; /** 삭제 권한 */ private String deleteAuth = ""; private String siteId = ""; private String siteNm = ""; private String searchConditionSite = ""; private String webChgYn = ""; //사용자 페이지의 등록/삭제/수정 가능여부(DB에는 사용안함) private String writeYn; //사용자 글쓰기 가능 여부 private String tabBbsId; //사전정보공표의 탭 id // 중복. 위에 posblAtchFile... 사용 // /** 첨부가능파일숫자 */ // private int atchPosblFileNumber = 0; // // /** 첨부가능파일사이즈 */ // private String atchPosblFileSize = ""; /** 권한 조회 */ private boolean manageAuthFlag = false; private boolean noticeAuthFlag = false; private boolean listAuthFlag = false; private boolean viewAuthFlag = false; private boolean writeAuthFlag = false; private boolean replyAuthFlag = false; private boolean addAuthFlag = false; private boolean fileatchAuthFlag = false; private boolean deleteAuthFlag = false; private boolean selectedFlag = false; //사전정보공표 사용(리스트중 선택된것) /** 게시판 관리자 IDX */ private int mngId = 0; /** 게시판 관리자 ID */ private String bbsMngId = ""; /** 게시판 관리자 ID 복수개 */ private String bbsMngIds = ""; /** 게시판 설명 */ private String bbsDc = ""; /** 매뉴구조 */ private String menuCours = ""; /** 1 Dept 메뉴 번호 */ private String firstDeptMenuNo = ""; private String seCmmnCdId = ""; private String ntceDateYn = ""; private String koglCn = ""; private String noticeBbsid = ""; private String qnaBbsid = ""; private String newsBbsid = ""; private String libraryBbsid = ""; /** 썸네일 여부 */ private String thumbAtchFileYn = ""; /** 공공누리 여부 */ private String koglCnYn = ""; /** 링크 여부 */ private String linkUrlYn = ""; private String searchSortCnd = ""; // 정렬 항목 private String searchSortOrd = ""; // 정렬 구분(오름/내림) /** * bbsAttrbCode attribute를 리턴한다. * * @return the bbsAttrbCode */ public String getBbsAttrbCode() { return bbsAttrbCode; } /** * bbsAttrbCode attribute 값을 설정한다. * * @param bbsAttrbCode * the bbsAttrbCode to set */ public void setBbsAttrbCode(String bbsAttrbCode) { this.bbsAttrbCode = bbsAttrbCode; } /** * bbsId attribute를 리턴한다. * * @return the bbsId */ public String getBbsId() { return bbsId; } /** * bbsId attribute 값을 설정한다. * * @param bbsId * the bbsId to set */ public void setBbsId(String bbsId) { this.bbsId = bbsId; } /** * bbsIntrcn attribute를 리턴한다. * * @return the bbsIntrcn */ public String getBbsIntrcn() { return bbsIntrcn; } /** * bbsIntrcn attribute 값을 설정한다. * * @param bbsIntrcn * the bbsIntrcn to set */ public void setBbsIntrcn(String bbsIntrcn) { this.bbsIntrcn = bbsIntrcn; } /** * bbsNm attribute를 리턴한다. * * @return the bbsNm */ public String getBbsNm() { return bbsNm; } /** * bbsNm attribute 값을 설정한다. * * @param bbsNm * the bbsNm to set */ public void setBbsNm(String bbsNm) { this.bbsNm = bbsNm; } /** * bbsTyCode attribute를 리턴한다. * * @return the bbsTyCode */ public String getBbsTyCode() { return bbsTyCode; } /** * bbsTyCode attribute 값을 설정한다. * * @param bbsTyCode * the bbsTyCode to set */ public void setBbsTyCode(String bbsTyCode) { this.bbsTyCode = bbsTyCode; } /** * fileAtchPosblAt attribute를 리턴한다. * * @return the fileAtchPosblAt */ public String getFileAtchPosblAt() { return fileAtchPosblAt; } /** * fileAtchPosblAt attribute 값을 설정한다. * * @param fileAtchPosblAt * the fileAtchPosblAt to set */ public void setFileAtchPosblAt(String fileAtchPosblAt) { this.fileAtchPosblAt = fileAtchPosblAt; } /** * frstRegisterId attribute를 리턴한다. * * @return the frstRegisterId */ public String getFrstRegisterId() { return frstRegisterId; } /** * frstRegisterId attribute 값을 설정한다. * * @param frstRegisterId * the frstRegisterId to set */ public void setFrstRegisterId(String frstRegisterId) { this.frstRegisterId = frstRegisterId; } /** * frstRegisterPnttm attribute를 리턴한다. * * @return the frstRegisterPnttm */ public String getFrstRegisterPnttm() { return frstRegisterPnttm; } /** * frstRegisterPnttm attribute 값을 설정한다. * * @param frstRegisterPnttm * the frstRegisterPnttm to set */ public void setFrstRegisterPnttm(String frstRegisterPnttm) { this.frstRegisterPnttm = frstRegisterPnttm; } /** * lastUpdusrId attribute를 리턴한다. * * @return the lastUpdusrId */ public String getLastUpdusrId() { return lastUpdusrId; } /** * lastUpdusrId attribute 값을 설정한다. * * @param lastUpdusrId * the lastUpdusrId to set */ public void setLastUpdusrId(String lastUpdusrId) { this.lastUpdusrId = lastUpdusrId; } /** * lastUpdusrPnttm attribute를 리턴한다. * * @return the lastUpdusrPnttm */ public String getLastUpdusrPnttm() { return lastUpdusrPnttm; } /** * lastUpdusrPnttm attribute 값을 설정한다. * * @param lastUpdusrPnttm * the lastUpdusrPnttm to set */ public void setLastUpdusrPnttm(String lastUpdusrPnttm) { this.lastUpdusrPnttm = lastUpdusrPnttm; } /** * posblAtchFileNumber attribute를 리턴한다. * * @return the posblAtchFileNumber */ public String getPosblAtchFileNumber() { return posblAtchFileNumber; } /** * posblAtchFileNumber attribute 값을 설정한다. * * @param posblAtchFileNumber * the posblAtchFileNumber to set */ public void setPosblAtchFileNumber(String posblAtchFileNumber) { this.posblAtchFileNumber = posblAtchFileNumber; } /** * posblAtchFileSize attribute를 리턴한다. * * @return the posblAtchFileSize */ public String getPosblAtchFileSize() { return posblAtchFileSize; } /** * posblAtchFileSize attribute 값을 설정한다. * * @param posblAtchFileSize * the posblAtchFileSize to set */ public void setPosblAtchFileSize(String posblAtchFileSize) { this.posblAtchFileSize = posblAtchFileSize; } /** * replyPosblAt attribute를 리턴한다. * * @return the replyPosblAt */ public String getReplyPosblAt() { return replyPosblAt; } /** * replyPosblAt attribute 값을 설정한다. * * @param replyPosblAt * the replyPosblAt to set */ public void setReplyPosblAt(String replyPosblAt) { this.replyPosblAt = replyPosblAt; } /** * tmplatId attribute를 리턴한다. * * @return the tmplatId */ public String getTmplatId() { return tmplatId; } /** * tmplatId attribute 값을 설정한다. * * @param tmplatId * the tmplatId to set */ public void setTmplatId(String tmplatId) { this.tmplatId = tmplatId; } /** * useAt attribute를 리턴한다. * * @return the useAt */ public String getUseAt() { return useAt; } /** * useAt attribute 값을 설정한다. * * @param useAt * the useAt to set */ public void setUseAt(String useAt) { this.useAt = useAt; } /** * bbsUseFlag attribute를 리턴한다. * * @return the bbsUseFlag */ public String getBbsUseFlag() { return bbsUseFlag; } /** * bbsUseFlag attribute 값을 설정한다. * * @param bbsUseFlag * the bbsUseFlag to set */ public void setBbsUseFlag(String bbsUseFlag) { this.bbsUseFlag = bbsUseFlag; } /** * trgetId attribute를 리턴한다. * * @return the trgetId */ public String getTrgetId() { return trgetId; } /** * trgetId attribute 값을 설정한다. * * @param trgetId * the trgetId to set */ public void setTrgetId(String trgetId) { this.trgetId = trgetId; } /** * registSeCode attribute를 리턴한다. * * @return the registSeCode */ public String getRegistSeCode() { return registSeCode; } /** * registSeCode attribute 값을 설정한다. * * @param registSeCode * the registSeCode to set */ public void setRegistSeCode(String registSeCode) { this.registSeCode = registSeCode; } /** * uniqId attribute를 리턴한다. * * @return the uniqId */ public String getUniqId() { return uniqId; } /** * uniqId attribute 값을 설정한다. * * @param uniqId * the uniqId to set */ public void setUniqId(String uniqId) { this.uniqId = uniqId; } /** * tmplatNm attribute를 리턴한다. * * @return the tmplatNm */ public String getTmplatNm() { return tmplatNm; } /** * tmplatNm attribute 값을 설정한다. * * @param tmplatNm * the tmplatNm to set */ public void setTmplatNm(String tmplatNm) { this.tmplatNm = tmplatNm; } /** * option attribute를 리턴한다. * @return the option */ public String getOption() { return option; } /** * option attribute 값을 설정한다. * @param option the option to set */ public void setOption(String option) { this.option = option; } /** * commentAt attribute를 리턴한다. * @return the commentAt */ public String getCommentAt() { return commentAt; } /** * commentAt attribute 값을 설정한다. * @param commentAt the commentAt to set */ public void setCommentAt(String commentAt) { this.commentAt = commentAt; } /** * stsfdgAt attribute를 리턴한다. * @return the stsfdgAt */ public String getStsfdgAt() { return stsfdgAt; } /** * stsfdg attribute 값을 설정한다. * @param stsfdgAt the stsfdgAt to set */ public void setStsfdgAt(String stsfdgAt) { this.stsfdgAt = stsfdgAt; } /** * toString 메소드를 대치한다. */ public String toString() { return ToStringBuilder.reflectionToString(this); } public String getListNum() { return listNum; } public void setListNum(String listNum) { this.listNum = listNum; } public String getPageNum() { return pageNum; } public void setPageNum(String pageNum) { this.pageNum = pageNum; } public String getTitleNum() { return titleNum; } public void setTitleNum(String titleNum) { this.titleNum = titleNum; } public String getAddYn() { return addYn; } public void setAddYn(String addYn) { this.addYn = addYn; } public String getNoticeYn() { return noticeYn; } public void setNoticeYn(String noticeYn) { this.noticeYn = noticeYn; } public String getPasswordYn() { return passwordYn; } public void setPasswordYn(String passwordYn) { this.passwordYn = passwordYn; } public String getOpenYn() { return openYn; } public void setOpenYn(String openYn) { this.openYn = openYn; } public String getRegidayYn() { return regidayYn; } public void setRegidayYn(String regidayYn) { this.regidayYn = regidayYn; } public String getViewsYn() { return viewsYn; } public void setViewsYn(String viewsYn) { this.viewsYn = viewsYn; } public String getRegierYn() { return regierYn; } public void setRegierYn(String regierYn) { this.regierYn = regierYn; } public String getIpYn() { return ipYn; } public void setIpYn(String ipYn) { this.ipYn = ipYn; } public String getManageAuth() { return manageAuth; } public void setManageAuth(String manageAuth) { this.manageAuth = manageAuth; } public String getNoticeAuth() { return noticeAuth; } public void setNoticeAuth(String noticeAuth) { this.noticeAuth = noticeAuth; } public String getListAuth() { return listAuth; } public void setListAuth(String listAuth) { this.listAuth = listAuth; } public String getViewAuth() { return viewAuth; } public void setViewAuth(String viewAuth) { this.viewAuth = viewAuth; } public String getWriteAuth() { return writeAuth; } public void setWriteAuth(String writeAuth) { this.writeAuth = writeAuth; } public String getReplyAuth() { return replyAuth; } public void setReplyAuth(String replyAuth) { this.replyAuth = replyAuth; } public String getAddAuth() { return addAuth; } public void setAddAuth(String addAuth) { this.addAuth = addAuth; } public String getFileatchAuth() { return fileatchAuth; } public void setFileatchAuth(String fileatchAuth) { this.fileatchAuth = fileatchAuth; } public boolean isManageAuthFlag() { return manageAuthFlag; } public void setManageAuthFlag(boolean manageAuthFlag) { this.manageAuthFlag = manageAuthFlag; } public boolean isNoticeAuthFlag() { return noticeAuthFlag; } public void setNoticeAuthFlag(boolean noticeAuthFlag) { this.noticeAuthFlag = noticeAuthFlag; } public boolean isListAuthFlag() { return listAuthFlag; } public void setListAuthFlag(boolean listAuthFlag) { this.listAuthFlag = listAuthFlag; } public boolean isViewAuthFlag() { return viewAuthFlag; } public void setViewAuthFlag(boolean viewAuthFlag) { this.viewAuthFlag = viewAuthFlag; } public boolean isWriteAuthFlag() { return writeAuthFlag; } public void setWriteAuthFlag(boolean writeAuthFlag) { this.writeAuthFlag = writeAuthFlag; } public boolean isReplyAuthFlag() { return replyAuthFlag; } public void setReplyAuthFlag(boolean replyAuthFlag) { this.replyAuthFlag = replyAuthFlag; } public boolean isAddAuthFlag() { return addAuthFlag; } public void setAddAuthFlag(boolean addAuthFlag) { this.addAuthFlag = addAuthFlag; } public boolean isFileatchAuthFlag() { return fileatchAuthFlag; } public void setFileatchAuthFlag(boolean fileatchAuthFlag) { this.fileatchAuthFlag = fileatchAuthFlag; } public boolean isDeleteAuthFlag() { return deleteAuthFlag; } public void setDeleteAuthFlag(boolean deleteAuthFlag) { this.deleteAuthFlag = deleteAuthFlag; } public List getAuthorities() { return authorities; } public String getDeleteAuth() { return deleteAuth; } public void setDeleteAuth(String deleteAuth) { this.deleteAuth = deleteAuth; } /** * 포토형 게시판 리스트수 4에 배수 체크 */ private String listNumCheck = ""; // 중복. 위에 posblAtchFile... 사용 // public int getAtchPosblFileNumber() { // return atchPosblFileNumber; // } // // public void setAtchPosblFileNumber(int atchPosblFileNumber) { // this.atchPosblFileNumber = atchPosblFileNumber; // } // // // public String getAtchPosblFileSize() { // return atchPosblFileSize; // } // // public void setAtchPosblFileSize(String atchPosblFileSize) { // this.atchPosblFileSize = atchPosblFileSize; // } /** * @param authorities the authorities to set */ public void setAuthorities(List authorities) { for(String obj : authorities){ if(manageAuth.equals(obj)){this.setManageAuthFlag(true);} if(noticeAuth.equals(obj)){this.setNoticeAuthFlag(true);} if(listAuth.equals(obj)){this.setListAuthFlag(true);} if(viewAuth.equals(obj)){this.setViewAuthFlag(true);} if(writeAuth.equals(obj)){this.setWriteAuthFlag(true);} if(replyAuth.equals(obj)){this.setReplyAuthFlag(true);} if(addAuth.equals(obj)){this.setAddAuthFlag(true);} if(fileatchAuth.equals(obj)){this.setFileatchAuthFlag(true);} if(deleteAuth.equals(obj)){this.setDeleteAuthFlag(true);} } } /** * @return the bbsMngId */ public String getBbsMngId() { return bbsMngId; } /** * @param bbsMngId the bbsMngId to set */ public void setBbsMngId(String bbsMngId) { this.bbsMngId = bbsMngId; } /** * @return the mngId */ public int getMngId() { return mngId; } /** * @param mngId the mngId to set */ public void setMngId(int mngId) { this.mngId = mngId; } /** * @return the bbsMngIds */ public String getBbsMngIds() { return bbsMngIds; } /** * @param bbsMngIds the bbsMngIds to set */ public void setBbsMngIds(String bbsMngIds) { this.bbsMngIds = bbsMngIds; } /** * @return the tmplatCours */ public String getTmplatCours() { return tmplatCours; } /** * @param tmplatCours the tmplatCours to set */ public void setTmplatCours(String tmplatCours) { this.tmplatCours = tmplatCours; } /** * @return the listNumCheck */ public String getListNumCheck() { return listNumCheck; } /** * @param listNumCheck the listNumCheck to set */ public void setListNumCheck(String listNumCheck) { this.listNumCheck = listNumCheck; } /** * @return the bbsDc */ public String getBbsDc() { return bbsDc; } /** * @param bbsDc the bbsDc to set */ public void setBbsDc(String bbsDc) { this.bbsDc = bbsDc; } public String getMenuCours() { return menuCours; } public void setMenuCours(String menuCours) { this.menuCours = menuCours; } /** * @return the firstDeptMenuNo */ public String getFirstDeptMenuNo() { // s_visual s_visual_img01 // s_visual s_visual_img02 9200000 // s_visual s_visual_img03 9300000 // s_visual s_visual_img04 9400000 // s_visual s_visual_img05 return firstDeptMenuNo; } /** * @param firstDeptMenuNo the firstDeptMenuNo to set */ public void setFirstDeptMenuNo(String firstDeptMenuNo) { this.firstDeptMenuNo = firstDeptMenuNo; } public String getSiteId() { return siteId; } public void setSiteId(String siteId) { this.siteId = siteId; } public String getSearchConditionSite() { return searchConditionSite; } public void setSearchConditionSite(String searchConditionSite) { this.searchConditionSite = searchConditionSite; } public String getSiteNm() { return siteNm; } public void setSiteNm(String siteNm) { this.siteNm = siteNm; } public String getSeCmmnCdId() { return seCmmnCdId; } public void setSeCmmnCdId(String seCmmnCdId) { this.seCmmnCdId = seCmmnCdId; } public String getNtceDateYn() { return ntceDateYn; } public void setNtceDateYn(String ntceDateYn) { this.ntceDateYn = ntceDateYn; } public String getKoglCn() { return koglCn; } public void setKoglCn(String koglCn) { this.koglCn = koglCn; } public String getNoticeBbsid() { return noticeBbsid; } public void setNoticeBbsid(String noticeBbsid) { this.noticeBbsid = noticeBbsid; } public String getQnaBbsid() { return qnaBbsid; } public void setQnaBbsid(String qnaBbsid) { this.qnaBbsid = qnaBbsid; } public String getNewsBbsid() { return newsBbsid; } public void setNewsBbsid(String newsBbsid) { this.newsBbsid = newsBbsid; } public String getLibraryBbsid() { return libraryBbsid; } public void setLibraryBbsid(String libraryBbsid) { this.libraryBbsid = libraryBbsid; } public String getThumbAtchFileYn() { return thumbAtchFileYn; } public void setThumbAtchFileYn(String thumbAtchFileYn) { this.thumbAtchFileYn = thumbAtchFileYn; } public String getKoglCnYn() { return koglCnYn; } public void setKoglCnYn(String koglCnYn){ this.koglCnYn = koglCnYn; } public String getLinkUrlYn() { return linkUrlYn; } public void setLinkUrlYn(String linkUrlYn) { this.linkUrlYn = linkUrlYn; } public String getUseAtTxt() { return useAtTxt; } public void setUseAtTxt(String useAtTxt) { this.useAtTxt = useAtTxt; } public String getSearchSortCnd() { return searchSortCnd; } public void setSearchSortCnd(String searchSortCnd) { this.searchSortCnd = searchSortCnd; } public String getSearchSortOrd() { return searchSortOrd; } public void setSearchSortOrd(String searchSortOrd) { this.searchSortOrd = searchSortOrd; } public String getWebChgYn() { return webChgYn; } public void setWebChgYn(String webChgYn) { this.webChgYn = webChgYn; } public String getWriteYn() { return writeYn; } public void setWriteYn(String writeYn) { this.writeYn = writeYn; } public boolean isSelectedFlag() { return selectedFlag; } public void setSelectedFlag(boolean selectedFlag) { this.selectedFlag = selectedFlag; } public String getTabBbsId() { return tabBbsId; } public void setTabBbsId(String tabBbsId) { this.tabBbsId = tabBbsId; } }