Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Regenerate
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Farache committed Jun 19, 2015
1 parent ac32544 commit d5a6726
Show file tree
Hide file tree
Showing 85 changed files with 1,654 additions and 1,654 deletions.
36 changes: 18 additions & 18 deletions ios/Source/Service/v62/address/LRAddressService_v62.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ @implementation LRAddressService_v62

- (NSDictionary *)addAddressWithClassName:(NSString *)className classPK:(long long)classPK street1:(NSString *)street1 street2:(NSString *)street2 street3:(NSString *)street3 city:(NSString *)city zip:(NSString *)zip regionId:(long long)regionId countryId:(long long)countryId typeId:(int)typeId mailing:(BOOL)mailing primary:(BOOL)primary error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"className": className,
@"className": [self checkNull: className],
@"classPK": @(classPK),
@"street1": street1,
@"street2": street2,
@"street3": street3,
@"city": city,
@"zip": zip,
@"street1": [self checkNull: street1],
@"street2": [self checkNull: street2],
@"street3": [self checkNull: street3],
@"city": [self checkNull: city],
@"zip": [self checkNull: zip],
@"regionId": @(regionId),
@"countryId": @(countryId),
@"typeId": @(typeId),
Expand All @@ -42,13 +42,13 @@ - (NSDictionary *)addAddressWithClassName:(NSString *)className classPK:(long lo

- (NSDictionary *)addAddressWithClassName:(NSString *)className classPK:(long long)classPK street1:(NSString *)street1 street2:(NSString *)street2 street3:(NSString *)street3 city:(NSString *)city zip:(NSString *)zip regionId:(long long)regionId countryId:(long long)countryId typeId:(int)typeId mailing:(BOOL)mailing primary:(BOOL)primary serviceContext:(LRJSONObjectWrapper *)serviceContext error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"className": className,
@"className": [self checkNull: className],
@"classPK": @(classPK),
@"street1": street1,
@"street2": street2,
@"street3": street3,
@"city": city,
@"zip": zip,
@"street1": [self checkNull: street1],
@"street2": [self checkNull: street2],
@"street3": [self checkNull: street3],
@"city": [self checkNull: city],
@"zip": [self checkNull: zip],
@"regionId": @(regionId),
@"countryId": @(countryId),
@"typeId": @(typeId),
Expand Down Expand Up @@ -85,7 +85,7 @@ - (NSDictionary *)getAddressWithAddressId:(long long)addressId error:(NSError **

- (NSArray *)getAddressesWithClassName:(NSString *)className classPK:(long long)classPK error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"className": className,
@"className": [self checkNull: className],
@"classPK": @(classPK)
}];

