📄 entriessession.java
字号:
/*
*
* 开发时间:2004-08-20 at 05:40:07
*
* 作者:曹广鑫
*
* 网站:www.helpsoft.org 电子邮件:support@helpsoft.org
*/
package org.helpsoft.blog.j2ee.session;
import org.helpsoft.blog.factory.*;
import org.helpsoft.blog.dao.*;
import org.helpsoft.blog.dto.*;
import org.helpsoft.blog.exceptions.*;
import java.rmi.RemoteException;
import java.math.*;
import java.util.Date;
import javax.ejb.*;
public interface EntriesSession extends EJBObject
{
/**
* Inserts a new row in the entries table.
*/
public EntriesPk insert(Entries dto) throws EntriesDaoException, RemoteException;
/**
* Updates a single row in the entries table.
*/
public void update(EntriesPk pk, Entries dto) throws EntriesDaoException, RemoteException;
/**
* Deletes a single row in the entries table.
*/
public void delete(EntriesPk pk) throws EntriesDaoException, RemoteException;
/**
* Returns the rows from the entries table that matches the specified primary-key value.
*/
public Entries findByPrimaryKey(EntriesPk pk) throws EntriesDaoException, RemoteException;
/**
* Method 'findAll'
*
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findAll() throws EntriesDaoException, RemoteException;
/**
* Method 'findWhereEntryidEquals'
*
* @param entryid
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findWhereEntryidEquals(int entryid) throws EntriesDaoException, RemoteException;
/**
* Method 'findWhereNameEquals'
*
* @param name
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findWhereNameEquals(String name) throws EntriesDaoException, RemoteException;
/**
* Method 'findWhereAuthorEquals'
*
* @param author
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findWhereAuthorEquals(String author) throws EntriesDaoException, RemoteException;
/**
* Method 'findWhereDateEquals'
*
* @param date
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findWhereDateEquals(String date) throws EntriesDaoException, RemoteException;
/**
* Method 'findByPrimaryKey'
*
* @param entryid
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries
*/
public Entries findByPrimaryKey(int entryid) throws EntriesDaoException, RemoteException;
/**
* Method 'findByDynamicSelect'
*
* @param sql
* @param arg
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findByDynamicSelect(String sql, Object[] arg) throws EntriesDaoException, RemoteException;
/**
* Method 'findByDynamicWhere'
*
* @param sql
* @param arg
* @throws EntriesDaoException
* @throws RemoteException
* @return Entries[]
*/
public Entries[] findByDynamicWhere(String sql, Object[] arg) throws EntriesDaoException, RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -