dbregistry.java

来自「jetspeed源代码」· Java 代码 · 共 42 行

JAVA
42
字号
/*
 * 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 + =
减小字号Ctrl + -
显示快捷键?