Expand All @@ -97,11 +97,11 @@ - (NSArray *)getAddressesWithClassName:(NSString *)className classPK:(long long)
- (NSDictionary *)updateAddressWithAddressId:(long long)addressId street1:(NSString *)street1 street2:(NSString *)street2 street3:(NSString *)street3 city:(NSString *)city zip:(NSString *)zip regionId:(long long)regionId countryId:(long long)countryId typeId:(int)typeId mailing:(BOOL)mailing primary:(BOOL)primary error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"addressId": @(addressId),
@"street1": street1,
@"street2": street2,
@"street3": street3,
@"city": city,
@"zip": zip,
@"street1": [self checkNull: street1],
@"street2": [self checkNull: street2],
@"street3": [self checkNull: street3],
@"city": [self checkNull: city],
@"zip": [self checkNull: zip],
@"regionId": @(regionId),
@"countryId": @(countryId),
@"typeId": @(typeId),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ @implementation LRAnnouncementsDeliveryService_v62
- (NSDictionary *)updateDeliveryWithUserId:(long long)userId type:(NSString *)type email:(BOOL)email sms:(BOOL)sms website:(BOOL)website error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"userId": @(userId),
@"type": type,
@"type": [self checkNull: type],
@"email": @(email),
@"sms": @(sms),
@"website": @(website)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ - (NSDictionary *)addEntryWithPlid:(long long)plid classNameId:(long long)classN
@"plid": @(plid),
@"classNameId": @(classNameId),
@"classPK": @(classPK),
@"title": title,
@"content": content,
@"url": url,
@"type": type,
@"title": [self checkNull: title],
@"content": [self checkNull: content],
@"url": [self checkNull: url],
@"type": [self checkNull: type],
@"displayDateMonth": @(displayDateMonth),
@"displayDateDay": @(displayDateDay),
@"displayDateYear": @(displayDateYear),
Expand All @@ -52,10 +52,10 @@ - (NSDictionary *)addEntryWithPlid:(long long)plid classNameId:(long long)classN
@"plid": @(plid),
@"classNameId": @(classNameId),
@"classPK": @(classPK),
@"title": title,
@"content": content,
@"url": url,
@"type": type,
@"title": [self checkNull: title],
@"content": [self checkNull: content],
@"url": [self checkNull: url],
@"type": [self checkNull: type],
@"displayDateMonth": @(displayDateMonth),
@"displayDateDay": @(displayDateDay),
@"displayDateYear": @(displayDateYear),
Expand Down Expand Up @@ -99,10 +99,10 @@ - (NSDictionary *)getEntryWithEntryId:(long long)entryId error:(NSError **)error
- (NSDictionary *)updateEntryWithEntryId:(long long)entryId title:(NSString *)title content:(NSString *)content url:(NSString *)url type:(NSString *)type displayDateMonth:(int)displayDateMonth displayDateDay:(int)displayDateDay displayDateYear:(int)displayDateYear displayDateHour:(int)displayDateHour displayDateMinute:(int)displayDateMinute displayImmediately:(BOOL)displayImmediately expirationDateMonth:(int)expirationDateMonth expirationDateDay:(int)expirationDateDay expirationDateYear:(int)expirationDateYear expirationDateHour:(int)expirationDateHour expirationDateMinute:(int)expirationDateMinute priority:(int)priority error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"entryId": @(entryId),
@"title": title,
@"content": content,
@"url": url,
@"type": type,
@"title": [self checkNull: title],
@"content": [self checkNull: content],
@"url": [self checkNull: url],
@"type": [self checkNull: type],
@"displayDateMonth": @(displayDateMonth),
@"displayDateDay": @(displayDateDay),
@"displayDateYear": @(displayDateYear),
Expand Down
44 changes: 22 additions & 22 deletions ios/Source/Service/v62/assetcategory/LRAssetCategoryService_v62.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ @implementation LRAssetCategoryService_v62

- (NSDictionary *)addCategoryWithTitle:(NSString *)title vocabularyId:(long long)vocabularyId serviceContext:(LRJSONObjectWrapper *)serviceContext error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"title": title,
@"title": [self checkNull: title],
@"vocabularyId": @(vocabularyId),
}];

Expand All @@ -35,10 +35,10 @@ - (NSDictionary *)addCategoryWithTitle:(NSString *)title vocabularyId:(long long
- (NSDictionary *)addCategoryWithParentCategoryId:(long long)parentCategoryId titleMap:(NSDictionary *)titleMap descriptionMap:(NSDictionary *)descriptionMap vocabularyId:(long long)vocabularyId categoryProperties:(NSArray *)categoryProperties serviceContext:(LRJSONObjectWrapper *)serviceContext error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"parentCategoryId": @(parentCategoryId),
@"titleMap": titleMap,
@"descriptionMap": descriptionMap,
@"titleMap": [self checkNull: titleMap],
@"descriptionMap": [self checkNull: descriptionMap],
@"vocabularyId": @(vocabularyId),
@"categoryProperties": categoryProperties,
@"categoryProperties": [self checkNull: categoryProperties],
}];

[self mangleWrapperWithParams:_params name:@"serviceContext" className:@"com.liferay.portal.service.ServiceContext" wrapper:serviceContext];
Expand All @@ -50,7 +50,7 @@ - (NSDictionary *)addCategoryWithParentCategoryId:(long long)parentCategoryId ti

