com.jivesoftware.base.database.sequence
Class SequenceManager
java.lang.Object
com.jivesoftware.base.database.sequence.SequenceManager
public class SequenceManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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)
Copyright © 1999-2006 Jive Software.