CBEContainer
Introductioncollection of Item, can represent a table. Methods
createContainer:delegate:-(CBEContainer*) createContainer: (NSString*) name delegate: (id<CreateContainerDelegatePtr>) delegate; ParametersDiscussionCreates a container inside this container to be used for adding objects. createObject:delegate:keyValues:-(CBEObject*) createObject: (NSString*) name delegate: (id<CreateObjectDelegatePtr>) delegate keyValues: (NSDictionary*) keyValues; ParametersDiscussionCreates an object with indexed tags or indexed tags + non indexed tags. getAcl:ParametersDiscussionget the Access Control List \c ACL of the Container. move:delegate:-(void) move: (CBEContainerId) destinationId delegate: (id<MoveContainerDelegatePtr>) delegate; ParametersDiscussionMove is used to move container with its content to user specified location e.g. other container or to root container. publish:privacy:description:password:delegate:-(void) publish: (CBEPublishAccess) security privacy: (CBEPublishVisibility) privacy description: (NSString*) description password: (NSString*) password delegate: (id<PublishDelegatePtr>) delegate; ParametersDiscussionPublishes a container and its content to a user. query:-(CBEQueryChain*) query: (id<QueryDelegatePtr>) queryDelegate; DiscussionIn line with function CloudBackend::query(ContainerId,QueryDelegatePtr), but with its \p ContainerId parameter excluded. \see CloudBackend::query(ContainerId,QueryDelegatePtr) query:delegate:-(CBEQueryChain*) query: (CBEFilter*) filter delegate: (id<QueryDelegatePtr>) queryDelegate; DiscussionIn line with function CloudBackend::query(ContainerId,Filter,QueryDelegatePtr), but with its \p ContainerId parameter excluded. \see CloudBackend::query(ContainerId,Filter,QueryDelegatePtr) remove:ParametersDiscussionRemoves/deletes the container and all its content. rename:delegate:ParametersDiscussionRename the container. setAcl:delegate:ParametersDiscussionQueries the container with a given relative path, returns container with objects. \n E.g. /Documents/Pictures will return objects and subContainers for Pictures. \n N.B.: .. or . path options are not available, top down Paths in the container tree are available. setAcl:delegate:Parameters
DiscussionSet the Access Control List \c ACL for the container. For containers set does set the whole container tree, so all its sub items as well. Remember this is set and not update so every time you set all ids that should be there should be added. share:description:delegate:-(void) share: (CBEUserId) toUserGroup description: (NSString*) description delegate: (id<ShareDelegatePtr>) delegate; ParametersDiscussionShares a container and its content to a user. This provides the user the ability to access what has been shared to them via the listAvailableShares command. To allow users to view and change shared information see \c ACL . \note At present Sharing the container gives the user read permissions for the container and all its sub-items, this might change in the future. unpublish:ParametersDiscussionUnpublishes this container. unShare:delegate:-(void) unShare: (CBEShareId) shareId delegate: (id<UnShareDelegatePtr>) delegate; ParametersDiscussionunShare the container 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 container. upload:length:data:delegate:-(CBEObject*) upload: (NSString*) name length: (uint64_t) length data: (NSData*) data delegate: (id<UploadDelegatePtr>) delegate; Parameters |