- (void)deleteCategoriesWithCategoryIds:(NSArray *)categoryIds error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"categoryIds": categoryIds
@"categoryIds": [self checkNull: categoryIds]
}];

NSDictionary *_command = @{@"/assetcategory/delete-categories": _params};
Expand All @@ -60,7 +60,7 @@ - (void)deleteCategoriesWithCategoryIds:(NSArray *)categoryIds error:(NSError **

- (NSArray *)deleteCategoriesWithCategoryIds:(NSArray *)categoryIds serviceContext:(LRJSONObjectWrapper *)serviceContext error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"categoryIds": categoryIds,
@"categoryIds": [self checkNull: categoryIds],
}];

[self mangleWrapperWithParams:_params name:@"serviceContext" className:@"com.liferay.portal.service.ServiceContext" wrapper:serviceContext];
Expand All @@ -82,7 +82,7 @@ - (void)deleteCategoryWithCategoryId:(long long)categoryId error:(NSError **)err

- (NSArray *)getCategoriesWithClassName:(NSString *)className classPK:(long long)classPK error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"className": className,
@"className": [self checkNull: className],
@"classPK": @(classPK)
}];

Expand Down Expand Up @@ -128,8 +128,8 @@ - (NSArray *)getChildCategoriesWithParentCategoryId:(long long)parentCategoryId
- (NSArray *)getJsonSearchWithGroupId:(long long)groupId name:(NSString *)name vocabularyIds:(NSArray *)vocabularyIds start:(int)start end:(int)end error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"vocabularyIds": vocabularyIds,
@"name": [self checkNull: name],
@"vocabularyIds": [self checkNull: vocabularyIds],
@"start": @(start),
@"end": @(end)
}];
Expand All @@ -156,7 +156,7 @@ - (NSDictionary *)getJsonVocabularyCategoriesWithVocabularyId:(long long)vocabul
- (NSDictionary *)getJsonVocabularyCategoriesWithGroupId:(long long)groupId name:(NSString *)name vocabularyId:(long long)vocabularyId start:(int)start end:(int)end obc:(LRJSONObjectWrapper *)obc error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"name": [self checkNull: name],
@"vocabularyId": @(vocabularyId),
@"start": @(start),
@"end": @(end),
Expand Down Expand Up @@ -201,7 +201,7 @@ - (NSArray *)getVocabularyCategoriesWithParentCategoryId:(long long)parentCatego
- (NSArray *)getVocabularyCategoriesWithGroupId:(long long)groupId name:(NSString *)name vocabularyId:(long long)vocabularyId start:(int)start end:(int)end obc:(LRJSONObjectWrapper *)obc error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"name": [self checkNull: name],
@"vocabularyId": @(vocabularyId),
@"start": @(start),
@"end": @(end),
Expand All @@ -228,7 +228,7 @@ - (NSNumber *)getVocabularyCategoriesCountWithGroupId:(long long)groupId vocabul
- (NSNumber *)getVocabularyCategoriesCountWithGroupId:(long long)groupId name:(NSString *)name vocabularyId:(long long)vocabularyId error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"name": [self checkNull: name],
@"vocabularyId": @(vocabularyId)
}];

Expand All @@ -254,7 +254,7 @@ - (NSDictionary *)getVocabularyCategoriesDisplayWithVocabularyId:(long long)voca
- (NSDictionary *)getVocabularyCategoriesDisplayWithGroupId:(long long)groupId name:(NSString *)name vocabularyId:(long long)vocabularyId start:(int)start end:(int)end obc:(LRJSONObjectWrapper *)obc error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"name": [self checkNull: name],
@"vocabularyId": @(vocabularyId),
@"start": @(start),
@"end": @(end),
Expand Down Expand Up @@ -324,8 +324,8 @@ - (NSDictionary *)moveCategoryWithCategoryId:(long long)categoryId parentCategor
- (NSArray *)searchWithGroupId:(long long)groupId name:(NSString *)name categoryProperties:(NSArray *)categoryProperties start:(int)start end:(int)end error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"name": name,
@"categoryProperties": categoryProperties,
@"name": [self checkNull: name],
@"categoryProperties": [self checkNull: categoryProperties],
@"start": @(start),
@"end": @(end)
}];
Expand All @@ -337,9 +337,9 @@ - (NSArray *)searchWithGroupId:(long long)groupId name:(NSString *)name category

