package nlib.cmm;


/**
 * 상수 정의
 * @author Kdmistrator
 *
 */
public class Constant {
	public static final String ENCODING_UTF8 = "UTF-8";
	//public static final String NAVER_API_CLIENT_ID = "8eXEekRgHTb5SgAJNqOT"; // server//사용하지 말것
	//public static final String NAVER_API_CLIENT_ID = "E2NR9PXuVJf6GHnnaGrs"; // local //사용하지 말것
	//public static final String GOOGLE_API_KEY = "AIzaSyBs9SeIzKKCM392GpdqxORkHDItauzm7WA"; // 사용하지 말것
	
	// FCM Server key
	public static final String FCM_SERVER_SEND_URL = "https://fcm.googleapis.com/fcm/send";
	public static final String FCM_SERVER_KEY = "AAAAYRjFhhA:APA91bHcWX8Uan5cc1MuXGvwPQdgcmmRwiuYlO_-FA_o-ysoHBvFlwiGUqApNIWCUbsbSTGbKwEVKqPu8WZV5GH7nbVjo5wWXtXyUzn9PfRdEjEsuhK_XhdLEJ5rH714pnBeu-KNgUxm";
	public static final String FCM_SEND_YN = "N";
	
	// kccf home key
	public static final String KCCF_HOME_KEY = "kccf.home";
	
	// com/context-properties.xml 의 ams 서버관련 키값
	public static final String AMS_SERVER_KEY = "ams.server";
	public static final String AMS_FILE_PATH_KEY = "ams.file.url.path";
	public static final String AMS_ASSETS_PATH_KEY = "ams.assets.url.path";
	public static final String AMS_THUMBNAIL_PATH_KEY = "ams.thumbnail.url.path";
	public static final String NFS_DOC_KEY = "ams.doc.path"; 
	
	// upload 경로
	public static final String UPLOAD_HOME_KEY = "file.upload.home"; // 서버경로 (upload폴더 상위경로) : 로컬 개발시 upload 파일이 로컬에 존재하지 않을 경우 사용
	
	//pdfview
	public static final String PDF_VIEW_KEY = "pdf.view.path";
	
	// com/context-properties.xml 의 nas 서버관련 키값
	public static final String NFS_NAS_KEY = "ams.nas.path";
	
	// 나클립스 동영상 플레이어 주소
	public static final String MEDIA_PLAYER_KEY = "naclips.server";
	public static final String MEDIA_PLAYER_VOD_KEY = "naclips.vod.path";
	public static final String MEDIA_PLAYER_AUDIO_KEY = "naclips.audio.path";
	
	public static final String [] AREA_CODE_ARRAY = {"02", "051", "053", "032", "062", "042", "052", "044" , "031" , "033" , "043" , "041" , "063", "061" , "054" , "055" , "064" , "070", "0505"};
	public static final String [] MOBILE_CODE_ARRAY = {"010", "011", "016", "017", "018", "019"};	
	
    public static final String [] DF_SIDO_CODE_ARRAY = {"11","26","27","28","29","30","31","41","42","43","44","45","46","47","48","49"};
    public static final String [] DF_SIDO_NAME_ARRAY = {"서울","부산","대구","인천","광주","대전","울산","경기","강원","충북","충남","전북","전남","경북","경남","제주"};
    
    public static final String [] AIS_SIDO_NAME_ARRAY = {"서울","부산","대구","인천","광주","대전","울산","경기","강원","충북","충남","전북","전남","경북","경남","제주","세종","북한","전국"};
    public static final String [] AIS_SIDO_PARAM_NAME_ARRAY = {"서울특별시","부산광역시","대구광역시","인천광역시","광주광역시","대전광역시","울산광역시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","제주특별자치도","세종특별자치시","북한","전국"};
    
    public static final String [] SIDO_NAME_ARRAY = {"서울특별시","부산광역시","대구광역시","인천광역시","광주광역시","대전광역시","울산광역시","경기도","강원도","충청북도","충청남도","전라북도","전라남도","경상북도","경상남도","세종특별자치시","제주특별자치도"};
    
    public static final String [] DF_DISS_CODE_ARRAY = {"1","2","3","4","5"};
    public static final String [] DF_DISS_NAME_ARRAY = {"감기","눈병","식중독","천식","피부병"};
    
    public static final String [] FCST_TIME_ARRAY = {"03","06","09","12","15","18","21","00"};
    public static final String [][] FCST_TIME_MAPPING_ARRAY = {{"01","02","03"}, {"04","05","06"},{"07","08","09"},{"10","11","12"},{"13","14","15"},{"16","17","18"},{"19","20","21"},{"22","23","00"}};
    
    public static final String [] GIA_COTENT_TYPE_ID_ARRAY = {"12","14","15","25","28","32","38","39"};
    public static final String [] GIA_COTENT_TYPE_NAME_ARRAY = {"관광지","문화시설","축제/공연/행사","여행코스","레포츠","숙박","쇼핑","음식"};
    // 축제/공연/행사 -> 공연ㆍ행사
    
