站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

AutoNumberHome (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.varia.autonumber
Interface AutoNumberHome

All Superinterfaces:
javax.ejb.EJBHome, Remote

public interface AutoNumberHome
extends javax.ejb.EJBHome

???

Version:
$Revision: 1.1 $
Author:
Michel de Groot

Method Summary
 AutoNumber create(String name)
          Creates an AutoNumber of given name.
 AutoNumber findByPrimaryKey(String name)
          Finds an AutoNumber by its name.
 
Methods inherited from interface javax.ejb.EJBHome
getEJBMetaData, getHomeHandle, remove, remove
 

Method Detail

create

public AutoNumber create(String name)
                  throws javax.ejb.CreateException,
                         RemoteException
Creates an AutoNumber of given name.

Parameters:
name - the name of the AutoNumber
Throws:
javax.ejb.CreateException
RemoteException

findByPrimaryKey

public AutoNumber findByPrimaryKey(String name)
                            throws javax.ejb.FinderException,
                                   RemoteException
Finds an AutoNumber by its name.

Throws:
javax.ejb.FinderException
RemoteException


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.