2012-06-29 19:59:38 +02:00
|
|
|
/* SOGoMAPIDBFolder.h - this file is part of SOGo
|
2010-12-13 17:28:18 +01:00
|
|
|
*
|
2012-06-29 19:59:38 +02:00
|
|
|
* Copyright (C) 2012 Inverse inc.
|
2010-12-13 17:28:18 +01:00
|
|
|
*
|
|
|
|
* Author: Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
|
|
|
*
|
|
|
|
* This file is free software; you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 3, or (at your option)
|
|
|
|
* any later version.
|
|
|
|
*
|
|
|
|
* This file 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 General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program; see the file COPYING. If not, write to
|
|
|
|
* the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
|
|
* Boston, MA 02111-1307, USA.
|
|
|
|
*/
|
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
#ifndef SOGOMAPIDBFOLDER_H
|
|
|
|
#define SOGOMAPIDBFOLDER_H
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
#import "SOGoMAPIDBObject.h"
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2011-07-27 23:59:37 +02:00
|
|
|
@class NSArray;
|
2012-06-29 19:59:38 +02:00
|
|
|
@class NSMutableString;
|
2011-07-27 23:59:37 +02:00
|
|
|
@class NSString;
|
2010-12-13 17:28:18 +01:00
|
|
|
@class NSURL;
|
|
|
|
|
2011-07-27 23:59:37 +02:00
|
|
|
@class EOQualifier;
|
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
@class SOGoMAPIDBMessage;
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
@interface SOGoMAPIDBFolder : SOGoMAPIDBObject
|
2010-12-13 17:28:18 +01:00
|
|
|
{
|
2012-06-29 19:59:38 +02:00
|
|
|
NSString *pathPrefix; /* for root folders */
|
|
|
|
SOGoMAPIDBObject *aclMessage;
|
2010-12-13 17:28:18 +01:00
|
|
|
}
|
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
- (void) setPathPrefix: (NSString *) newPathPrefix;
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
- (NSMutableString *) pathForChild: (NSString *) childName;
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
- (NSArray *) toOneRelationshipKeys;
|
|
|
|
- (NSArray *) toManyRelationshipKeys;
|
2010-12-13 17:28:18 +01:00
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
- (NSArray *) childKeysOfType: (MAPIDBObjectType) type
|
|
|
|
includeDeleted: (BOOL) includeDeleted
|
|
|
|
matchingQualifier: (EOQualifier *) qualifier
|
|
|
|
andSortOrderings: (NSArray *) sortOrderings;
|
2011-07-27 23:59:37 +02:00
|
|
|
|
2012-08-13 19:48:43 +02:00
|
|
|
- (void) changePathTo: (NSString *) newPath;
|
|
|
|
|
2010-12-13 17:28:18 +01:00
|
|
|
@end
|
|
|
|
|
2012-06-29 19:59:38 +02:00
|
|
|
#endif /* SOGOMAPIDBFOLDER_H */
|