CMISFolder Class Reference
Inherits from | CMISFileableObject : CMISObject : CMISObjectId : NSObject |
Declared in | CMISFolder.h |
Tasks
-
path
property -
– retrieveChildrenWithCompletionBlock:
Retrieves the children of this folder as a paged result.
-
– isRootFolder
Checks if this folder is the root folder.
-
– retrieveFolderParentWithCompletionBlock:
Gets the parent folder object. The completionBlock will return CMISFolder object or nil if unsuccessful.
-
– retrieveChildrenWithOperationContext:completionBlock:
Retrieves the children of this folder as a paged result using the provided operation context.
-
– createFolder:completionBlock:
creates a folder with specified properties completionBlock returns object Id of newly created folder or nil if not successful
-
– createDocumentFromFilePath:mimeType:properties:completionBlock:progressBlock:
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
-
– createDocumentFromInputStream:mimeType:properties:bytesExpected:completionBlock:progressBlock:
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
-
– deleteTreeWithDeleteAllVersions:unfileObjects:continueOnFailure:completionBlock:
creates a document with specified properties, mime Type completionBlock returns list of failed objects (if any)
Instance Methods
createDocumentFromFilePath:mimeType:properties:completionBlock:progressBlock:
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
- (CMISRequest *)createDocumentFromFilePath:(NSString *)filePath mimeType:(NSString *)mimeType properties:(NSDictionary *)properties completionBlock:(void ( ^ ) ( NSString *objectId , NSError *error ))completionBlock progressBlock:(void ( ^ ) ( unsigned long long bytesUploaded , unsigned long long bytesTotal ))progressBlock
Discussion
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
Declared In
CMISFolder.h
createDocumentFromInputStream:mimeType:properties:bytesExpected:completionBlock:progressBlock:
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
- (CMISRequest *)createDocumentFromInputStream:(NSInputStream *)inputStream mimeType:(NSString *)mimeType properties:(NSDictionary *)properties bytesExpected:(unsigned long long)bytesExpected completionBlock:(void ( ^ ) ( NSString *objectId , NSError *error ))completionBlock progressBlock:(void ( ^ ) ( unsigned long long bytesUploaded , unsigned long long bytesTotal ))progressBlock
Discussion
creates a document with specified properties, mime Type completionBlock returns object Id of newly created document or nil if not successful
Declared In
CMISFolder.h
createFolder:completionBlock:
creates a folder with specified properties completionBlock returns object Id of newly created folder or nil if not successful
- (CMISRequest *)createFolder:(NSDictionary *)properties completionBlock:(void ( ^ ) ( NSString *objectId , NSError *error ))completionBlock
Discussion
creates a folder with specified properties completionBlock returns object Id of newly created folder or nil if not successful
Declared In
CMISFolder.h
deleteTreeWithDeleteAllVersions:unfileObjects:continueOnFailure:completionBlock:
creates a document with specified properties, mime Type completionBlock returns list of failed objects (if any)
- (CMISRequest *)deleteTreeWithDeleteAllVersions:(BOOL)deleteAllversions unfileObjects:(CMISUnfileObject)unfileObjects continueOnFailure:(BOOL)continueOnFailure completionBlock:(void ( ^ ) ( NSArray *failedObjects , NSError *error ))completionBlock
Discussion
creates a document with specified properties, mime Type completionBlock returns list of failed objects (if any)
Declared In
CMISFolder.h
isRootFolder
Checks if this folder is the root folder.
- (BOOL)isRootFolder
Discussion
Checks if this folder is the root folder.
Declared In
CMISFolder.h
retrieveChildrenWithCompletionBlock:
Retrieves the children of this folder as a paged result.
- (CMISRequest *)retrieveChildrenWithCompletionBlock:(void ( ^ ) ( CMISPagedResult *result , NSError *error ))completionBlock
Discussion
Retrieves the children of this folder as a paged result.
The completionBlock will return paged results with instances of CMISObject or nil if unsuccessful.
Declared In
CMISFolder.h
retrieveChildrenWithOperationContext:completionBlock:
Retrieves the children of this folder as a paged result using the provided operation context.
- (CMISRequest *)retrieveChildrenWithOperationContext:(CMISOperationContext *)operationContext completionBlock:(void ( ^ ) ( CMISPagedResult *result , NSError *error ))completionBlock
Discussion
Retrieves the children of this folder as a paged result using the provided operation context.
The completionBlock will return paged results with instances of CMISObject or nil if unsuccessful.
Declared In
CMISFolder.h
retrieveFolderParentWithCompletionBlock:
Gets the parent folder object. The completionBlock will return CMISFolder object or nil if unsuccessful.
- (CMISRequest *)retrieveFolderParentWithCompletionBlock:(void ( ^ ) ( CMISFolder *folder , NSError *error ))completionBlock
Discussion
Gets the parent folder object. The completionBlock will return CMISFolder object or nil if unsuccessful.
Declared In
CMISFolder.h