org.jasig.portal.services
Class SequenceGenerator

java.lang.Object
  extended by org.jasig.portal.services.SequenceGenerator

Deprecated. Use ICounterStore instead.

@Deprecated
public class SequenceGenerator
extends Object

Version:
$Revision: 19776 $\
Author:
Dan Ellentuck

Field Summary
static String DEFAULT_COUNTER_NAME
          Deprecated.  
 
Method Summary
 void createCounter(String name)
          Deprecated.  
 String getNext()
          Deprecated.  
 String getNext(String name)
          Deprecated.  
 int getNextInt()
          Deprecated.  
 int getNextInt(String name)
          Deprecated.  
static SequenceGenerator instance()
          Deprecated.  
 void setCounter(String name, int newValue)
          Deprecated.  
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_COUNTER_NAME

public static String DEFAULT_COUNTER_NAME
Deprecated. 
Method Detail

createCounter

public void createCounter(String name)
                   throws Exception
Deprecated. 
Parameters:
name - String
Throws:
Exception

getNext

public String getNext()
               throws Exception
Deprecated. 
Returns:
String
Throws:
Exception

getNext

public String getNext(String name)
               throws Exception
Deprecated. 
Parameters:
name - String
Returns:
String
Throws:
Exception

getNextInt

public int getNextInt()
               throws Exception
Deprecated. 
Returns:
int
Throws:
Exception

getNextInt

public int getNextInt(String name)
               throws Exception
Deprecated. 
Parameters:
name - String
Returns:
int
Throws:
Exception

setCounter

public void setCounter(String name,
                       int newValue)
                throws Exception
Deprecated. 
Parameters:
name - java.lang.String
newValue - int
Throws:
Exception

instance

public static final SequenceGenerator instance()
Deprecated. 
Returns:
SequenceGenerator


Copyright © 2010 Jasig. All Rights Reserved.