mirror of
https://github.com/inverse-inc/sogo.git
synced 2026-06-08 03:49:47 +00:00
Monotone-Parent: ea72255819157346b8579f8e17c6e9fb6c5c0d34
Monotone-Revision: a1294497e9f6ed0ee90d2f695f0735f2eb1ced11 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2008-08-10T21:44:25 Monotone-Branch: ca.inverse.sogo
This commit is contained in:
@@ -198,6 +198,30 @@
|
||||
return [self saveContentString: newContent baseVersion: 0];
|
||||
}
|
||||
|
||||
/* actions */
|
||||
|
||||
- (NSException *) copyToFolder: (SOGoGCSFolder *) newFolder
|
||||
{
|
||||
[self subclassResponsibility: _cmd];
|
||||
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSException *) moveToFolder: (SOGoGCSFolder *) newFolder
|
||||
{
|
||||
SOGoContentObject *newObject;
|
||||
NSException *ex;
|
||||
|
||||
newObject = [[self class] objectWithName: nameInContainer
|
||||
inContainer: newFolder];
|
||||
[newObject setIsNew: YES];
|
||||
ex = [newObject saveContentString: content];
|
||||
if (!ex)
|
||||
ex = [self delete];
|
||||
|
||||
return ex;
|
||||
}
|
||||
|
||||
- (NSException *) delete
|
||||
{
|
||||
/* Note: "iCal multifolder saves" are implemented in the apt subclass! */
|
||||
|
||||
Reference in New Issue
Block a user