Login | Register
My pages Projects Community openCollabNet

Discussions > cvs > CVS update: joist/java/org/joist/database UserManager.java

Project highlights: Architectural Overview

joist
Discussion topic

Back to topic list

CVS update: joist/java/org/joist/database UserManager.java

Author commitlogger at hocus dot collab dot net
Full name commitlogger at hocus dot collab dot net
Date 2000-04-14 17:19:12 PDT
Message User: dlr
  Date: 00/04/14 17:19:12

  Modified: java/org/joist/database UserManager.java
  Log:
  New functionality added to sourceXchange that might be useful in Joist as well.
  
  Revision Changes Path
  1.5 +21 -3 joist/java/org/joist​/database/UserManage​r.java
  
  Index: UserManager.java
  ====================​====================​====================​=======
  RCS file: /cvs/joist/java/org/​joist/database/UserM​anager.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- UserManager.java 2000/02/29 01:23:56 1.4
  +++ UserManager.java 2000/04/15 00:19:11 1.5
  @@ -61,7 +61,7 @@
     * Manages users, including adding, retrieving, updating, and deleting.
     *
     * @author David C. Pellegrini <A HREF="mailto:davidp@​dataweb-systems.com"​>davidp@dataweb-s​ystems.com</A>​
  - * @version $Revision: 1.4 $
  + * @version $Revision: 1.5 $
     *
     * Copyright (c) 1999 dataweb systems, inc.
    * Copyright (c) 1999, 2000 Collab.Net, Inc.
  @@ -69,10 +69,17 @@
   
   public class UserManager extends TableManager
   {
  - static private Log log = new Log("userMgr", "User manager");
  - static private boolean debug = true;
  + protected static Log log = new Log("userMgr", "User manager");
  + protected static boolean debug = true;
      
       /**
  + * The max in the range of user database keys reserved for system use.
  + * Default this to -1 for starters, and override this in a subclass using
  + * a static initializer block if you'd like to make use of it.
  + */
  + protected static int systemUserIDCeiling = -1;
  +
  + /**
        * Create an instance with a data manager.
        */
       public
  @@ -81,6 +88,17 @@
       super(dataMgr);
       }
   
  +
  + /**
  + * The max in the range of user database keys reserved for system use.
  + *
  + * @return The max in the range of user database keys reserved for system
  + * use.
  + */
  + public static int getSystemUserIDCeiling ()
  + {
  + return systemUserIDCeiling;
  + }
   
       /**
        * Retrieves contact information for a user from the database.

« Previous message in topic | 1 of 1 | Next message in topic »

Messages

Show all messages in topic

CVS update: joist/java/org/joist/database UserManager.java commitlogger at hocus dot collab dot net commitlogger at hocus dot collab dot net 2000-04-14 17:19:12 PDT
Messages per page: