booksessionlocal.java

来自「struts+ejb开发简单借书系统,用的是mysql数据库.」· Java 代码 · 共 52 行

JAVA
52
字号
/* * Generated by XDoclet - Do not edit! */package de.laliluna.tutorial.library.session.interfaces;/** * Local interface for BookSession. * @xdoclet-generated at ${TODAY} * @copyright The XDoclet Team * @author XDoclet * @version ${version} */public interface BookSessionLocal   extends javax.ejb.EJBLocalObject{   /**    * This method return all books as a collection Diese Methode liest alle B點her aus und gibt diese als Collection zur點k    */   public de.laliluna.tutorial.library.view.BookView[] getAllBooks(  ) throws javax.ejb.EJBException;   /**    * This methode get a book by primary key Diese Methode liest ein Buch anhand seines Prim鋜schl黶sels aus.    */   public de.laliluna.tutorial.library.view.BookView getBookByPrimaryKey( java.lang.Integer primaryKey ) throws javax.ejb.EJBException;   /**    * This methode return a book from a user by primary key Diese Methode gibt ein ausgeliehenes Buch eines Benutzers zur點k.    */   public void returnBook( java.lang.Integer primaryKey ) throws javax.ejb.EJBException;   /**    * This methode borrow a book for a user Diese Methode verleiht ein Buch an einen Benutzer    */   public void borrowBook( java.lang.Integer primaryKey,java.lang.Integer userPrimaryKey ) throws javax.ejb.EJBException;   /**    * This method removes a book from the database Diese Methode entfernt ein Buch aus der Datenbank    */   public void removeBookByPrimaryKey( java.lang.Integer primaryKey ) throws javax.ejb.EJBException;   /**    * This method save the value object of the book Diese Methode speichert das Value Objekt des Buches    */   public void saveBook( de.laliluna.tutorial.library.entity.interfaces.BookValue bookValue ) throws javax.ejb.EJBException;   /**    * An example business method    * @throws EJBException Thrown if method fails due to system-level error.    */   public void replaceWithRealBusinessMethod(  ) throws javax.ejb.EJBException;}

⌨️ 快捷键说明

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