osbusermgr.idl

Go to the documentation of this file.
00001 // OSB library ********************************************* -*- IDL -*-
00006 /*
00007   AUTHOR(S): Elangovan Angannan (aen)
00008              Stephan Broennimann (vb)
00009 
00010   RCS information
00011    $Name: OSB_060808 $
00012    $Revision: 1.11.2.1 $
00013 
00014   License
00015    OSB rating and billing library for communication networks
00016    Copyright (C) 2004, 2005, 2006  OSB systems
00017 
00018    This file may be distributed and/or modify under the terms of the
00019    GNU General Public License (GPL) as published by the Free Software
00020    Foundation which is provided in the file LICENSE.GPL included in the
00021    packaging of this file.
00022 
00023    The file is distributed in the hope that it will be useful, but WITHOUT
00024    ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
00025    FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
00026    for more details.
00027 
00028    Holders of a OSB Commercial License may use this file under the terms
00029    and conditions of this commercial license.
00030  */
00031 
00032 #ifndef _OSBUSERMG_IDL_
00033 #define _OSBUSERMG_IDL_
00034 
00035 // ************************************************************************
00036 // included idl files
00037 #include "corba_utility.idl"
00038 #include "osbuser.idl"
00039 #include "osbusrgrp.idl"
00040 
00041 // ************************************************************************
00042 // module extensions
00043 module corba {
00044     module osbadm {
00045 
00046 // ************************************************************************
00047 // interface definitions
00048 
00055     interface UserMgr {
00057 
00058 
00059         typedef sequence<UserGroup> UserGroupSeq;
00066         UserGroup userGroup(in UserGroupId grpId)
00067           raises (common::OsbCorbaException);
00076         UserGroupSeq userGroups(in ModuleId modId);
00078         UserGroupSeq allUserGroups();
00080 
00082 
00083 
00091         User login(
00092             in common::Utf8String loginName,
00093             in common::Utf8String password
00094         ) raises (common::OsbCorbaException);
00095 
00108         UserWriter createUser(
00109             in common::Utf8String loginName,
00110             in common::Utf8String password
00111         ) raises (common::OsbCorbaException);
00112 
00120         User getUser(in UserId id)
00121             raises (common::OsbCorbaException);
00122 
00132         boolean removeUser(
00133             in UserId  id,
00134             in boolean noWait
00135         ) raises (common::OsbCorbaException);
00136 
00138         typedef sequence<User> UserSeq;
00139 
00146         UserSeq getUsers() raises (common::OsbCorbaException);
00148     };                                  // interface UserMgr
00149   };                                    // module osbadm
00150 };                                      // module corba
00151 #endif                                  // #ifndef _OSBUSERMG_IDL_

Generated on Sat Sep 2 14:23:00 2006 for OSB Library by  doxygen 1.4.7