CBEObjectIntroductionholder of a set of data, can represent a table row. Methods
getAcl:ParametersDiscussionget the Access Control List for the Object. getMimeType- (NSString*) getMimeType; DiscussionReturns the mime type of the object. \n E.g. application/pdf, audio/wav, image/jpg, text/xml, video/mp4 etc. getObjectType- (CBEObjectType) getObjectType; DiscussionReturns the Object type currently: Other | GroupInvite | ShareInvite getStreams:-(void) getStreams: (id<GetStreamsDelegatePtr>) delegate; ParametersDiscussion* keyValues- (NSDictionary*) keyValues; DiscussionReturns all the key/values in a map. length- (uint64_t) length; DiscussionReturns the binary length/size of the object in Bytes. move:delegate:-(void) move:(CBEObjectId) destinationContainerId delegate:(id<MoveObjectDelegatePtr>) delegate; ParametersDiscussionto relocate an object to a different container. publish:privacy:description:password:delegate:-(void) publish: (CBEPublishAccess) security privacy: (CBEPublishVisibility) privacy description: (NSString*) description password: (NSString*) password delegate: (id<PublishDelegatePtr>) delegate; ParametersDiscussionPublishes an object to a user. remove:ParametersDiscussionRemove the object from cloud and locally rename:delegate:ParametersDiscussionRename object: setAcl:delegate:Parameters
DiscussionSet the Access control list for the object. share:description:delegate:-(void) share: (CBEUserId) toUserGroup description: (NSString*) description delegate: (id<ShareDelegatePtr>) delegate; ParametersDiscussionShare Object to a user. Notifies the user that a share has occured so that the user can check what permissions the have been given. Sharing gives read permissions as of right now but might change in the future. streamsReturns the currently loaded stream / streams attached to the object. If you upload a new stream with @c uploadStream(), you must call getStreams() again to get the new/updated streams. \note If @c getStreams() has not been called, then @c streams() returns an empty Streams object. - (NSArray*) streams; unpublish:ParametersDiscussionUnpublishes this object. unShare:delegate:ParametersDiscussionunShare the object to a specific shareId created when sharing. Each share is unique between user/group and the one sharing. This is represented with a unique share id. unsubscribe:-(void) unsubscribe:(id<UnsubscribeDelegatePtr>) delegate; ParametersDiscussionUnsubscribes from this object. updateKeyValues:keyValues:-(void) updateKeyValues: (id<UpdateKeyValuesObjectDelegatePtr>) delegate keyValues: (NSDictionary*) keyValues; ParametersDiscussionAdds key/value pair data to the object. \note Existing key will be overwritten, otherwise created. |