global.java

来自「java实现的可配置的工作流引擎,采用jsp+javabean实现」· Java 代码 · 共 50 行

JAVA
50
字号
/*
 * Created on 2004-10-17 TODO To change the template for this generated file go to Window - Preferences - Java - Code
 * Style - Code Templates
 */
package com.hongsoft.agile;

import java.io.File;

/**
 * @author hongsoft.com TODO To change the template for this generated type comment go to Window - Preferences - Java -
 *         Code Style - Code Templates
 */
public class Global {
    private static String path = "";

    public static String getConfPath() {
        if ("".equals(path))
            path = "D:/hongsoft/Agile" + File.separator + "conf" + File.separator;
        return path;
    }

    // 第一级的组织的ID,在本系统为广州电信
    public static final long TOP_ORG_UNIT = 1;

    public final static boolean debug() {
        return true;
    }

    public final static String getBaseUrl() {
        return "./";
    }

    public final static String getConfigPath() {
        return getConfPath();
    }

    public final static String getMenuXmlLocation() {
        return getConfPath() + "tree.xml";
    }

    public final static String getMenuXslLocation() {
        return getConfPath() + "xmlTree.xsl";
    }

    public final static int getPageSize() {
        return 10;
    }

}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?