createFolderWithName - Create a new folder in the target
folder using the specified properties.
createFolderWithName:inParentFolder:withProperties:completionBlock
-(AlfrescoRequest *) createFolderWithName:(NSString *)folderName
inParentFolder:(AlfrescoFolder *)folder withProperties:(NSDictionary *)properties
completionBlock:(AlfrescoFolderCompletionBlock)completionBlock - Create a new
folder in the target folder using the specified properties.
Parameters
- (NSString *) folderName
- The name of the folder to create.
- (AlfrescoFolder *) folder
- The parent folder of the folder to be created.
- (NSDictionary *) properties
- The properties to be applied to the folder.
- (AlfrescoFolderCompletionBlock) completionBlock
- The block that is called with the created folder on completion of the operation. The completion block has the format typedef void (^AlfrescoFolderCompletionBlock)(AlfrescoFolder *folder, NSError *error).
Returns
(AlfrescoRequest *)
Example
createFolderWithName:inParentFolder:withProperties:completionBlock
-(AlfrescoRequest *) createFolderWithName:(NSString *)folderName
inParentFolder:(AlfrescoFolder *)folder withProperties:(NSDictionary *)properties
aspects:(NSArray *)aspects
completionBlock:(AlfrescoFolderCompletionBlock)completionBlock - Create a new
folder in the target folder using the specified properties.
Parameters
- (NSString *) folderName
- The name of the folder to create.
- (AlfrescoFolder *) folder
- The parent folder of the folder to be created.
- (NSDictionary *) properties
- The properties to be applied to the folder.
- (NSArray *) aspects
- The aspects to be applied to the folder.
- (AlfrescoFolderCompletionBlock) completionBlock
- The block that is called with the created folder on completion of the operation. The completion block has the format typedef void (^AlfrescoFolderCompletionBlock)(AlfrescoFolder *folder, NSError *error).
Returns
(AlfrescoRequest *)
Example
createFolderWithName:inParentFolder:withProperties:completionBlock
-(AlfrescoRequest *) createFolderWithName:(NSString *)folderName
inParentFolder:(AlfrescoFolder *)folder withProperties:(NSDictionary *)properties
aspects:(NSArray *)aspects type:(NSString *)type
completionBlock:(AlfrescoFolderCompletionBlock)completionBlock - Create a new
folder in the target folder using the specified properties.
Parameters
- (NSString *) folderName
- The name of the folder to create.
- (AlfrescoFolder *) folder
- The parent folder of the folder to be created.
- (NSDictionary *) properties
- The properties to be applied to the folder.
- (NSArray *) aspects
- The aspects to be applied to the folder.
- (NSString *) type
- The type to be applied to the folder. If this parameter is omitted the default type, cm:folder, is applied.
- (AlfrescoFolderCompletionBlock) completionBlock
- The block that is called with the created folder on completion of the operation. The completion block has the format typedef void (^AlfrescoFolderCompletionBlock)(AlfrescoFolder *folder, NSError *error).
Returns
(AlfrescoRequest *)