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:
Wolfgang Sourdeau
2008-08-10 21:44:25 +00:00
parent bfccdd5738
commit ac468edb0a
14 changed files with 322 additions and 271 deletions
+24
View File
@@ -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! */