OSB_CORBA::UserWriter_i Class Reference

Inheritance diagram for OSB_CORBA::UserWriter_i:

Inheritance graph
[legend]
Collaboration diagram for OSB_CORBA::UserWriter_i:

Collaboration graph
[legend]
List of all members.

Detailed Description

Servant class for UserWriter CORBA interface.

Definition at line 199 of file osbuser_i.h.

Public Member Functions

Static Public Attributes


Constructor & Destructor Documentation

OSB_CORBA::UserWriter_i::UserWriter_i ( const UserMgr_i usrMgr,
const OSB_LIB::OsbUser osbUser 
)

Constructor.

Parameters:
usrMgr Controlling user manager.
osbUser OSB user.


Member Function Documentation

void OSB_CORBA::UserWriter_i::changePassword ( const Utf8String &  oldPw,
const Utf8String &  newPw 
) throw (CORBA::SystemException, OsbCorbaException)

Change the password.

Parameters:
oldPw The old password of the user.
newPw The new password of the user.
Exceptions:
OsbCorbaException if the old password is not correct.

void OSB_CORBA::UserWriter_i::commitChanges ( CORBA::Boolean  noWait  )  throw (CORBA::SystemException, OsbCorbaException)

Commit the changes made on this user.

Parameters:
noWait Set to true if waiting is desire when lock is acquired by others. If waiting is not desired set flag to false.
Exceptions:
OsbCorbaException 
  • in case any database exception occurs.

void OSB_CORBA::UserWriter_i::resetPassword ( const Utf8String &  newPw  )  throw (CORBA::SystemException, OsbCorbaException)

Reset the password.

Parameters:
newPw The new password of the user.

void OSB_CORBA::UserWriter_i::revoke ( const ModuleId modId  )  throw (CORBA::SystemException, OsbCorbaException)

Revoke the access rights for a module.

Parameters:
modId OSB module to remove from the user.
Removes modId from the list of modules available for the user, clears the default module if it is revoked.

CORBA::Boolean OSB_CORBA::UserWriter_i::setDefModule ( const ModuleId defMod  )  throw (CORBA::SystemException, OsbCorbaException)

Set the default module.

Parameters:
defMod The default module of the user.
Returns:
true if successful, false if not matching user group is granted to the user.
See also:
setGrants().

void OSB_CORBA::UserWriter_i::setEmail ( const Utf8String &  email  )  throw (CORBA::SystemException, OsbCorbaException)

Set email address of the user.

Parameters:
email Email address of the user.

void OSB_CORBA::UserWriter_i::setGrants ( const UserGroupIdSeq &  grps  )  throw (CORBA::SystemException, OsbCorbaException)

Grant the module and access rights of user groups.

Parameters:
grps List of user groups available for the user.
Id's that are 0 are ignored.
Exceptions:
OsbCorbaException if a user group does not exist.
See also:
setDefModule().

void OSB_CORBA::UserWriter_i::setName ( const Utf8String &  name  )  throw (CORBA::SystemException, OsbCorbaException)

Set user (full) name.

Parameters:
name User (full) name.


Member Data Documentation

const std::string OSB_CORBA::UserWriter_i::IFC [static]

Name of the interface.

Reimplemented from OSB_CORBA::User_i.

Definition at line 205 of file osbuser_i.h.


The documentation for this class was generated from the following file:
Generated on Sat Sep 2 14:28:33 2006 for OSB Library by  doxygen 1.4.7