- (NSArray *)searchWithGroupIds:(NSArray *)groupIds name:(NSString *)name vocabularyIds:(NSArray *)vocabularyIds start:(int)start end:(int)end error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupIds": groupIds,
@"name": name,
@"vocabularyIds": vocabularyIds,
@"groupIds": [self checkNull: groupIds],
@"name": [self checkNull: name],
@"vocabularyIds": [self checkNull: vocabularyIds],
@"start": @(start),
@"end": @(end)
}];
Expand All @@ -352,7 +352,7 @@ - (NSArray *)searchWithGroupIds:(NSArray *)groupIds name:(NSString *)name vocabu
- (NSArray *)searchWithGroupId:(long long)groupId keywords:(NSString *)keywords vocabularyId:(long long)vocabularyId start:(int)start end:(int)end obc:(LRJSONObjectWrapper *)obc error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"groupId": @(groupId),
@"keywords": keywords,
@"keywords": [self checkNull: keywords],
@"vocabularyId": @(vocabularyId),
@"start": @(start),
@"end": @(end),
Expand All @@ -369,10 +369,10 @@ - (NSDictionary *)updateCategoryWithCategoryId:(long long)categoryId parentCateg
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"categoryId": @(categoryId),
@"parentCategoryId": @(parentCategoryId),
@"titleMap": titleMap,
@"descriptionMap": descriptionMap,
@"titleMap": [self checkNull: titleMap],
@"descriptionMap": [self checkNull: descriptionMap],
@"vocabularyId": @(vocabularyId),
@"categoryProperties": categoryProperties,
@"categoryProperties": [self checkNull: categoryProperties],
}];

[self mangleWrapperWithParams:_params name:@"serviceContext" className:@"com.liferay.portal.service.ServiceContext" wrapper:serviceContext];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ @implementation LRAssetCategoryPropertyService_v62
- (NSDictionary *)addCategoryPropertyWithEntryId:(long long)entryId key:(NSString *)key value:(NSString *)value error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"entryId": @(entryId),
@"key": key,
@"value": value
@"key": [self checkNull: key],
@"value": [self checkNull: value]
}];

NSDictionary *_command = @{@"/assetcategoryproperty/add-category-property": _params};
Expand Down Expand Up @@ -54,7 +54,7 @@ - (NSArray *)getCategoryPropertiesWithEntryId:(long long)entryId error:(NSError
- (NSArray *)getCategoryPropertyValuesWithCompanyId:(long long)companyId key:(NSString *)key error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"companyId": @(companyId),
@"key": key
@"key": [self checkNull: key]
}];

NSDictionary *_command = @{@"/assetcategoryproperty/get-category-property-values": _params};
Expand All @@ -65,8 +65,8 @@ - (NSArray *)getCategoryPropertyValuesWithCompanyId:(long long)companyId key:(NS
- (NSDictionary *)updateCategoryPropertyWithCategoryPropertyId:(long long)categoryPropertyId key:(NSString *)key value:(NSString *)value error:(NSError **)error {
NSMutableDictionary *_params = [NSMutableDictionary dictionaryWithDictionary:@{
@"categoryPropertyId": @(categoryPropertyId),
@"key": key,
@"value": value
@"key": [self checkNull: key],
@"value": [self checkNull: value]
}];

NSDictionary *_command = @{@"/assetcategoryproperty/update-category-property": _params};
Expand Down
Loading

0 comments on commit d5a6726

Please sign in to comment.