Monotone-Parent: 9fd0514bbfcb3644ae55d706b2e8133b5b8a1280

Monotone-Revision: a43f16c8cf580c2fed97407d3923b03048908bdd

Monotone-Author: wsourdeau@inverse.ca
Monotone-Date: 2007-03-29T18:15:11
Monotone-Branch: ca.inverse.sogo
This commit is contained in:
Wolfgang Sourdeau
2007-03-29 18:15:11 +00:00
parent fb51253bf0
commit bda0947416
2 changed files with 26 additions and 27 deletions
+20 -27
View File
@@ -74,39 +74,13 @@
return searchText;
}
- (NSString *) selectorComponentClass
{
return selectorComponentClass;
}
- (id) mailerContactsAction
- (id <WOActionResults>) mailerContactsAction
{
selectorComponentClass = @"UIxContactsMailerSelection";
return self;
}
- (id) calendarsContactsAction
{
selectorComponentClass = @"UIxContactsCalendarsSelection";
return self;
}
- (id) addressBooksContactsAction
{
selectorComponentClass = @"UIxContactsAddressBooksSelection";
return self;
}
- (id) aclsContactsAction
{
selectorComponentClass = @"UIxContactsAclsSelection";
return self;
}
- (id <WOActionResults>) deleteAction
{
id <WOActionResults> result;
@@ -196,4 +170,23 @@
return YES;
}
- (WOResponse *) canAccessContentAction
{
WOResponse *response;
NSString *clientClass;
clientClass = NSStringFromClass([[self clientObject] class]);
response = [context response];
[response setStatus: 200];
[response setHeader: @"text/plain; charset=\"ascii\""
forKey: @"content-type"];
[response
appendContentString:
([clientClass isEqualToString: @"SOGoContactLDAPFolder"])
? @"1" : @"0"];
return response;
}
@end /* UIxContactsListView */