    public static final String [] DF_COUNCIL_CODE_ARRAY = {"GW","GG","GB","GN","GJ","DG","DJ","BU","SU","SJ","US","IC","JB","JN","JJ","CB","CN"};
    public static final String [] AMS_ASSET_TYPE_ARRAY = {"이미지","동영상","오디오","문서","링크"};
    public static final String [] AMS_CATEGORY_ARRAY = {"A","B","C","D","E","F","G","H","I"};
    
	public static final String USE_AT_Y = "Y";
	public static final String USE_AT_N = "N";
	
	public static final String CMS_SERIES_DEFAULT = "마을신앙";
	
	public static final String QNA_ANSW_N = "답변대기";
	public static final String QNA_ANSW_Y = "답변완료";
	public static final String QNA_PROC_P = "2";
	public static final String QNA_PROC_C = "3";
	
	public static final String VIEW_TYPE_L = "L"; //목록
	public static final String VIEW_TYPE_D = "D"; //상세
	
	
	public static final String LOGIN_HIS_TYPE_I = "I";
	public static final String LOGIN_HIS_TYPE_O = "O";
	
	public static final String CODE_ID_COM004 = "COM004"; // 게시판
	public static final String CODE_ID_COM013 = "COM013"; // 회원상태
	public static final String CODE_ID_COM034 = "COM034"; // 이용자  	
	public static final String CODE_ID_FMS004 = "FMS004"; // 테마
	public static final String CODE_ID_FMS005 = "FMS005"; // 시리즈
	public static final String CODE_ID_FMS006 = "FMS006"; // 시대
	public static final String CODE_ID_FMS007 = "FMS007"; // 자료유형
	public static final String CODE_ID_FMS008 = "FMS008"; // 콘텐츠유형
	public static final String CODE_ID_FMS009 = "FMS009"; // 지역
	public static final String CODE_ID_FMS012 = "FMS012"; // 자료유형(대분류)
	public static final String CODE_ID_FMS013 = "FMS013"; // 자료유형(중분류)
	public static final String CODE_ID_MASTER_TYPE_DIV_CD = "MASTER_TYPE_DIV_CD"; // 자료유형(대분류)
	public static final String CODE_ID_DTLS_TYPE_DIV_CD = "DTLS_TYPE_DIV_CD"; // 자료유형(중분류)
	public static final String CODE_ID_FMS014 = "FMS014"; // 주제분야(대주제)
	public static final String CODE_ID_FMS015 = "FMS015"; // 주제분야(중주제)
	public static final String CODE_ID_FMS016 = "FMS016"; // 지역문화정보
	public static final String CODE_ID_FMS017 = "FMS017"; // 배너위치
	public static final String CODE_ID_FMS018 = "FMS018"; // 문화원 지역
	public static final String CODE_ID_FMS019 = "FMS019"; // 지역문화 PICK(자산유형)
	public static final String CODE_ID_FMS020 = "FMS020"; // 로고위치
	
	public static final String [] ASSETS_CLASS_ARRAY = {"기획","일반","특화","기타"}; //콘텐츠유형
	public static final String [] ASSETS_CLASS_ARRAY_PICK = {"일반","특화"}; // 지역문화Pick 콘텐츠유형
	public static final String [] ASSETS_TYPE_ARRAY_PICK = {"문서", "이미지", "동영상", "오디오", "링크"}; // 지역문화Pick 자산유형 ("웹툰" 제외)
	public static final String [] ASSETS_TYPE_ARRAY_PICK_ALL = {"문서", "이미지", "동영상", "오디오", "링크", "웹툰"};

	public static final String RES_SEARCHTYPE = "문화원소장";	// 소장자료 검색조건	
	
	public static final String CODE_ID_COM013_P = "P"; // 회원 가입승인상태
	public static final String CODE_ID_COM013_D = "D"; // 회원삭제 상태
	
	public static final String CODE_ID_FMS017_M01 = "M01"; // 배너위치 메인
	public static final String CODE_ID_FMS017_M02 = "M02"; // 배너위치 PICK
	public static final String CODE_ID_FMS017_M99 = "M99"; // 배너위치 문화원
	
	public static final int BBS_ID_NOTICE_MAIN_VIEW = 3;
	public static final int BBS_ID_QNA_MAIN_VIEW = 4;
	public static final int BBS_ID_CUL_MAIN_VIEW = 2;
	
	public static final String BASE_DISTANCE = "10";
	
	public static final int CMM_CONTENTS_LIMIT_CNT = 6; // 지역문화Pick 목록 이미지 개수 변경 (2019.10.02)
	public static final int CMM_TAGS_LIMIT_CNT = 9;
	public static final int CMM_CONTENTS_SMALL_LIMIT_CNT = 2;
	
	public static final String RECOMMEND_YN_Y = "Y";
	public static final String RECOMMEND_YN_N = "N";
	
	public static final String HAVE_DETAIL_CONDITION_Y = "Y";
	public static final String HAVE_DETAIL_CONDITION_N = "N";
	
	public static final String SEARCH_TYPE_1 = "1";
	public static final String SEARCH_TYPE_2 = "2";
	
	public static final String BBS_TOP_YN_Y = "Y";
	public static final int BBS_TOP_CNT = 4;
	
	public static final String  PMS_CONT_TYPE_G = "EXT_GIA_INFO"; // 한국관광공사
	public static final String  PMS_CONT_TYPE_C = "CMM_COUNCIL_INFO"; // 문화원
	
	public static final String CONTENT_TYPE_A = "A"; // 지역문화 PICK
	public static final String CONTENT_TYPE_B = "B"; // BBS
	public static final String CONTENT_TYPE_C = "C"; // 지역문화이야기
	public static final String CONTENT_TYPE_G = "G"; // 지역문화체험 -한국관광공사 api
	public static final String CONTENT_TYPE_I = "I"; // 문화원 
	public static final String CONTENT_TYPE_P = "P"; // 지역문화포스트
	public static final String CONTENT_TYPE_T = "T"; // 지역문화툰
	 
	public static final String ACTIVITY_TYPE_B = "B"; // 스크랩
	public static final String ACTIVITY_TYPE_O = "O"; // 최근열람
	
	public static final String[] M_TYPE_ARRAY = {"이미지","동영상","오디오","링크"};
	public static final String M_TYPE_I = "I";  // 이미지
	public static final String M_TYPE_V = "V";  // 비디오(동영상)
	public static final String M_TYPE_A = "A";  // 오디오
	
	// 사용 구분
	public static final String UA_TYPE_W = "W";  // 웹
	public static final String UA_TYPE_M = "M";  // 모바일웹
	public static final String UA_TYPE_A = "A";  // 앱
	public static final String UA_TYPE_R = "R";  // RIS
	

	public static final String BBS_ID_NOTICE = "BBSMSTR_000000000001"; // 공지사항
	public static final String BBS_ID_FAQ = "BBSMSTR_000000000002"; // FAQ
	public static final String BBS_ID_CUL = "BBSMSTR_000000000003"; // 문화원소식
	public static final String BBS_ID_OUR = "BBSMSTR_000000000004"; // 우리문화
	
	public static final String [] BBS_ID_ARRAY = {BBS_ID_NOTICE,BBS_ID_FAQ,BBS_ID_CUL,BBS_ID_OUR};
	public static final String [] BBS_NAME_ARRAY = {"공지사항","FAQ","문화원소식","우리문화"};
	
	public static final String [] BBS_MAIN_CUL_TYPE_ARRAY1 =  {"공지","뉴스"};
	public static final String [] BBS_MAIN_CUL_TYPE_ARRAY2 =  {"행사","축제"};
	
	public static final String AUTH_GROUP_DEFAULT_ID = "GROUP_00000000000000";
	public static final String AUTH_ORGNZT_DEFAULT_ID = "ORGNZT_0000000000000";
	
	public static final String AUTH_ROLE_ANONYMOUS = "ROLE_ANONYMOUS"; 
	public static final String AUTH_ROLE_KDM = "ROLE_KDM"; 
	public static final String AUTH_ROLE_KDM_URL = "/kdm/usr/kdmMgrList.do"; 
	public static final String AUTH_ROLE_SYM = "ROLE_SYM"; 
	public static final String AUTH_ROLE_SYM_URL = "/kdm/usr/kdmMgrList.do"; 
	
	public static final String[] INTERCEPTOR_PASS_PATH_ARRAY = {"kdm"};
	
	public static final String ANDROID = "android";
	public static final String IOS = "ios";
	public static final String PREFIX_M = "/m";
	
	public static final String SCHEDULER_EXT_DF_INFO = "건강질병관리";
	public static final String SCHEDULER_EXT_FD_INFO = "문화정보";
	public static final String SCHEDULER_EXT_GIA_INFO = "관광정보";	
	public static final String SCHEDULER_MAIN_A_INFO = "메인 지역문화PICK";
	public static final String SCHEDULER_MAIN_C_INFO = "메인 지역문화이야기";
	public static final String SCHEDULER_MAIN_G_INFO = "메인 지역문화정보";
	public static final String SCHEDULER_MAIN_P_INFO = "메인 지역문화포스트";
	public static final String SCHEDULER_MEDIA_HST_INFO = "월별 지방문화원 인기자료";
	
	public static final String [] SCHEDULER_NAME_ARRAY = {SCHEDULER_EXT_DF_INFO,SCHEDULER_EXT_FD_INFO,SCHEDULER_EXT_GIA_INFO};
	
	public static enum META_OG_TYPE { website, article };
	
	public static final String [] NCULTURE_URL_ARRAY = {"www","www1","www2","cms","cms1","cms2","ams","ams1","ams2","vod","vod1","vod2","api","api1","api2","app","app1","app2","vr","cms-dev","ams-dev","kccf-jira","kccf-wiki","kccf-ci","cloud","kccf2019","doc","webzine","docs","minio","minio-dev","port-dev","app-dev","api-dev","vod-dev","newcms","ncms","ncms-dev","ncms-test","newcms-dev","ams-test","ci","local"};
}
