base
Class IdManager

java.lang.Object
  extended by base.IdManager

public class IdManager
extends java.lang.Object


Constructor Summary
protected IdManager()
           
 
Method Summary
 int getCurrentBackupId()
           
 int getCurrentServiceId()
           
 int getCurrentSessionId()
           
 int getCurrentUserId()
           
 int getCurrentWorkstationId()
           
static IdManager getInstance()
           
 int getNextBackupId()
           
 int getNextServiceId()
           
 int getNextSessionId()
           
 int getNextUserId()
           
 int getNextWorkstationId()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IdManager

protected IdManager()
Method Detail

getInstance

public static IdManager getInstance()

getCurrentSessionId

public int getCurrentSessionId()
Returns:
Returns the currenSessionId.

getCurrentUserId

public int getCurrentUserId()
Returns:
Returns the currentUserId.

getCurrentWorkstationId

public int getCurrentWorkstationId()
Returns:
Returns the currentWorkstationId.

getCurrentServiceId

public int getCurrentServiceId()
Returns:
Returns the currentServiceId.

getCurrentBackupId

public int getCurrentBackupId()
Returns:
Returns the currentBackupId.

getNextSessionId

public int getNextSessionId()
Returns:
Returns the currentSessionId increased of 1 unit.

getNextUserId

public int getNextUserId()
Returns:
Returns the currentUserId increased of 1 unit.

getNextWorkstationId

public int getNextWorkstationId()
Returns:
Returns the currentWorkstationId increased of 1 unit.

getNextServiceId

public int getNextServiceId()
Returns:
Returns the currentServiceId increased of 1 unit.

getNextBackupId

public int getNextBackupId()
Returns:
Returns the currentBackupId increased of 1 unit.


Copyright © 2006 SF.net. All Rights Reserved.