Skip navigation links


com.essbase.eas.server.dao.jdbc
Class JdbcUserDAO

java.lang.Object
  extended by com.essbase.eas.server.dao.XMLUserDAO
      extended by com.essbase.eas.server.dao.jdbc.JdbcUserDAO

All Implemented Interfaces:
UserDAO

public class JdbcUserDAO
extends XMLUserDAO

Field Summary
protected  boolean bUseTextStorage
           
protected  DatabaseConnectionPool pool
           

 

Fields inherited from class com.essbase.eas.server.dao.XMLUserDAO
USER_EMAIL, USER_EXTERNAL, USER_FULLNAME, USER_PASSWORD, USER_ROLES, USER_SUPERVISOR, USER_USERNAME

 

Method Summary
 void addUserProfile(EASUser user, EASUserProfile profile)
           
 void addUserServers(EASUser user, EASUserServers server)
           
static JdbcUserDAO createDAO(DatabaseConnectionPool pool, boolean bUseTextStorage)
           
 boolean createUser(EASUser user)
           
 void deleteUser(java.lang.String username)
           
 void deleteUserProfile(EASUserProfile profile)
           
 void deleteUserServers(EASUserServers server)
           
 java.lang.String displayAllUsers()
           
 java.lang.String displayUser(java.lang.String username)
           
 java.lang.String displayUserServers(EASUser user)
           
 java.lang.String displayUserServers(EASUser user, java.lang.String sessionType)
           
 java.util.ArrayList retrieveAllUsers()
           
 EASUser retrieveUser(java.lang.Integer id)
          Returns the requested user, or null if no such user was found.
 EASUser retrieveUser(java.lang.String username)
           
 EASUser retrieveUserFromIdentity(java.lang.String identity)
           
 EASUserProfile retrieveUserProfile(EASUser user, java.lang.String dataType)
           
 java.util.ArrayList retrieveUserProfiles(EASUser user)
           
 java.util.ArrayList retrieveUserProfiles(EASUser user, java.lang.String dataType)
           
 java.util.ArrayList retrieveUserServers(EASUser user, java.lang.String session)
           
static void stopDAO()
           
 void updateUser(EASUser old, EASUser update)
           
 void updateUserProfile(EASUserProfile constraint, EASUserProfile update)
           
 void updateUserServers(EASUserServers old, EASUserServers update)
           

 

Methods inherited from class com.essbase.eas.server.dao.XMLUserDAO
displayUser, displayUserServers, listXMLServers, listXMLUsers

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

pool

protected DatabaseConnectionPool pool

bUseTextStorage

protected boolean bUseTextStorage

Method Detail

createDAO

public static JdbcUserDAO createDAO(DatabaseConnectionPool pool,
                                    boolean bUseTextStorage)

stopDAO

public static void stopDAO()

createUser

public boolean createUser(EASUser user)
                   throws DataAccessException
Throws:
DataAccessException

retrieveUser

public EASUser retrieveUser(java.lang.Integer id)
                     throws DataAccessException
Returns the requested user, or null if no such user was found.
Parameters:
id - user ID
Returns:
user with the given ID
Throws:
SQLException
DataAccessException

retrieveUserFromIdentity

public EASUser retrieveUserFromIdentity(java.lang.String identity)
                                 throws DataAccessException
Throws:
DataAccessException

retrieveUser

public EASUser retrieveUser(java.lang.String username)
                     throws DataAccessException
Throws:
DataAccessException

retrieveAllUsers

public java.util.ArrayList retrieveAllUsers()
                                     throws DataAccessException
Throws:
DataAccessException

displayAllUsers

public java.lang.String displayAllUsers()
                                 throws DataAccessException
Throws:
DataAccessException

displayUser

public java.lang.String displayUser(java.lang.String username)
                             throws DataAccessException
Throws:
DataAccessException

updateUser

public void updateUser(EASUser old,
                       EASUser update)
                throws DataAccessException
Throws:
DataAccessException

deleteUser

public void deleteUser(java.lang.String username)
                throws DataAccessException
Throws:
DataAccessException

addUserProfile

public void addUserProfile(EASUser user,
                           EASUserProfile profile)
                    throws DataAccessException
Throws:
DataAccessException

retrieveUserProfiles

public java.util.ArrayList retrieveUserProfiles(EASUser user,
                                                java.lang.String dataType)
                                         throws DataAccessException
Throws:
DataAccessException

retrieveUserProfile

public EASUserProfile retrieveUserProfile(EASUser user,
                                          java.lang.String dataType)
                                   throws DataAccessException
Throws:
DataAccessException

retrieveUserProfiles

public java.util.ArrayList retrieveUserProfiles(EASUser user)
                                         throws DataAccessException
Throws:
DataAccessException

updateUserProfile

public void updateUserProfile(EASUserProfile constraint,
                              EASUserProfile update)
                       throws DataAccessException
Throws:
DataAccessException

deleteUserProfile

public void deleteUserProfile(EASUserProfile profile)
                       throws DataAccessException
Throws:
DataAccessException

addUserServers

public void addUserServers(EASUser user,
                           EASUserServers server)
                    throws DataAccessException
Throws:
DataAccessException

retrieveUserServers

public java.util.ArrayList retrieveUserServers(EASUser user,
                                               java.lang.String session)
                                        throws DataAccessException
Throws:
DataAccessException

displayUserServers

public java.lang.String displayUserServers(EASUser user,
                                           java.lang.String sessionType)
                                    throws DataAccessException
Throws:
DataAccessException

displayUserServers

public java.lang.String displayUserServers(EASUser user)
                                    throws DataAccessException
Throws:
DataAccessException

updateUserServers

public void updateUserServers(EASUserServers old,
                              EASUserServers update)
                       throws DataAccessException
Throws:
DataAccessException

deleteUserServers

public void deleteUserServers(EASUserServers server)
                       throws DataAccessException
Throws:
DataAccessException

Skip navigation links


Copyright © 2001, 2012, Oracle. All rights reserved.