diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2009-07-03 17:23:37 +0200 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2009-07-03 17:23:37 +0200 |
commit | f2f1d5b1da4f985bcbb0c075cf42efcacecae2a6 (patch) | |
tree | 8ffe90bf55fb9bb7d4408f56b78b8b5ab9153153 /src/Common/UserManager.h | |
parent | b014b0c0c29553ed9a7a38278f5433d28b0f8751 (diff) | |
download | mad-f2f1d5b1da4f985bcbb0c075cf42efcacecae2a6.tar mad-f2f1d5b1da4f985bcbb0c075cf42efcacecae2a6.zip |
Timestamps für Benutzercache
Diffstat (limited to 'src/Common/UserManager.h')
-rw-r--r-- | src/Common/UserManager.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/Common/UserManager.h b/src/Common/UserManager.h index c545f01..5877bac 100644 --- a/src/Common/UserManager.h +++ b/src/Common/UserManager.h @@ -69,17 +69,17 @@ class UserManager : private boost::noncopyable { backends.erase(backend); } - boost::shared_ptr<const std::map<unsigned long, UserInfo> > getUserList() throw(Core::Exception); - boost::shared_ptr<const UserInfo> getUserInfo(unsigned long uid) throw(Core::Exception); - boost::shared_ptr<const UserInfo> getUserInfoByName(const std::string &name) throw(Core::Exception); - boost::shared_ptr<const std::set<unsigned long> > getUserGroupList(unsigned long uid) throw(Core::Exception); + boost::shared_ptr<const std::map<unsigned long, UserInfo> > getUserList(boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const UserInfo> getUserInfo(unsigned long uid, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const UserInfo> getUserInfoByName(const std::string &name, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const std::set<unsigned long> > getUserGroupList(unsigned long uid, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); - boost::shared_ptr<const std::map<unsigned long, GroupInfo> > getGroupList() throw(Core::Exception); - boost::shared_ptr<const GroupInfo> getGroupInfo(unsigned long gid) throw(Core::Exception); - boost::shared_ptr<const GroupInfo> getGroupInfoByName(const std::string &name) throw(Core::Exception); - boost::shared_ptr<const std::set<unsigned long> > getGroupUserList(unsigned long gid) throw(Core::Exception); + boost::shared_ptr<const std::map<unsigned long, GroupInfo> > getGroupList(boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const GroupInfo> getGroupInfo(unsigned long gid, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const GroupInfo> getGroupInfoByName(const std::string &name, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); + boost::shared_ptr<const std::set<unsigned long> > getGroupUserList(unsigned long gid, boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); - boost::shared_ptr<const std::multimap<unsigned long, unsigned long> > getFullUserGroupList() throw(Core::Exception); + boost::shared_ptr<const std::multimap<unsigned long, unsigned long> > getFullUserGroupList(boost::posix_time::ptime *timestamp = 0) throw(Core::Exception); void setPassword(unsigned long uid, const std::string &password) throw(Core::Exception); |