base
Class IdManager
java.lang.Object
base.IdManager
public class IdManager
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
IdManager
protected IdManager()
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.