"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "ZideStore/Protocols/zOGI/zOGIAction.m" between
opengroupware-5.5rc2.tar.gz and opengroupware-5.5rc3.tar.gz

About: OpenGroupware is a branch of the "traditional" OpenGroupware collaboration system (developed in Objective-C on SOPE). Release candidate.

zOGIAction.m  (opengroupware-5.5rc2):zOGIAction.m  (opengroupware-5.5rc3)
skipping to change at line 323 skipping to change at line 323
} /* End _getEntityNameForPKey */ } /* End _getEntityNameForPKey */
/* Translate a Logic entity name into a zOGI entity name /* Translate a Logic entity name into a zOGI entity name
TODO: Can we do this with SOPE rules instead? TODO: Can we do this with SOPE rules instead?
_arg must be a string */ _arg must be a string */
- (NSString *)_izeEntityName:(NSString *)_arg - (NSString *)_izeEntityName:(NSString *)_arg
{ {
NSString *result; NSString *result;
if ([_arg isEqualToString:@"Date"]) if ([_arg isEqualToString:@"Date"])
result = [NSString stringWithString:@"Appointment"]; result = @"Appointment";
else if ([_arg isEqualToString:@"CompanyValue"]) else if ([_arg isEqualToString:@"CompanyValue"])
result = [NSString stringWithString:@"companyValue"]; result = @"companyValue";
else if ([_arg isEqualToString:@"Telephone"]) else if ([_arg isEqualToString:@"Telephone"])
result = [NSString stringWithString:@"telephone"]; result = @"telephone";
else if ([_arg isEqualToString:@"Person"]) else if ([_arg isEqualToString:@"Person"])
result = [NSString stringWithString:@"Contact"]; result = @"Contact";
else if ([_arg isEqualToString:@"JobHistoryInfo"]) else if ([_arg isEqualToString:@"JobHistoryInfo"])
result = [NSString stringWithString:@"taskAnnotation"]; result = @"taskAnnotation";
else if ([_arg isEqualToString:@"Log"]) else if ([_arg isEqualToString:@"Log"])
result = [NSString stringWithString:@"logEntry"]; result = @"logEntry";
else if ([_arg isEqualToString:@"Job"]) else if ([_arg isEqualToString:@"Job"])
result = [NSString stringWithString:@"Task"]; result = @"Task";
else if ([_arg isEqualToString:@"Doc"]) else if ([_arg isEqualToString:@"Doc"])
result = [NSString stringWithString:@"File"]; result = @"File";
else else
result = _arg; result = _arg;
return result; return result;
} /* End _izeEntityName */ } /* End _izeEntityName */
/* Check if all the provided pkeys (or EOGlobalIDs) are one of the /* Check if all the provided pkeys (or EOGlobalIDs) are one of the
provided entityNames. provided entityNames.
_pkey can be an NSString, an NSNumber, an EOGlobalID or an NSArray _pkey can be an NSString, an NSNumber, an EOGlobalID or an NSArray
containing any of the previously listed classes. containing any of the previously listed classes.
 End of changes. 8 change blocks. 
8 lines changed or deleted 8 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS