mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-24 03:14:17 +00:00
Monotone-Parent: 7c4177d2b834fedabafddbf55ecc038b138f0f4b
Monotone-Revision: e2d0d9f56297bdb765521eccb56c267f7c15e56c Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2007-05-09T19:02:36 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
2007-05-09 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/SOGo/AgenorUserManager.[hm]: removed module, replaced
|
||||
with the freshly written "LDAPUserManager".
|
||||
|
||||
2007-05-08 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* SoObjects/Contacts/SOGoContactLDAPEntry.[hm]: renamed to
|
||||
|
||||
@@ -1,89 +0,0 @@
|
||||
/*
|
||||
Copyright (C) 2004-2005 SKYRIX Software AG
|
||||
|
||||
This file is part of OpenGroupware.org.
|
||||
|
||||
OGo is free software; you can redistribute it and/or modify it under
|
||||
the terms of the GNU Lesser General Public License as published by the
|
||||
Free Software Foundation; either version 2, or (at your option) any
|
||||
later version.
|
||||
|
||||
OGo is distributed in the hope that it will be useful, but WITHOUT ANY
|
||||
WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
||||
FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
|
||||
License for more details.
|
||||
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with OGo; see the file COPYING. If not, write to the
|
||||
Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA
|
||||
02111-1307, USA.
|
||||
*/
|
||||
|
||||
#ifndef __AgenorUserManager_H_
|
||||
#define __AgenorUserManager_H_
|
||||
|
||||
#import <Foundation/NSObject.h>
|
||||
|
||||
/*
|
||||
AgenorUserManager
|
||||
|
||||
TODO: document
|
||||
*/
|
||||
|
||||
@class NSString, NSArray, NSURL, NSUserDefaults, NSMutableDictionary, NSTimer;
|
||||
@class NSDictionary;
|
||||
@class iCalPerson;
|
||||
|
||||
@interface AgenorUserManager : NSObject
|
||||
{
|
||||
NSMutableDictionary *cnCache;
|
||||
NSMutableDictionary *serverCache;
|
||||
NSMutableDictionary *uidCache;
|
||||
NSMutableDictionary *emailCache;
|
||||
NSMutableDictionary *shareStoreCache;
|
||||
NSMutableDictionary *shareEMailCache;
|
||||
NSMutableDictionary *changeInternetAccessCache;
|
||||
NSMutableDictionary *internetAutoresponderFlagCache;
|
||||
NSMutableDictionary *intranetAutoresponderFlagCache;
|
||||
NSTimer *gcTimer;
|
||||
}
|
||||
|
||||
+ (id) sharedUserManager;
|
||||
|
||||
- (NSString *) getUIDForEmail: (NSString *) email;
|
||||
- (NSString *) getEmailForUID: (NSString *) uid;
|
||||
- (NSString *) getSystemEMailForUID: (NSString *) uid;
|
||||
|
||||
- (iCalPerson *) iCalPersonWithUid: (NSString *) uid;
|
||||
|
||||
- (NSString *) getUIDForICalPerson: (iCalPerson *) person;
|
||||
/* may insert NSNulls into returned array if mapStrictly -> YES */
|
||||
- (NSArray *) getUIDsForICalPersons: (NSArray *) persons
|
||||
applyStrictMapping: (BOOL) mapStrictly;
|
||||
|
||||
/* i.e. BUTTO Hercule, CETE Lyon/DI/ET/TEST */
|
||||
- (NSString *) getCNForUID: (NSString *) uid;
|
||||
|
||||
/* i.e. hercule.butto@amelie-ida01.melanie2.i2 */
|
||||
- (NSString *) getIMAPAccountStringForUID: (NSString *) uid;
|
||||
|
||||
/* i.e. amelie-ida01.melanie2.i2 */
|
||||
- (NSString *) getServerForUID: (NSString *) uid;
|
||||
|
||||
- (NSArray *) getSharedMailboxAccountStringsForUID: (NSString *) uid;
|
||||
- (NSArray *) getSharedMailboxEMailsForUID: (NSString *) uid;
|
||||
- (NSDictionary *) getSharedMailboxesAndEMailsForUID: (NSString *) uid;
|
||||
|
||||
- (NSURL *) getFreeBusyURLForUID: (NSString *) uid;
|
||||
|
||||
- (NSUserDefaults *) getUserDefaultsForUID: (NSString *) uid;
|
||||
- (NSUserDefaults *) getUserSettingsForUID: (NSString *) uid;
|
||||
|
||||
- (BOOL) isUserAllowedToChangeSOGoInternetAccess: (NSString *) uid;
|
||||
|
||||
- (BOOL) isInternetAutoresponderEnabledForUser: (NSString *) uid;
|
||||
- (BOOL) isIntranetAutoresponderEnabledForUser: (NSString *) uid;
|
||||
|
||||
@end
|
||||
|
||||
#endif /* __AgenorUserManager_H_ */
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user