summaryrefslogtreecommitdiffstats
path: root/src/Server
diff options
context:
space:
mode:
authorMatthias Schiffer <matthias@gamezock.de>2009-05-28 17:01:11 +0200
committerMatthias Schiffer <matthias@gamezock.de>2009-05-28 17:01:11 +0200
commit9bb64c7c90e6481ed3689a2b9380496da4ce09ff (patch)
treeeed57f40eb091e01e78f155a368feea018f1fdab /src/Server
parent033145b65c543d1d6c0c05ee84c1031fcd5ba3c7 (diff)
downloadmad-9bb64c7c90e6481ed3689a2b9380496da4ce09ff.tar
mad-9bb64c7c90e6481ed3689a2b9380496da4ce09ff.zip
getUserGroups und getGroupUsers in getUserGroupList und getGroupUserList umbenannt
Diffstat (limited to 'src/Server')
-rw-r--r--src/Server/UserBackend.h4
-rw-r--r--src/Server/UserManager.cpp8
-rw-r--r--src/Server/UserManager.h4
3 files changed, 8 insertions, 8 deletions
diff --git a/src/Server/UserBackend.h b/src/Server/UserBackend.h
index 001ee49..00e63d3 100644
--- a/src/Server/UserBackend.h
+++ b/src/Server/UserBackend.h
@@ -57,7 +57,7 @@ class UserBackend {
throw(Net::Exception(Net::Exception::NOT_IMPLEMENTED));
}
- virtual boost::shared_ptr<std::set<unsigned long> > getUserGroups(unsigned long uid _UNUSED_PARAMETER_) throw(Net::Exception) {
+ virtual boost::shared_ptr<std::set<unsigned long> > getUserGroupList(unsigned long uid _UNUSED_PARAMETER_) throw(Net::Exception) {
throw(Net::Exception(Net::Exception::NOT_IMPLEMENTED));
}
@@ -74,7 +74,7 @@ class UserBackend {
throw(Net::Exception(Net::Exception::NOT_IMPLEMENTED));
}
- virtual boost::shared_ptr<std::set<unsigned long> > getGroupUsers(unsigned long gid _UNUSED_PARAMETER_) throw(Net::Exception) {
+ virtual boost::shared_ptr<std::set<unsigned long> > getGroupUserList(unsigned long gid _UNUSED_PARAMETER_) throw(Net::Exception) {
throw(Net::Exception(Net::Exception::NOT_IMPLEMENTED));
}
diff --git a/src/Server/UserManager.cpp b/src/Server/UserManager.cpp
index e38f458..5f30a6b 100644
--- a/src/Server/UserManager.cpp
+++ b/src/Server/UserManager.cpp
@@ -82,12 +82,12 @@ boost::shared_ptr<Common::UserInfo> UserManager::getUserInfoByName(const std::st
throw e;
}
-boost::shared_ptr<std::set<unsigned long> > UserManager::getUserGroups(unsigned long uid) throw(Net::Exception) {
+boost::shared_ptr<std::set<unsigned long> > UserManager::getUserGroupList(unsigned long uid) throw(Net::Exception) {
Net::Exception e(Net::Exception::NOT_IMPLEMENTED);
for(std::set<boost::shared_ptr<UserBackend> >::iterator backend = backends.begin(); backend != backends.end(); ++backend) {
try {
- return (*backend)->getUserGroups(uid);
+ return (*backend)->getUserGroupList(uid);
}
catch(Net::Exception e2) {
if(e.getErrorCode() == Net::Exception::NOT_IMPLEMENTED && e2.getErrorCode() != Net::Exception::NOT_IMPLEMENTED)
@@ -146,12 +146,12 @@ unsigned long UserManager::getGroupId(const std::string &name) throw(Net::Except
throw e;
}
-boost::shared_ptr<std::set<unsigned long> > UserManager::getGroupUsers(unsigned long gid) throw(Net::Exception) {
+boost::shared_ptr<std::set<unsigned long> > UserManager::getGroupUserList(unsigned long gid) throw(Net::Exception) {
Net::Exception e(Net::Exception::NOT_IMPLEMENTED);
for(std::set<boost::shared_ptr<UserBackend> >::iterator backend = backends.begin(); backend != backends.end(); ++backend) {
try {
- return (*backend)->getGroupUsers(gid);
+ return (*backend)->getGroupUserList(gid);
}
catch(Net::Exception e2) {
if(e.getErrorCode() == Net::Exception::NOT_IMPLEMENTED && e2.getErrorCode() != Net::Exception::NOT_IMPLEMENTED)
diff --git a/src/Server/UserManager.h b/src/Server/UserManager.h
index fe0ef3f..47c7318 100644
--- a/src/Server/UserManager.h
+++ b/src/Server/UserManager.h
@@ -60,12 +60,12 @@ class UserManager : boost::noncopyable {
boost::shared_ptr<std::map<unsigned long, Common::UserInfo> > getUserList() throw(Net::Exception);
boost::shared_ptr<Common::UserInfo> getUserInfo(unsigned long uid) throw(Net::Exception);
boost::shared_ptr<Common::UserInfo> getUserInfoByName(const std::string &name) throw(Net::Exception);
- boost::shared_ptr<std::set<unsigned long> > getUserGroups(unsigned long uid) throw(Net::Exception);
+ boost::shared_ptr<std::set<unsigned long> > getUserGroupList(unsigned long uid) throw(Net::Exception);
boost::shared_ptr<std::map<unsigned long, Common::GroupInfo> > getGroupList() throw(Net::Exception);
std::string getGroupName(unsigned long gid) throw(Net::Exception);
unsigned long getGroupId(const std::string &name) throw(Net::Exception);
- boost::shared_ptr<std::set<unsigned long> > getGroupUsers(unsigned long gid) throw(Net::Exception);
+ boost::shared_ptr<std::set<unsigned long> > getGroupUserList(unsigned long gid) throw(Net::Exception);
void setPassword(unsigned long uid, const std::string &password) throw(Net::Exception);