⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 global.java

📁 java实现的可配置的工作流引擎,采用jsp+javabean实现
💻 JAVA
字号:
/*
 * 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -