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

📄 dbregistry.java

📁 jetspeed源代码
💻 JAVA
字号:
/*
 * Created on Oct 20, 2003
 *
 * To change the template for this generated file go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
package org.apache.jetspeed.om.registry;
import java.util.List;
import org.apache.torque.TorqueException;
/**
 * @author susinha
 *
 * To change the template for this generated type comment go to
 * Window>Preferences>Java>Code Generation>Code and Comments
 */
public interface DBRegistry {

    /** the default database name for this class */
    public static final String DATABASE_NAME = "default";

    /**
     * Method to get data.
     *
     * @param criteria object used to create the SELECT statement.
     * @return List of selected Objects
     * @throws TorqueException Any exceptions caught during processing will be
     *         rethrown wrapped into a TorqueException.
     */
    public List getXREGDataFromDb() throws TorqueException;
    
    /**
     * Method to  data.
     *
     * @param timestamp  when database service ran last time.
     * @return boolean if data has been modified 
     * @throws TorqueException Any exceptions caught during processing will be
     *         rethrown wrapped into a TorqueException.
     */
    public boolean isModified(String lastUpdateDate ) throws TorqueException;

}

⌨️ 快捷键说明

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