/*
(non-Javadoc)
@see com.popbill.api.HTTaxinvoiceService#getPopUpURL(java.lang.String, java.lang.String)
763257
@Override
	public String getPopUpURL(String CorpNum, String NTSConfirmNum) throws PopbillException {
		if ( NTSConfirmNum.length() != 24 )
			throw new PopbillException(-99999999, "국세청승인번호가 올바르지 않았습니다.");
		URLResponse response = httpget("/HomeTax/Taxinvoice/" +NTSConfirmNum+"/PopUp", CorpNum, null, URLResponse.class);
		
		return response.url;
	}
1320144
@Override
	public String resendFAXRN(String corpNum, String requestNum, String sendNum,
			String senderName, String receiveNum, String receiveName,
			Date reserveDT, String userID, String title, String originalFAXrequestNum)
			throws PopbillException {
		
		Receiver receiver = null;
		
		if ( !receiveNum.isEmpty() || !receiveName.isEmpty() ) {
			receiver = new Receiver();
			receiver.setReceiveNum(receiveNum);
			receiver.setReceiveName(receiveName);
			
			return resendFAXRN(corpNum,requestNum, sendNum, senderName, new Receiver[]{receiver}, reserveDT, userID, title, originalFAXrequestNum);
		}
		return resendFAXRN(corpNum,requestNum, sendNum, senderName, null, reserveDT, userID, title, originalFAXrequestNum);			
	}
364831
def getURL(self, CorpNum, UserID, ToGo):
        
        if ToGo == None or ToGo == '':
            raise PopbillException(-99999999, "TOGO값이 입력되지 않았습니다.")

        if ToGo == 'SENDER':
            result = self._httpget('/Message/?TG=' + ToGo, CorpNum, UserID)
        else:
            result = self._httpget('/KakaoTalk/?TG=' + ToGo, CorpNum, UserID)
        return result.url
168095
@Override
    public String getMassPrintURL(String CorpNum, MgtKeyType KeyType,
                                  String[] MgtKeyList, String UserID) throws PopbillException {
        if (KeyType == null)
            throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다.");
        if (MgtKeyList == null || MgtKeyList.length == 0)
            throw new PopbillException(-99999999, "관리번호 목록이 입력되지 않았습니다.");

        String PostData = toJsonString(MgtKeyList);

        URLResponse response = httppost("/Taxinvoice/" + KeyType.name()
                + "?Print", CorpNum, PostData, UserID, URLResponse.class);

        return response.url;
    }
1300318
public String[][] getPopupMap()
    {
        String string[][] = {
            {UserInfo.DEFAULT, "Use default Java"}, 
            {UserInfo.WEBSTART, "Java Web Start"}, 
            {UserInfo.PLUG_IN, "JDK Plug-in"}, 
            {UserInfo.YES, "Java Applet Tags"},
            {UserInfo.NO, "No Java - Use HTML"}
        };
        return string;
    }
399131
private PopupFindMenu getPopupMenuFind() {
        if (popupFindMenu== null) {
            popupFindMenu = new PopupFindMenu();
            popupFindMenu.setText(Constant.messages.getString("edit.find.popup"));	// ZAP: i18n
            popupFindMenu.addActionListener(new java.awt.event.ActionListener() {
                @Override
                public void actionPerformed(java.awt.event.ActionEvent e) {
                    JTextComponent component = popupFindMenu.getLastInvoker();
                    Window window = getWindowAncestor(component);
                    if (window != null) {
                        showFindDialog(window, component);
                    }
                }
            });
        }
        return popupFindMenu;
    }
417893
public String[][] getPopupMap()
    {
        String string[][] = {
        {UserInfo.HOME_PAGE_ONLY, "Home page only"},
        {UserInfo.NO, "Never"}, 
        {UserInfo.YES, "Always"}
        };
        return string;
    }
1057432
public String[][] getPopupMap()
    {
        String string[][] = {
            {DBConstants.BLANK, "(none)"}, 
            {Script.RUN, "Run script"}, 
            {Script.RUN_REMOTE, "Run remote script"}, 
            {Script.SEEK, "Read record"}, 
            {Script.COPY_RECORDS, "Copy Records"}, 
            {Script.COPY_FIELDS, "Copy Fields"},
            {Script.COPY_DATA, "Copy Data"},
        };
        return string;
    }
1185510
@Override
	public String getUrl(TileCode tileCode) {
		int y = isYAxisInverted() ? invertedY(tileCode) : tileCode.getY();
		return fillPlaceHolders(getNextUrl(), tileCode.getX(), y, tileCode.getTileLevel());
	}
442629
public Response checkDeptUser(String CorpNum) throws PopbillException{
		if (CorpNum == null || CorpNum.isEmpty())
			throw new PopbillException(-99999999, "연동회원 사업자번호(CorpNum)가 입력되지 않았습니다.");
		
		return httpget("/HomeTax/Taxinvoice/DeptUser", CorpNum, null, Response.class); 
	}
264789
@Override
	public Statement getDetailInfo(String CorpNum, int ItemCode, String MgtKey) throws PopbillException {
		return getDetailInfo(CorpNum, ItemCode, MgtKey, null);
	}
1105979
@Override
	public StatementInfo getInfo(String CorpNum, int ItemCode, String MgtKey)
			throws PopbillException {
		if (MgtKey == null || MgtKey.isEmpty())
			throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");
		
		return httpget("/Statement/" + ItemCode + "/" + MgtKey, 
					CorpNum, null, StatementInfo.class);
	}
320051
@Override
	public String getMassPrintURL(String CorpNum, int ItemCode,
			String[] MgtKeyList) throws PopbillException {
		return getMassPrintURL(CorpNum, ItemCode, MgtKeyList, null);
	}
597225
@Override
    public TaxinvoiceInfo getInfo(String CorpNum, MgtKeyType KeyType,
                                  String MgtKey) throws PopbillException {
        if (KeyType == null)
            throw new PopbillException(-99999999, "관리번호형태가 입력되지 않았습니다.");
        if (MgtKey == null || MgtKey.isEmpty())
            throw new PopbillException(-99999999, "관리번호가 입력되지 않았습니다.");

        return httpget("/Taxinvoice/" + KeyType.name() + "/" + MgtKey, CorpNum,
                null, TaxinvoiceInfo.class);
    }
661104
public String[][] getPopupMap()
    {
        String[][] string = {
            {DBConstants.BLANK, DBConstants.BLANK},
            {MessageConstants.LOCAL_QUEUE, MessageConstants.LOCAL_QUEUE},
            {MessageConstants.INTRANET_QUEUE, MessageConstants.INTRANET_QUEUE},
            {MessageConstants.INTERNET_QUEUE, MessageConstants.INTERNET_QUEUE},
        };
        return string;
    }
167618
@SuppressWarnings("unused")
    public static CmsGalleryDialog createDialog(final CmsPopup popup) {

        CmsGalleryDialog galleryDialog = new CmsGalleryDialog(new I_CmsGalleryHandler() {

            public boolean filterDnd(CmsResultItemBean resultBean) {

                // TODO: Auto-generated method stub
                return true;
            }

            public Widget getAdditionalTypeTabControl() {

                return null;
            }

            public I_CmsAutoHider getAutoHideParent() {

                return popup;
            }

            public CmsDNDHandler getDndHandler() {

                return null;
            }

            public void processResultItem(CmsResultListItem item) {

                // do nothing
            }

        }, CmsTabbedPanelStyle.buttonTabs);
        try {
            CmsGalleryDataBean data = getGalleryDataFromDict();
            CmsGallerySearchBean search = getSearchBeanFromDict();
            new CmsGalleryController(new CmsGalleryControllerHandler(galleryDialog), data, search);
        } catch (SerializationException e) {
            CmsErrorDialog.handleException(
                new Exception(
                    "Deserialization of gallery data failed. This may be caused by expired java-script resources, please clear your browser cache and try again.",
                    e));
        }

        return galleryDialog;
    }
326596
@Override
	public Response checkID(String CheckID) throws PopbillException {
		
		return httpget("/IDCheck?ID="+CheckID, null, null, Response.class);
	}