KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > database > JahiaIncrementorsDBService


1 //
2
// JahiaIncrementorsDBService
3
// EV 02.11.2000
4
//
5
// autoIncrement()
6
//
7

8 package org.jahia.services.database;
9
10 import org.jahia.data.JahiaDOMObject;
11 import org.jahia.exceptions.JahiaException;
12 import org.jahia.services.JahiaService;
13
14
15 public abstract class JahiaIncrementorsDBService extends JahiaService {
16
17
18    /***
19     * autoIncrement
20     * EV 02.11.2000
21     *
22     */

23     public abstract int autoIncrement( String JavaDoc tableName ) throws JahiaException;
24
25     /***
26      * returns a DOM representation of the auto ids table
27      * NK 13.08.2001
28      *
29      */

30     public abstract JahiaDOMObject getAutoIdsAsDOM()
31     throws JahiaException;
32
33
34 } // end JahiaIncrementorsDBService
35
Popular Tags