Monotone-Parent: c13bb6c27a77992c5dbb9148d4fdd8c0670bedfb
Monotone-Revision: 3c31b33392d4452a96304044ddb212d3f62a191d Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-10-14T13:22:26 Monotone-Branch: ca.inverse.sogomaint-2.0.2
parent
750b0fb960
commit
2106be602b
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,19 @@
|
|||
2010-10-14 Wolfgang Sourdeau <wsourdeau@inverse.ca>
|
||||
|
||||
* OpenChange/MAPIStoreContext.m (-openMessage:withMID:inFID:):
|
||||
implemented method by resolving the url corresponding to the MID
|
||||
and transferring the call to the new subclassable
|
||||
"openMessage:atURL:" method.
|
||||
(-openMessage:atURL:): new subclassable method.
|
||||
(-createMessageWithMID:inFID:)
|
||||
(-saveChangesInMessageWithMID:andFlags:):
|
||||
(-submitMessageWithMID:andFlags:):
|
||||
(-getProperties:inRow:withMID:type:):
|
||||
(-getFID:byName:inParentFID:)
|
||||
(-setPropertiesWithMID:type:inRow:)
|
||||
(-deleteMessageWithMID:withFlags:): return MAPISTORE_ERROR for
|
||||
those unimplemented methods.
|
||||
|
||||
2010-10-14 Francis Lachapelle <flachapelle@inverse.ca>
|
||||
|
||||
* UI/WebServerResources/UIxAttendeesEditor.js
|
||||
|
|
|
@ -898,10 +898,27 @@ static MAPIStoreMapping *mapping = nil;
|
|||
- (int) openMessage: (struct mapistore_message *) msg
|
||||
withMID: (uint64_t) mid
|
||||
inFID: (uint64_t) fid
|
||||
{
|
||||
NSString *childURL;
|
||||
int rc;
|
||||
|
||||
childURL = [mapping urlFromID: mid];
|
||||
if (childURL)
|
||||
{
|
||||
rc = [self openMessage: msg atURL: childURL];
|
||||
}
|
||||
else
|
||||
rc = MAPISTORE_ERR_NOT_FOUND;
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
- (int) openMessage: (struct mapistore_message *) msg
|
||||
atURL: (NSString *) childURL
|
||||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) createMessageWithMID: (uint64_t) mid
|
||||
|
@ -909,7 +926,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) saveChangesInMessageWithMID: (uint64_t) mid
|
||||
|
@ -917,7 +934,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) submitMessageWithMID: (uint64_t) mid
|
||||
|
@ -925,7 +942,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) getProperties: (struct SPropTagArray *) SPropTagArray
|
||||
|
@ -944,7 +961,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
break;
|
||||
}
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) getPath: (char **) path
|
||||
|
@ -973,7 +990,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
[self logWithFormat: @"METHOD '%s' (%d) -- foldername: %s, parent_fid: %lld",
|
||||
__FUNCTION__, __LINE__, foldername, parent_fid];
|
||||
|
||||
return MAPISTORE_ERR_INVALID_PARAMETER;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) setPropertiesWithMID: (uint64_t) fmid
|
||||
|
@ -990,7 +1007,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
break;
|
||||
}
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) deleteMessageWithMID: (uint64_t) mid
|
||||
|
@ -998,7 +1015,7 @@ static MAPIStoreMapping *mapping = nil;
|
|||
{
|
||||
[self logWithFormat: @"METHOD '%s' (%d)", __FUNCTION__, __LINE__];
|
||||
|
||||
return MAPI_E_SUCCESS;
|
||||
return MAPISTORE_ERROR;
|
||||
}
|
||||
|
||||
- (int) getFoldersList: (struct indexing_folders_list **) folders_list
|
||||
|
|
Loading…
Reference in New Issue