Jive Forums API (5.5.20.2-oracle) Developer Javadocs

com.jivesoftware.base.database.sequence
Class SequenceManager

java.lang.Object
  extended by com.jivesoftware.base.database.sequence.SequenceManager

public class SequenceManager
extends java.lang.Object


Method Summary
static long currID(java.lang.String name)
           
static void deleteNamedSequence(java.lang.String name)
           
static boolean isNamedSequencesSupportd()
           
static long nextID(int type)
          Returns the next ID of the specified type.
static long nextID(JiveObject object)
           
static long nextID(java.lang.String name)
           
static void reset()
          Used only internally by Jive for imports.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

nextID

public static long nextID(int type)
Returns the next ID of the specified type.

Parameters:
type - the type of unique ID. This should be a value from JiveConstants For example, JiveContants.FORUM is the type for a Forum.
Returns:
the next unique ID of the specified type.

nextID

public static long nextID(JiveObject object)

nextID

public static long nextID(java.lang.String name)

isNamedSequencesSupportd

public static boolean isNamedSequencesSupportd()

deleteNamedSequence

public static void deleteNamedSequence(java.lang.String name)

reset

public static void reset()
Used only internally by Jive for imports. In other words, this method should be ignored since it only intended for system maintenance.


currID

public static long currID(java.lang.String name)

Jive Forums Project Page

Copyright © 1999-2006 Jive Software.